Skip to content

Releases: thephpleague/container

5.0.1

27 Mar 09:34
Compare
Choose a tag to compare

5.0.1

Fixed

  • Fixed a small unreachable code bug

5.0.0

Added

  • Ability to overwrite a definition within the container, disabled by default

Changed

  • PHP requirement now >=8.1
  • General language modernisation
  • General prep for future updates and container compilation

4.2.4

10 Nov 12:43
Compare
Choose a tag to compare

4.2.4

Fixed

  • Now properly handle string based fully qualified class names in with preceding slashes. (@M1ke)

4.2.3

23 Oct 12:08
Compare
Choose a tag to compare

Fixed

  • Warnings for PHP 8.4 implicit nullable types (@andypost)

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)