Skip to content

Releases: BerliozFramework/ServiceContainer

v2.3.0

26 Mar 10:47
Compare
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
Compare
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
Compare
Choose a tag to compare

Added

  • PHP 8.1 compatibility

v2.1.1

10 Nov 12:15
Compare
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
Compare
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
Compare
Choose a tag to compare

Changed

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

v2.0.2

23 Sep 11:39
Compare
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
Compare
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
Compare
Choose a tag to compare

No changes were introduced since the previous beta 4 release.

v2.0.0-beta4

07 Jun 20:23
Compare
Choose a tag to compare
v2.0.0-beta4 Pre-release
Pre-release

Changed

  • Container provides himself for \Psr\Container\ContainerInterface interface