Skip to content

Releases: aurelia/dependency-injection

1.6.1

27 Aug 06:40
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • resolve: correctly infer type from abstract classes (230e7bd)

Full Changelog: 1.6.0...1.6.1

1.6.0

11 Aug 08:17
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.2...1.6.0

1.5.2

20 Nov 01:13
Compare
Choose a tag to compare

aurelia-dependency-injection 1.5.2

Bug Fixes

  • typings: dont use const enum (28bad61)

1.5.1

10 Sep 01:28
Compare
Choose a tag to compare

aurelia-dependency-injection 1.5.1

Bug Fixes

  • all: change package.json module from es2015 back to native-modules (86e2699)

1.5.0

06 Aug 18:20
Compare
Choose a tag to compare

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

18 Dec 04:20
Compare
Choose a tag to compare

aurelia-dependency-injection 1.4.2

Bug Fixes

  • dependency-injection: add more tests using cases suggested by @fkleuver (ac4e6f9), closes #171
  • dependency-injection: adjust based on review (dc756f4), closes #171
  • dependency-injection: ignore ...rest TypeScript metadata (c093756), closes #171

1.4.1

18 Jun 14:43
Compare
Choose a tag to compare

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

18 Jun 06:18
Compare
Choose a tag to compare

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

22 Aug 06:31
Compare
Choose a tag to compare

aurelia-dependency-injection 1.3.2

Performance Improvements

  • container: improve dynamic construction of static depencies (01b2988)

1.3.1

05 Apr 04:34
Compare
Choose a tag to compare

Documentation update.