Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Releases: zendframework/zend-servicemanager

zend-servicemanager 2.7.8

19 Dec 19:16
Compare
Choose a tag to compare

Added

  • Nothing.

Changes

  • #158 provides a performance optimization within the InvokableFactory, ensuring it checks for a class matching the $requestedName prior to the $canonicalName; this also is more in line with version 3, which only has access to the requested name.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #164 fixes how the InvokableFactory deals with creation options. Prior to this release, absence of options led to setting the creation options to an empty array, which, because it was non-null, led to breakage in plugins that treated an empty array differently than null. This patch ensures that the original behavior is restored.
  • #168 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.

zend-servicemanager 2.7.7

01 Sep 19:05
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #127 fixes how the AbstractPluingManager handles $options arrays passed when retrieving a plugin when that plugin resolves to the InvokableFactory, ensuring subsequent calls with different options are created correctly.

zend-servicemanager 3.1.1

15 Jul 15:04
Compare
Choose a tag to compare

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.

zend-servicemanager 3.1.0

01 Jun 17:09
Compare
Choose a tag to compare

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.

zend-servicemanager 2.7.6

27 Apr 19:10
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #116 updates ServiceLocatorInterface to extend container-interop's ContainerInterface, as the definitions are compatible. This change will mean that implementing ServiceLocatorInterface will provide a ContainerInterface implementation.

zend-servicemanager 3.0.3

02 Feb 14:19
Compare
Choose a tag to compare

Added

  • #89 adds cyclic alias detection to the ServiceManager; it now raises a Zend\ServiceManager\Exception\CyclicAliasException when one is detected, detailing the cycle detected.
  • #95 adds GitHub Pages publication automation, and moves the documentation to https://zendframework.github.io/zend-servicemanager/
  • #93 adds Zend\ServiceManager\Test\CommonPluginManagerTrait, which can be used to validate that a plugin manager instance is ready for version 3.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #90 fixes several examples in the configuration chapter of the documentation, ensuring that the signatures are correct.
  • #92 ensures that alias resolution is skipped during configuration if no aliases are present, and forward-ports the test from #81 to validate v2/v3 compatibility for plugin managers.

zend-servicemanager 2.7.5

02 Feb 14:16
Compare
Choose a tag to compare

Added

  • #81 adds a test covering forwards-compatibility features for plugin manager implementations.
  • #96 adds Zend\ServiceManager\Test\CommonPluginManagerTrait, which allows you to test that your plugin manager is forwards compatible with v3.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #91 updates the InvokableFactory to add the setCreationOptions() method, allowing the InvokableFactory to accept $options when triggered.

zend-servicemanager 3.0.2

24 Jan 23:35
Compare
Choose a tag to compare

Added

  • #64 performance optimizations
    when dealing with alias resolution during service manager instantiation

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #62
    #64 corrected benchmark assets signature
  • #72 corrected link to the Proxy Pattern Wikipedia
    page in the documentation
  • #78
    #79 creation context was not being correctly passed
    to abstract factories when using plugin managers
  • #82 corrected migration guide in the DocBlock of
    the InitializerInterface

zend-servicemanager 3.0.1

19 Jan 21:20
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #68 removes the dependency on zend-stdlib by inlining the ArrayUtils::merge() routine as a private method of Zend\ServiceManager\Config.

Fixed

  • Nothing.

zend-servicemanager 2.7.4

19 Jan 21:04
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #71 fixes an edge case with alias usage, whereby an alias of an alias was not being resolved to the final service name.