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

Releases: zendframework/zend-modulemanager

zend-modulemanager 2.8.4

28 Oct 13:31
release-2.8.4
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #91 fixes permission on cache file.
    The permission denied issue occurs on reading the cache file, when cache has been build using different user account.

zend-modulemanager 2.8.3

18 Oct 21:03
release-2.8.3
Compare
Choose a tag to compare

Added

  • #85 adds support for PHP 7.3.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #88 fixes
    how cache files are created. Temporary file is created first and when
    completed it is renamed to target file. It prevents from loading uncompleted
    files.

zend-modulemanager 2.8.2

02 Dec 06:24
release-2.8.2
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #74 Fixes exception message in ConfigListener

zend-modulemanager 2.8.1

01 Nov 18:34
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • #73 modifies the ModuleResolverListener slightly. In #5, released in 2.8.0, we added the ability to use classes named after the module itself as a module class. However, in some specific cases, primarily when the module is a top-level namespace, this can lead to conflicts with globally-scoped classes. The patch in this release modifies the logic to first check if a Module class exists under the module namespace, and will use that; otherwise, it will then check if a class named after the namespace exists. Additionally, the class now implements a blacklist of specific classes known to be non-instantiable, including the Generator class shipped with the PHP language itself.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-modulemanager 2.8.0

11 Jul 19:42
Compare
Choose a tag to compare

Added

  • #4 adds a new ListenerOptions option, use_zend_loader. The option defaults to true, which keeps the current behavior of registering the ModuleAutoloader and AutoloaderProvider. If you disable it, these features will no longer be loaded, allowing ModuleManager to be used without zend-loader.
  • #5 adds the ability to use a class of any name for a module, so long as you provide the fully qualified class name when registering the module with the module manager.

Deprecated

  • Nothing.

Removed

  • #62 removes support for PHP 5.5 and HHVM.

Fixed

  • #53 preventing race conditions when writing cache files (merged configuration)

zend-modulemanager 2.7.3

11 Jul 18:40
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #39 and #53 prevent race conditions when writing cache files (merged configuration).
  • #36 removes a throw from ServiceListener::onLoadModulesPost() that was previously emitted when a named plugin manager did not have an associated service present yet. Doing so allows plugin managers to be registered after configuration is fully merged, instead of requiring they be defined early. This change allows components to define their plugin managers via their Module classes.
  • #58 corrects the typehint for the ServiceListener::$listeners property.

zend-modulemanager 2.7.2

16 May 21:24
Compare
Choose a tag to compare

Added

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-modulemanager 2.7.1

29 Feb 14:07
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #31 updates the ServiceListener:onLoadModulesPost() workflow to override existing services on a given service/plugin manager instance when configuring it. Since the listener operates as part of bootstrapping, this is a requirement.

zend-modulemanager 2.7.0

25 Feb 18:25
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #13 and #28 update the component to be forwards-compatible with zend-servicemanager v3. This primarily affects how configuration is aggregated within the ServiceListener (as v3 has a dedicated method in the Zend\ServiceManager\ConfigInterface for retrieving it).
  • #12, #28, and #29 update the component to be forwards-compatible with zend-eventmanager v3. Primarily, this involves:
    • Changing trigger calls to triggerEvent() and/or triggerEventUntil(), and ensuring the event instance is injected with the new event name prior.
    • Ensuring aggregates are attached using the $aggregate->attach($events) signature instead of the $events->attachAggregate($aggregate) signature.
    • Using zend-eventmanager's EventListenerIntrospectionTrait to test that listeners are attached at expected priorities.