Skip to content

Releases: thephpleague/container

4.2.1

13 Mar 11:06
Compare
Choose a tag to compare

4.2.1

Fixed

  • Remove an unnecessary conditional in ServiceProviderAggregate. (@SubhanSh)
  • Fixed an infinite loop in resolving definitions. (@arai-ta)

4.2.0

16 Nov 10:30
Compare
Choose a tag to compare

Added

  • Support for psr/container 1.1.0.

4.1.2

26 Jul 07:05
Compare
Choose a tag to compare

Fixed

  • Fix bug that was causing an error on inflection due to introduced type hint.

4.1.1

09 Jul 13:40
Compare
Choose a tag to compare

Changed

  • Move files autoload directive to dev (@ADmad)

4.1.0

09 Jul 09:28
Compare
Choose a tag to compare

Added

  • Way to handle non-public controllers safely (@beryllium)

4.0.0

09 Jul 07:39
Compare
Choose a tag to compare

Added

  • New definition interface that extends psr/container
  • Literal and resolvable argument wrappers for better explicitness in definitions

Changed

  • PHP requirement now >=7.2
  • Updated psr/container to ^2.0.0
  • Container::shared convenience method is now explicit Container::addShared method
  • Removed third argument $shared from Container::add, use Container::addShared
  • ServiceProviderInterface now defines return types
  • Service providers now require implementation of a provides method rather than relying on a class property.

3.4.1

09 Jul 08:24
Compare
Choose a tag to compare

Added

  • Way to handle non-public controllers safely (@beryllium)
  • PHPUnit ^7.0 for PHP versions that support it (@beryllium)

3.4.0

09 Jul 07:22
Compare
Choose a tag to compare

Removed

  • Support for psr/container ^2.0.0 as the interface cannot be reconciled between versions

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.