Releases: aurelia/dependency-injection
Releases · aurelia/dependency-injection
1.6.1
1.6.0
1.5.2
1.5.1
aurelia-dependency-injection 1.5.1
Bug Fixes
- all: change package.json module from es2015 back to native-modules (86e2699)
1.5.0
aurelia-dependency-injection 1.5.0
This release of the DI library has no breaking changes in terms of functionality, but does update many of its TypeScript type definitions to be more accurate for TypeScript users. To reflect this, we've bumped the minor version but added this special note for TypeScript users, as their projects may require some fixup if they were directly accessing DI library APIs in ways not compatible with the type system.
Bug Fixes
Breaking Changes
- Added typings to a majority of the framework. Previously all instances
retrieved from a container or functor were cast to any. Now they're typed by
inference to the key. If the key is a class the instance will be typed to an
instance of that class. If the key is a functor, it will be resolved to the
return type of the functor. All other keys will be typed to any.
(e5e277df)
1.4.2
1.4.1
Fixes an error that happened during the publication of the previous build, which caused the dist folder to end up on the wrong place.
1.4.0
aurelia-dependency-injection 1.4.0
Bug Fixes
- injection: fail with autoinject and own static inject (e230bda)
- resolver: use own property 'inject' in autoinject and parameter decorators (724ff08)
- resolvers: remove unusable asValue option of the factory decorator (5739152)
Features
- resolvers: allow using Factory.of and NewInstance.of with registered handlers (991cbb5)
1.3.2
aurelia-dependency-injection 1.3.2
Performance Improvements
- container: improve dynamic construction of static depencies (01b2988)
1.3.1
Documentation update.