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

zend-config 3.0.0

Compare
Choose a tag to compare
@weierophinney weierophinney released this 16 Feb 22:27
· 129 commits to master since this release

Added

  • #36 adds support for PSR-11.
  • #36 adds the class Zend\Config\StandaloneReaderPluginManager for managing config reader plugins. This implementation implements the PSR-11 ContainerInterface, and uses a hard-coded list of reader plugins.
  • #36 adds the class Zend\Config\StandaloneWriterPluginManager for managing config writer plugins. This implementation implements the PSR-11 ContainerInterface, and uses a hard-coded list of writer plugins.

Changes

  • #36 updates the Zend\Config\Factory::getReaderPluginManager() method to lazy-load a StandaloneReaderPluginManager by default, instead of a ReaderPluginManager, allowing usage out-of-the-box without requiring zend-servicemanager.
  • #36 updates the Zend\Config\Factory::setReaderPluginManager() method to typehint against Psr\Container\ContainerInterface instead of ReaderPluginManager. If you were extending and overriding that method, you will need to update your signature.
  • #36 updates the Zend\Config\Factory::getWriterPluginManager() method to lazy-load a StandaloneWriterPluginManager by default, instead of a WriterPluginManager, allowing usage out-of-the-box without requiring zend-servicemanager.
  • #36 updates the Zend\Config\Factory::setWriterPluginManager() method to typehint against Psr\Container\ContainerInterface instead of WriterPluginManager. If you were extending and overriding that method, you will need to update your signature.

Deprecated

  • Nothing.

Removed

  • #36 removes usage of zend-json as a JSON de/serializer in the JSON writer and reader; the component now requires ext/json is installed to use these features.

Fixed

  • Nothing.