Releases: nette/di
Releases · nette/di
Released version 2.3.2
- InjectExtension: fixed exception type
For the details you can have a look at the diff.
Released version 2.3.1
- Support for inject methods and properties moved to InjectExtension
- ContainerPanel: display compilation time when container is compiled
- Compiler::addExtensions disallows to replace extensions
- Compiler: extension without parameters is allowed now
For the details you can have a look at the diff.
Released version 2.2.4
- ContainerFactory: fixed thread-safety issues
- Compiler: service name must not be "0"
For the details you can have a look at the diff.
Released version 2.3.0
- parameters auto-resolution for generated factories
- service aliases
- removed ServiceDefinition & Statement magic methods (makes it 3× faster)
- added
DecoratorExtension
,DIExtension
andInjectExtension
- added
CompilerExtension::validateConfig()
- ExtensionsExtension: allows to pass params
- dynamic services
- chained syntax
Class::method()::method()::method()
- removed dependency on nette/reflection
- ContainerFactory replaced with light ContainerLoader
- ContainerBuilder: implement escaping of '@' at the beginning of string
- Compiler: added
addConfig() & loadConfig()
, compile() returnsClassType[]
BC breaks:
- Container & ContainerBuilder::findByType() returns all services, including non-autowired
- class names are case sensitive
- removed support for placing services inside extension section in configuration file
- removed support for dynamically added extensions
Released version 2.2.3
Released version 2.2.2
Released version 2.2.1
- fixed service inheritance
- better exception messages
- added
ContainerBuilder::addExcludedClasses()
for excluding classes from autowiring nette/nette#1424 - added
ServiceDefinition::getTag()
- Compiler: builder is created in constructor
For the details you can have a look at the diff.
Released version 2.2.0
The first standalone release. For more information see readme.md.