Skip to content

Latest commit

 

History

History
113 lines (91 loc) · 3.33 KB

CHANGELOG.md

File metadata and controls

113 lines (91 loc) · 3.33 KB

Changelog

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

1.0.0 - 2015-19-31

Added

  • Inflector support for Pimple.
  • Custom file readers with withFileReader(string $extension, string $readerClass);.
  • Custom container adapters with withContainerAdapter(string $containerName, string $adapterName);.

0.5.2 - 2016-09-30

Added

  • Service aliases.
  • Container injection using Configurator::container().

Fixed

  • Non-string arguments can be provided to Pimple services.

0.5.1 - 2016-09-18

Added

  • TomPHP\ContainerConfigurator\FileReader\YAMLFileReader for reading YAML files (requires symfony/yaml to be installed).
  • Service factories.

0.5.0 - 2016-09-13

Added

  • TomPHP\ContainerConfigurator\Configurator as the main API.
  • If class is left out of the config for a service, then the service name is assumed to be the name of the class.
  • Services can be set as singleton by default.
  • All exceptions implement TomPHP\ContainerConfigurator\Exception\Exception.
  • Support for Pimple.

Changed

  • The composer package has been renamed to container-configurator.
  • The package namespace has changed to TomPHP\ContainerConfigurator.
  • Minimum supported PHP version is now 5.6.
  • Exception base-classes have been updated.
  • File reader classes have moved to TomPHP\ContainerConfigurator\FileReader.

Removed

  • TomPHP\ConfigServiceProvider\ConfigServiceProvider
  • Custom configurable service providers (TomPHP\ConfigServiceProvider\ConfigurableServiceProvider).
  • Custom sub-providers.
  • TomPHP\ConfigServiceProvider\Exception\RuntimeException

[0.4.0] - 2016-05-25

Added

  • Exception thrown when no files are found when using the fromFiles constructor

Changed

  • Config containing class names will remain as strings and not be converted to instances

[0.3.3] - 2015-10-10

Added

  • Configuring DI via the config

[0.3.2] - 2015-09-24

Added

  • Reading JSON config files via the fromFiles constructor
  • Support from braces in file globbing patterns

[0.3.1] - 2015-09-23

Added

  • Reading config files (PHP and JSON)

[0.3.0] - 2015-09-23

Added

  • ConfigServiceProvider::fromConfig() factory method
  • Sub providers

Changed

  • TomPHP\ConfigServiceProvider\InflectorConfigServiceProvider is now a sub provider
  • Provider classes are marked as final

Removed

  • TomPHP\ConfigServiceProvider\Config static factory

[0.2.1] - 2015-09-21

Added

  • Support to set up inflectors via configuration
  • TomPHP\ConfigServiceProvider\Config - a static class to enable easy setup.

[0.2.0] - 2015-09-03

Changed

  • Now depends on League Container ^2.0.2
  • TomPHP\ConfigServiceProvider\ConfigServiceProvider now extends League\Container\ServiceProvider\AbstractServiceProvider

[0.1.2] - 2014-04-12

Added

  • Contributing guidelines
  • composer test to run test suite
  • Make sub-arrays accessible directly

Changed

  • Make League Container dependency stricter (use ^ version)

## [0.1.1] - 2014-04-12

Added

  • CHANGELOG.md
  • Homepage field to composer.json

Fixed

  • Typo in README.md

[0.1.0] - 2015-04-12

Added

  • Service provider for league/container
  • Support for multiple levels of config