Releases: inversify/InversifyJS
Releases · inversify/InversifyJS
v7.7.0
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 rightgetChained
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
Changed
- Updated
getAll
andgetAllAsync
options with missingchained
property.
v7.6.0
Added
- Added
MultiInjectOptions
.
Changed
- Updated
multiInject
decorator with optionalMultiInjectOptions
. - Updated
getAll
andgetAllAsync
with optionalchained
property.
v7.5.4
Changed
- Updated
ServiceIdentifier
to rely onFunction
again. This solves an issue affecting classes with protected constructors.
v7.5.3
Changed
- Updated
ServiceIdentifier
removingFunction
in favor of a newAbstractNewable
type. ServiceIdentifier now uses AbstractNewable instead of Function to better represent abstract classes. This provides better type safety and semantics.
v7.5.2
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
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
Changed
- Updated
Container
withunloadSync
. - Updated
Container
withloadSync
.
v7.4.0
Changed
- Updated
ContainerModuleLoadOptions
withrebind
. - Updated
ContainerModuleLoadOptions
withrebindSync
. - Updated
BindToFluentSyntax.toResolvedValue
with additional type constraints.
v7.3.0
Changed
- Updated
Container
withrebindSync
. - Updated
Container
withunbindSync
. - Updated
Container
withrebind
. - Updated
ContainerModuleLoadOptions
withunbindSync
. - Updated
ContainerModuleLoadOptions.unbind
to acceptBindingIdentifier
.