FEDORA-2017-9c26de95e7 created by siwinski 3 years ago for Fedora 26
stable

5.4.2

Minor patch to add the provide: psr/container-implementation to composer.json

5.4.1

Note that PHP-DI was already compliant with PSR-11 because it was implementing container-interop, and container-interop 1.2 extends PSR-11. This new version just makes it more explicit and will allow to drop container-interop support in the next major versions.

5.4

Read the news entry.

New features:

  • #362 implemented in #428, #430, #431 and #432: factory parameters can now be configured, for example: php return [ 'Database' => DI\factory(function ($host) {...}) ->parameter('host', DI\get('db.host')), ]; Read the factories documentation to learn more. Feature implemented by @predakanga.

Improvements:

  • #429: performance improvements in definition resolution (by @mnapoli)
  • #421: once a ContainerBuilder has built a container, it is locked to prevent confusion when adding new definitions to it (by @mnapoli)
  • #423: improved exception messages (by @mnapoli)

5.3

Read the news entry.

  • release of the 2.0 version of the Symfony bridge (by @mnapoli)
  • PHP 5.5 or above is now required
  • a lot of documentation improvements by 9 different contributors
  • #389: exception message improvement by @mopahle
  • #359, #411, #414, #412: compatibility with ProxyManager 1. and 2. (by @holtkamp and @mnapoli)
  • #416: dumping definitions was refactored into a more lightweight and simple solution; definition "dumpers" have been removed (internal classes), definitions can now be cast to string directly (by @mnapoli)

How to install

sudo dnf upgrade --advisory=FEDORA-2017-9c26de95e7

This update has been submitted for testing by siwinski.

3 years ago

This update has been pushed to testing.

3 years ago

This update has reached 3 days in testing and can be pushed to stable now if the maintainer wishes

3 years ago

This update has been submitted for stable by siwinski.

3 years ago

This update has been pushed to stable.

3 years ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
3 years ago
in testing
3 years ago
in stable
3 years ago
BZ#1435627 php-di-5.4.2 is available
0
0

Automated Test Results