InversifyJS v6.0.1 Release Notes

Release Date: 2021-10-14 // over 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

Previous changes from v5.1.1

  • 🏗 -Fix pre-publish for build artifacts