InversifyJS v6.0.1 Release Notes

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