Releases: thephpleague/container
Releases · thephpleague/container
3.3.4
3.3.4
Fixed
- Fixed an issue that caused a recursive
register
call. @pcoutinho - Fixed a return type declaration. @orbex
3.3.3
Fixed
- Fixed bug relating to
ReflectionContainer::call
on arrow functions.
3.3.2
Added
- Experimental support for PHP 8.
Fixed
- Fix issue when preventing reflection from using default value for arguments.
3.3.1
3.3.1
Fixed
- Respect
$new
argument when getting tagged definitions.
3.3.0
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 ofPsr\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
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
3.2.1
Fixed
- Fixed issue where all service providers were registered regardless of whether they need to be.
3.2.0
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 ofextend
.
(Thanks to @jenssegers for these)
3.1.0 Sharing is caring
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
3.0.1
Added
- Allow definition aggregates to be built outside of container.