layout | title | author | date |
---|---|---|---|
blogpost |
PHP-DI 5.3 released |
Matthieu Napoli |
June 1st, 2016 |
I am happy to announce that PHP-DI version 5.3 has been released. The changes in this new version are:
- release of the 2.0 version of the Symfony bridge
- PHP 5.5 or above is now required
- a lot of documentation improvements by 9 different contributors
- #389: exception message improvement by @mopahle
- compatibility with ProxyManager 1.x and 2.x by @holtkamp and @mnapoli (issues and pull requests: #359, #411, #414, #412)
- #416: dumping definitions was refactored into a more lightweight and simple solution; definitions can now be cast to string directly (9 classes were removed)
The Symfony bridge has been working well for 2 years but it had one main flaw: entries of the Symfony container (services.yml
for example) couldn't reference PHP-DI entries.
With the release of v2.0.0 this is now solved: PHP-DI entries and Symfony entries can reference each others without limitations.
The documentation has been updated to reflect this: Symfony bridge documentation.
Following the example of Doctrine (which dropped support for PHP 5.3 in v2.5) or Laravel (which dropped support for PHP 5.4 in v5.1), PHP-DI 5.3 stops supporting PHP 5.4 in a minor version. Users using PHP 5.4 should not be affected as long as they use Composer (the only supported method for installing PHP-DI): the new version will not be installed automatically.
Let's finish on a "Thank you" to all 12 contributors involved in this release.