Skip to content

Releases: inversify/InversifyJS

v7.7.0

31 Jul 16:26
b871e87
Compare
Choose a tag to compare

Added

  • Added Bind type.
  • Added IsBound type.
  • Added OnActivation type.
  • Added OnDeactivation type.
  • Added Rebind type.
  • Added RebindSync type.
  • Added Unbind type.
  • Added UnbindSync type.

Changed

  • Updated BindOnFluentSyntaxImplementation.onDeactivation to throw an error on non singleton scoped bindings.
  • Updated ServiceResolutionManager to provide right getChained operation after computed properties are reset.
  • Updated Container to properly manage bindings bindings on child containers after a parent container restores a snapshot.

v7.6.1

13 Jul 23:00
d519517
Compare
Choose a tag to compare

Changed

  • Updated getAll and getAllAsync options with missing chained property.

v7.6.0

13 Jul 18:53
ea880cd
Compare
Choose a tag to compare

Added

  • Added MultiInjectOptions.

Changed

  • Updated multiInject decorator with optional MultiInjectOptions.
  • Updated getAll and getAllAsync with optionalchained property.

v7.5.4

25 Jun 23:12
1836b74
Compare
Choose a tag to compare

Changed

  • Updated ServiceIdentifier to rely on Function again. This solves an issue affecting classes with protected constructors.

v7.5.3

25 Jun 11:52
1c87b28
Compare
Choose a tag to compare

Changed

  • Updated ServiceIdentifier removing Function in favor of a new AbstractNewable type. ServiceIdentifier now uses AbstractNewable instead of Function to better represent abstract classes. This provides better type safety and semantics.

v7.5.2

01 Jun 08:30
26d1118
Compare
Choose a tag to compare

Changed

  • Fixed Container.snapshot so snapshot bindings are not updated after a snapshot is taken.
  • Fixed a memory leak affecting child containers.

v7.5.1

16 Apr 19:00
2320fda
Compare
Choose a tag to compare

Changed

  • Updated Container.get like methods to properly set bindings when autobind mode is set:
    • @injectable scopes properly handled.
    • Autobind mode no longer creates duplicated bindings.

v7.5.0

02 Apr 21:32
8275c91
Compare
Choose a tag to compare

Changed

  • Updated Container with unloadSync.
  • Updated Container with loadSync.

v7.4.0

01 Apr 23:47
5974e3a
Compare
Choose a tag to compare

Changed

  • Updated ContainerModuleLoadOptions with rebind.
  • Updated ContainerModuleLoadOptions with rebindSync.
  • Updated BindToFluentSyntax.toResolvedValue with additional type constraints.

v7.3.0

30 Mar 15:11
d28efe0
Compare
Choose a tag to compare

Changed

  • Updated Container with rebindSync.
  • Updated Container with unbindSync.
  • Updated Container with rebind.
  • Updated ContainerModuleLoadOptions with unbindSync.
  • Updated ContainerModuleLoadOptions.unbind to accept BindingIdentifier.