Container v4.0.0 Release Notes

  • โž• 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.