Skip to content

Releases: php-fig/container

2.0.2

05 Nov 16:55
2.0.2
c71ecc5

Choose a tag to compare

Added

  • This release reverts the removal of the previous patch, re-adding the extension of Throwable by Psr\Container\ContainerExceptionInterface; to avoid issues, PHP >= 7.4 is now required

1.1.2

05 Nov 16:55
1.1.2
513e066

Choose a tag to compare

Added

  • This release reverts the removal of the previous patch, re-adding the extension of Throwable by Psr\Container\ContainerExceptionInterface; to avoid issues, PHP >= 7.4 is now required

2.0.1

05 Nov 16:48
2.0.1
2ae3732

Choose a tag to compare

Removed

  • This release removes the extension of Throwable by Psr\Container\ContainerInterface, as it leads to inheritance issues when child classes implement the Throwable interface in addition to ContainerInterface under PHP versions prior to 7.4.

2.0.0

05 Mar 16:04
2.0.0

Choose a tag to compare

Changed

  • This release adds the bool return typehint to Psr\Container\ContainerInterface::has(), in accordance with the PSR-11 type additions errata.

1.1.1

05 Mar 17:39
1.1.1

Choose a tag to compare

Removed

  • This release removes the extension of Throwable by Psr\Container\ContainerInterface, as it leads to inheritance issues when child classes implement the Throwable interface in addition to ContainerInterface under PHP versions prior to 7.4.

1.1.0

05 Mar 15:54
1.1.0
9fc7aab

Choose a tag to compare

Changed

  • This release modifies Psr\Container\ContainerExceptionInterface to extend the Throwable interface, ensuring that any implementation can actually be thrown as an exception type (the original intention of the specification).

  • This release adds the string typehint to the $id argument of each of the Psr\Container\ContainerInterface::get() and Psr\Container\ContainerInterface::has() methods. These were previously documented in the annotations and specification, and are added to the interfaces as part of the PSR-11 type additions errata.

Removed

  • This release removes support for PHP versions prior to 7.2.0.

1.0.0

14 Feb 17:10

Choose a tag to compare

Initial stable release, following acceptance of PSR-11.