Skip to content

1.5.0

Compare
Choose a tag to compare
@EisenbergEffect EisenbergEffect released this 06 Aug 18:20
· 13 commits to master since this release

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)