InversifyJS Versions Save

A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.

v6.0.1

2 years ago

Added

  • add API method for check dependency only in current container
  • createTaggedDecorator #1343
  • Async bindings #1132
  • Async binding resolution (getAllAsync, getAllNamedAsync, getAllTaggedAsync, getAsync, getNamedAsync, getTaggedAsync, rebindAsync, unbindAsync, unbindAllAsync, unloadAsync) #1132
  • Global onActivation / onDeactivation #1132
  • Parent/Child onActivation / onDeactivation #1132
  • Module onActivation / onDeactivation #1132
  • Added @preDestroy decorator #1132

Changed

  • @postConstruct can target an asyncronous function #1132
  • Singleton scoped services cache resolved values once the result promise is fulfilled #1320

Fixed

  • only inject decorator can be applied to setters #1342
  • Container.resolve should resolve in that container #1338

5.1.1

3 years ago

5.1.0

3 years ago

Added

  • Upgrade information for v4.x to v5.x

Fixed

  • Fix Target.isTagged() to exclude optional from tag injections #1190.
  • Update toConstructor, toFactory, toFunction, toAutoFactory, toProvider and toConstantValue to have singleton scope #1297.
  • Fix injection on optional properties when targeting ES6 #928

5.0.5

3 years ago

5.0.4

3 years ago

5.0.3

3 years ago

Vulnerabilities

5.0.1

5 years ago

5.0.0

5 years ago

4.14.0

5 years ago

4.13.0

6 years ago