Skip to content

Releases: thephpleague/container

3.3.4

22 Feb 10:36
Compare
Choose a tag to compare

3.3.4

Fixed

  • Fixed an issue that caused a recursive register call. @pcoutinho
  • Fixed a return type declaration. @orbex

3.3.3

28 Sep 13:45
Compare
Choose a tag to compare

Fixed

  • Fixed bug relating to ReflectionContainer::call on arrow functions.

3.3.2

26 Sep 10:44
Compare
Choose a tag to compare

Added

  • Experimental support for PHP 8.

Fixed

  • Fix issue when preventing reflection from using default value for arguments.

3.3.1

18 May 08:22
Compare
Choose a tag to compare

3.3.1

Fixed

  • Respect $new argument when getting tagged definitions.

3.3.0

30 Jun 10:53
Compare
Choose a tag to compare

3.3.0

Added

  • Support for PHP 7.3
  • {set,get}LeagueContainer methods added to ContainerAwareTrait as a temporary measure until next major release when this can be properly addressed, less hinting of Psr\Container\ContainerInterface

Changed

  • Various internal code improvements

Fixed

  • Fix for setConcrete not re-resolving class on when overriding (@jleeothon)
  • Fix stack overflow error incase a service provider lies about providing a specific service (@azjezz)
  • Fix issue where providers may be aggregated multiple times (@bwg)
  • Various documentation fixes

3.2.2

28 Sep 13:29
Compare
Choose a tag to compare

3.2.2

Fixed

  • Fixed issue that prevented service providers from registering if a previous one in the aggregate was already registered.

3.2.1

21 Sep 14:24
Compare
Choose a tag to compare

3.2.1

Fixed

  • Fixed issue where all service providers were registered regardless of whether they need to be.

3.2.0

13 Aug 10:43
Compare
Choose a tag to compare

3.2.0

Added

  • Added ability to add definition as not shared when container is set to default to shared.
  • Added {set|get}Concrete to definitions to allow for better use of extend.

(Thanks to @jenssegers for these)

3.1.0 Sharing is caring

12 Aug 20:15
Compare
Choose a tag to compare

3.1.0

Added

  • Re-added the share proxy method that was mistakenly removed in previous major release.
  • Added ability to set Conatiner to "share" by default using defaultToShared method.
  • Added ability for ReflectionContainer to cache resolutions and pull from cache for following calls.

3.0.1

25 Jul 15:19
Compare
Choose a tag to compare

3.0.1

Added

  • Allow definition aggregates to be built outside of container.