Skip to content

Releases: php-fig/container

2.0.2

Choose a tag to compare

@Jean85 Jean85 released this 05 Nov 16:55
2.0.2
c71ecc5

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

Choose a tag to compare

@Jean85 Jean85 released this 05 Nov 16:55
1.1.2
513e066

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

Choose a tag to compare

@Jean85 Jean85 released this 05 Nov 16:48
2.0.1
2ae3732

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

Choose a tag to compare

@weierophinney weierophinney released this 05 Mar 16:04
2.0.0

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

Choose a tag to compare

@weierophinney weierophinney released this 05 Mar 17:39
1.1.1

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

Choose a tag to compare

@weierophinney weierophinney released this 05 Mar 15:54
1.1.0
9fc7aab

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

Choose a tag to compare

@weierophinney weierophinney released this 14 Feb 17:10

Initial stable release, following acceptance of PSR-11.