Releases: woohoolabs/zen
Releases · woohoolabs/zen
2.7.0
ADDED:
Psr4NamespaceEntryPoint
: Provides a convenient way to define all classes in a PSR-4 namespace as Entry PointPsr4WildcardHint
: Provides a convenient way to define Wildcard Hints if you use PSR-4 namespaces
CHANGED:
RuntimeContainer
became much-much faster- Faster compilation by optimizing filesystem and array handling
2.6.0
ADDED:
- Support for file-based container definitions
- Support for disabling autoload of an Entry Point via
ClassEntryPoint::disableAutoload()
andWildcardEntryPoint::disableAutoload()
- Support for autoloading reference definitions
CHANGED:
- Container definitions are inlined in the compiled container when possible
- Autoloaded definitions are inlined in the compiled container when possible
- Various other optimizations of the compiled container based on reference count of container definitions
- Interfaces and parent classes are also autoloaded when an Entry Point is autoloaded
- Optimize compilation time by minimizing class instantiations and caching
- Build the foundations of a faster dynamic container by making it possible to resolve the dependencies of a single class
FIXED:
- Definition binding
- Some issues related to autoloading
2.5.1
CHANGED:
- Apply the Woohoo Labs. Coding Standard
2.5.0
ADDED:
- Support for scalar injection
FIXED:
- String values containing special characters won't cause fatal error
2.4.0
ADDED:
- Support for Context-Dependent Dependency Injection
2.3.0
ADDED:
- Support for built-in just-in-time autoloading of the dependency graph of Entry Points
CHANGED:
- Optimized error handling in
AbstractCompiledContainer::get()
method - Optimized generation of compiled container by removing unnecessary variables
- Optimized retrieval of prototype container entries by removing unnecessary checks
- PHPUnit 7 is minimally required to run tests
FIXED:
- Entry points can not be duplicated now
2.2.0
ADDED:
RuntimeContainer
container implementation which doesn't need to be compiled
CHANGED:
- Renamed
AbstractContainer
toAbstractCompiledContainer
- Optimized compilation time by using fully qualified function names
FIXED:
- PHP version check in the zen binary
2.1.0
CHANGED:
- Increase minimum PHP version requirement to 7.1
- Require
doctrine/annotations
v1.5.0 minimally - Do not use the deprecated
AnnotationRegistry::registerFile()
method
2.0.0
ADDED:
- Support for PSR-11
CHANGED:
- Optimized
$entryPoints
array - Optimized look-up of Singleton entries
REMOVED:
- Support for Container-Interop
1.2.6
FIXED:
- Regression when the container itself can't be retrieved
ContainerInterface
entry references the container entry properly- Removed unnecessary "suggest" block from composer.json