Woohoolabs Zen Versions Save

Woohoo Labs. Zen is a very fast and simple, PSR-11 compliant DI Container & preload file generator.

2.6.0

5 years ago

ADDED:

  • Support for file-based container definitions
  • Support for disabling autoload of an Entry Point via ClassEntryPoint::disableAutoload() and WildcardEntryPoint::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

5 years ago

CHANGED:

  • Apply the Woohoo Labs. Coding Standard

2.5.0

5 years ago

ADDED:

  • Support for scalar injection

FIXED:

  • String values containing special characters won't cause fatal error

2.4.0

5 years ago

ADDED:

  • Support for Context-Dependent Dependency Injection

2.3.0

5 years ago

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

6 years ago

ADDED:

  • RuntimeContainer container implementation which doesn't need to be compiled

CHANGED:

  • Renamed AbstractContainer to AbstractCompiledContainer
  • Optimized compilation time by using fully qualified function names

FIXED:

  • PHP version check in the zen binary

2.1.0

6 years ago

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

7 years ago

ADDED:

  • Support for PSR-11

CHANGED:

  • Optimized $entryPoints array
  • Optimized look-up of Singleton entries

REMOVED:

  • Support for Container-Interop

1.2.6

7 years ago

FIXED:

  • Regression when the container itself can't be retrieved
  • ContainerInterface entry references the container entry properly
  • Removed unnecessary "suggest" block from composer.json

1.2.5

7 years ago

FIXED:

  • Regression when ContainerInterface can't be retrieved