All Versions
21
Latest Version
Avg Release Cycle
133 days
Latest Release
1503 days ago

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

    • #243 provides a fix to the ReflectionBasedAbstractFactory to resolve type-hinted arguments with default values to their default values if no matching type is found in the container.

    • ๐Ÿ›  #233 fixes a number of parameter annotations to reflect the actual types used.

  • v3.3.1 Changes

    November 27, 2017

    โž• Added

    • #201 and #202 add support for PHP versions 7.1 and 7.2.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  #206 fixes an issue where by callables in Class::method notation were not being honored under PHP 5.6.
  • 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 the ContainerInterface 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.
  • v3.2.1 Changes

    February 15, 2017

    โž• Added

    • #176 adds the options -i or --ignore-unresolved to the shipped generate-deps-for-config-factory command. This flag allows it to build configuration for classes resolved by the ConfigAbstractFactory that typehint on interfaces, which was previously unsupported.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • โšก๏ธ #174 updates the ConfigAbstractFactory to allow the config service to be either an array or an ArrayObject; previously, only array was supported.
  • 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 the ServiceManager. 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 for Zend\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 against array will be injected with the config 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.
  • 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 with zendframework/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() and ServiceManager#setAlias()
    • #120 The zendframework/zend-servicemanager component now provides a container-interop/container-interop-implementation implementation

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • #97 Typo corrections in the delegator factories documentation.
    • #98 Using coveralls 1.0 for tracking test code coverage changes.
  • v3.0.4 Changes

    โž• Added

    • Nothing.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • Nothing.