#648: Revert changes from 6.0.7 (#605) because it introduced regressions.
#605 Fixes some bugs with platforms like Heroku.
In previous versions some random strings were used in the CompiledContainer which caused each regeneration/compilation of the container to have a different result, while no change in the configuration were made. The CompiledContainer has now been made idempotent: "a specific PHP-DI configuration X always results in CompiledContainer Y".
#645: Performance improvement: proxy classes are now generated when the container is compiled. That means less overhead at runtime.
#618 & #627: Support for variadics to provide multiple definition files in one method call using
#614, #622 & #621: fix regression in
#616: Bugfix when using autowiring with wildcards (by @jasonrm)
Fix potential regression introduced in the previous release when fixing #582
ContainerInterfaceto point to the wrapper container if it was defined
DI\object()has been replaced by more specific and less ambiguous helpers:
DI\create()creates an object, overrides autowiring and previous definitions
DI\autowire()autowires an object and allows to override specific constructor and method parameters
object()inside arrays: it now works with the new
DI\object()has been removed, use
ContainerBuilder::setDefinitionCache()was removed, use
DI\link()helper was removed, used DI\get() instead
\DI\Debugclass has been removed. Definitions can be cast to string directly
DI\Definition\Exception\DefinitionExceptionwas renamed to
DI\Definition\Exception\AnnotationExceptionwas renamed to
DI\InvokerInterfacewas removed in favor of
Be also aware that internal classes or interfaces may have changed.
Compatibility with PSR-11 (which required a very small BC break)
#10 Compatibility with PHPUnit 7
Stable version for PHPUnit 6.
sudo dnf upgrade --advisory=FEDORA-2019-7613467f24
Please login to add feedback.