Skip to content

Releases: BerliozFramework/ServiceContainer

v2.3.1

14 Jan 09:43

Choose a tag to compare

Fixed

  • Autowiring with non-instantiable class
  • Instantiator with non-instantiable class

v2.3.0

26 Mar 10:47

Choose a tag to compare

Added

  • Compatibility with psr/simple-cache 2.x ad 3.x

Changed

  • Make ProviderTestCase::providers() static

v2.2.0

24 Nov 14:55

Choose a tag to compare

Added

  • Option to don't share a service, always new instance is created

v1.2.0

26 Nov 10:13

Choose a tag to compare

Added

  • PHP 8.1 compatibility

v2.1.1

10 Nov 12:15

Choose a tag to compare

Changed

  • Detailed exception message for missing argument

Fixed

  • Variadic arguments without value

v2.1.0

29 Sep 16:02
4f2034f

Choose a tag to compare

Added

  • Compatibility with psr/container version 2
  • "Nullable" services
  • @template annotation for main container
  • @template annotation for instantiator

v2.0.3

23 Sep 12:30

Choose a tag to compare

Changed

  • Move class \Berlioz\ServiceContainer\Provider\ProviderTestCase to \Berlioz\ServiceContainer\Provider\ProviderTestCase

v2.0.2

23 Sep 11:39

Choose a tag to compare

Added

  • Abstract test case class \Berlioz\ServiceContainer\Tests\Provider\ProviderTestCase to help test of providers

Changed

  • Reorder ServiceProviderInterface methods

Fixed

  • Infinite loop in AutoWiringContainer when trying to instantiate a recursive service

v2.0.1

09 Sep 14:51

Choose a tag to compare

Fixed

  • Instantiator::getArguments() tries to instantiate a class even if null is allowed

v2.0.0

08 Sep 20:50

Choose a tag to compare

No changes were introduced since the previous beta 4 release.