1.7.16 (2017-11-30)
- Component decorator - functions the same as Injectable.
1.7.15 (2017-10-18)
- Wrong hierarchical dependency resolution.
1.7.14 (2017-10-14)
- Wrong injections order when using Inject decorator.
1.7.3 (2017-10-07)
- Added option parameter to constructor. - options object has two attributes: (parent and defaultLifeTime).
- Factories always resolve instances.
1.7.0 (2017-10-07)
- Container.createScope() is marked as deprecated, use Container.createChild() instead+.
- Added method Container.setParent().
- Symbol values for types are now properly handled in error messages.
1.6.8 (2017-10-05)
- Added support for ES6+ - Added new syntax for declaring injectioins of a class, now it's possible via Injectable decorator. see examples/javascript.
1.6.0 (2017-10-04)
- Life Time control - added LifeTime managment configuration, see example 5ba097a9cb
1.5.0 (2017-10-02)
- reflect-metadata as a dependency
1.4.0 (2017-10-01)
- @Injectable() decorator: - now to make a class available for injection you have to mark it with @Injectable() decorator: 86fede13
- Class registration: - now it's necessary to mark the class you want to make available for injections with Injectable decorator.
// old version class A {} container.register({ token: 'IA', useClass: A }); // new version @Injectable() class A {} container.register({ token: 'IA', useClass: A });