All Versions
21
Latest Version
Avg Release Cycle
133 days
Latest Release
2142 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v3.4.0 Changes
December 22, 2018โ Added
- #275 Enables plugin managers to accept as a creation context PSR Containers not implementing Interop interface
๐ Changed
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- ๐ #268 Fixes ReflectionBasedAbstractFactory trying to instantiate classes with private constructors
-
v3.3.2 Changes
January 29, 2018โ Added
- Nothing.
๐ Changed
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
-
v3.3.1 Changes
November 27, 2017 -
v3.3.0 Changes
March 01, 2017โ Added
- #180 adds
explicit support for PSR-11 (ContainerInterface) by requiring
container-interop at a minimum version of 1.2.0, and adding a requirement on
psr/container 1.0.
Zend\ServiceManager\ServiceLocatorInterface
now explicitly extends theContainerInterface
from both projects.
Factory interfaces still typehint against the container-interop variant, as changing the typehint would break backwards compatibility. Users can duck-type most of these interfaces, however, by creating callables or invokables that typehint against psr/container instead.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- Nothing.
- #180 adds
explicit support for PSR-11 (ContainerInterface) by requiring
container-interop at a minimum version of 1.2.0, and adding a requirement on
psr/container 1.0.
-
v3.2.1 Changes
February 15, 2017โ Added
- #176 adds
the options
-i
or--ignore-unresolved
to the shippedgenerate-deps-for-config-factory
command. This flag allows it to build configuration for classes resolved by theConfigAbstractFactory
that typehint on interfaces, which was previously unsupported.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- โก๏ธ #174 updates
the
ConfigAbstractFactory
to allow theconfig
service to be either anarray
or anArrayObject
; previously, onlyarray
was supported.
- #176 adds
the options
-
v3.2.0 Changes
December 19, 2016โ Added
- #146 adds
Zend\ServiceManager\AbstractFactory\ConfigAbstractFactory
, which enables a configuration-based approach to providing class dependencies when all dependencies are services known to theServiceManager
. Please see [the documentation](docs/book/config-abstract-factory.md) for details. - #154 adds
Zend\ServiceManager\Tool\ConfigDumper
, which will introspect a given class to determine dependencies, and then create configuration forZend\ServiceManager\AbstractFactory\ConfigAbstractFactory
, merging it with the provided configuration file. It also adds a vendor binary,generate-deps-for-config-factory
, for generating these from the command line. - #154 adds
Zend\ServiceManager\Tool\FactoryCreator
, which will introspect a given class and generate a factory for it. It also adds a vendor binary,generate-factory-for-class
, for generating these from the command line. - #153 adds
Zend\ServiceManager\AbstractFactory\ReflectionBasedAbstractFactory
. This class may be used as either a mapped factory or an abstract factory, and will use reflection in order to determine which dependencies to use from the container when instantiating the requested service, with the following rules:- Scalar values are not allowed, unless they have default values associated.
- Values named
$config
type-hinted againstarray
will be injected with theconfig
service, if present. - All other array values will be provided an empty array.
- Class/interface typehints will be pulled from the container.
- #150 adds a "cookbook" section to the documentation, with an initial document detailing the pros and cons of abstract factory usage.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- #106 adds detection of multiple attempts to register the same instance or named abstract factory, using a previous instance when detected. You may still use multiple discrete instances, however.
- #146 adds
-
v3.1.2 Changes
December 19, 2016โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- ๐ #167 fixes how exception codes are provided to ServiceNotCreatedException. Previously, the code was provided as-is. However, some PHP internal exception classes, notably PDOException, can sometimes return other values (such as strings), which can lead to fatal errors when instantiating the new exception. The patch provided casts exception codes to integers to prevent these errors.
-
v3.1.1 Changes
July 15, 2016โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- ๐ #136 removes
several imports to classes in subnamespaces within the
ServiceManager
classfile, removing potential name resolution conflicts that occurred in edge cases when testing.
-
v3.1.0 Changes
June 01, 2016โ Added
- #103 Allowing
installation of
ocramius/proxy-manager
^2.0
together withzendframework/zend-servicemanager
. - #103 Disallowing
test failures when running tests against PHP
7.0.*
. - ๐ #113 Improved performance
when dealing with registering aliases and factories via
ServiceManager#setFactory()
andServiceManager#setAlias()
- #120 The
zendframework/zend-servicemanager
component now provides acontainer-interop/container-interop-implementation
implementation
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- #103 Allowing
installation of
-
v3.0.4 Changes
โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- Nothing.