Skip to content

Releases: woohoolabs/zen

2.7.0

07 Jan 22:16
2.7.0
3f2389c
Compare
Choose a tag to compare

ADDED:

  • Psr4NamespaceEntryPoint: Provides a convenient way to define all classes in a PSR-4 namespace as Entry Point
  • Psr4WildcardHint: 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

04 Jan 14:31
2.6.0
defec6e
Compare
Choose a tag to compare

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

21 Dec 09:51
2.5.1
a517708
Compare
Choose a tag to compare

CHANGED:

  • Apply the Woohoo Labs. Coding Standard

2.5.0

08 Dec 16:53
2.5.0
12d31a6
Compare
Choose a tag to compare

ADDED:

  • Support for scalar injection

FIXED:

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

2.4.0

02 Aug 18:38
2.4.0
2b048dd
Compare
Choose a tag to compare

ADDED:

  • Support for Context-Dependent Dependency Injection

2.3.0

05 Jul 06:45
2.3.0
c3c1652
Compare
Choose a tag to compare

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

21 Jan 23:22
2.2.0
7b4ae59
Compare
Choose a tag to compare

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

05 Sep 14:05
2.1.0
5032172
Compare
Choose a tag to compare

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

14 Feb 20:10
Compare
Choose a tag to compare

ADDED:

  • Support for PSR-11

CHANGED:

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

REMOVED:

  • Support for Container-Interop

1.2.6

13 Jan 21:51
Compare
Choose a tag to compare

FIXED:

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