Skip to content

Releases: nette/di

Released version 2.3.2

23 Aug 14:32
@dg dg
Compare
Choose a tag to compare
  • InjectExtension: fixed exception type

For the details you can have a look at the diff.

Released version 2.3.1

23 Aug 14:31
@dg dg
Compare
Choose a tag to compare
  • 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

23 Aug 14:30
@dg dg
Compare
Choose a tag to compare
  • 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

31 Jan 14:48
@dg dg
Compare
Choose a tag to compare
  • parameters auto-resolution for generated factories
  • service aliases
  • removed ServiceDefinition & Statement magic methods (makes it 3× faster)
  • added DecoratorExtension, DIExtension and InjectExtension
  • 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() returns ClassType[]

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

30 Dec 10:26
@dg dg
Compare
Choose a tag to compare
  • ExtensionsExtension: Allow passing parameters to extension constructor
  • ContainerFactory: rewritten caching mechanism to not use fopen [Closes #27]
  • Fixed usage of inject annotations in traits

For the details you can have a look at the diff.

Released version 2.2.2

30 Dec 10:25
@dg dg
Compare
Choose a tag to compare
  • ContainerFactory::$configFiles can contain arrays with configuration [Closes #26]

For the details you can have a look at the diff.

Released version 2.2.1

27 Aug 22:22
@dg dg
Compare
Choose a tag to compare
  • 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

12 May 21:56
@dg dg
Compare
Choose a tag to compare

The first standalone release. For more information see readme.md.