Skip to content

Releases: inversify/InversifyJS

v6.0.3

23 Oct 11:49
1711315
Compare
Choose a tag to compare

Fixed

  • Fixed property injection tagged as @optional no longer overrides default values with undefined.
  • Updated targetName to be a valid typescript@5 decorator.

v6.0.1

14 Oct 13:11
Compare
Choose a tag to compare

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

Fix 5.1 build artifacts

25 Apr 22:30
9098a14
Compare
Choose a tag to compare
5.1.1

update changelog (#1318)

Dc/release 5.1.0 (#1315)

25 Apr 19:23
57608ae
Compare
Choose a tag to compare

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

10 Dec 02:08
9837ece
Compare
Choose a tag to compare
Update package.json

5.0.4

10 Dec 02:04
edd02bd
Compare
Choose a tag to compare
Update package.json

5.0.3

06 Jul 22:46
8535a27
Compare
Choose a tag to compare

Vulnerabilities

5.0.1

17 Oct 16:42
37884a6
Compare
Choose a tag to compare
Merge pull request #980 from inversify/dcavanagh-patch-1

Update package.json

5.0.0

17 Oct 16:27
e6f7dfd
Compare
Choose a tag to compare
Update PULL_REQUEST_TEMPLATE.md

4.14.0

17 Oct 01:37
Compare
Choose a tag to compare
added auditignore as workaround to upgrading to gulp4.0