Releases: inversify/InversifyJS
Releases · inversify/InversifyJS
v7.0.1
Changed
- Updated
Container.getlike methods to no longer initialize twice async singleton scoped bindings.
v7.0.0
Parity version with 7.0.0-alpha.5.
Consider this guide to upgrade from v6.
v7.0.0-alpha.5
Changed
- Renamed
BindingMetadatatoBindingConstraints. - Improved performance on
Container.getlike methods.
v7.0.0-alpha.4
Changed
- Updated
BindToFluentSyntaxwith.toResolvedValue.
v6.2.2
Changed
- Parity version with
6.2.1to fix an issue in the npm registry.
v7.0.0-alpha.2
Changed
- Updated
Containerwith a plan cache.Container.get,Container.getAll,Container.getAllAsyncandContainer.getAsyncperformance has been improved.
v7.0.0-alpha.1
Changed
- Updated
GetOptionswithautobind. - Updated
ContainerOptionswithautobind.
v7.0.0-alpha.0
Added
- Added
BindInFluentSyntax. - Added
BindInWhenOnFluentSyntax. - Added
BindOnFluentSyntax. - Added
BindingScope. - Added
BindToFluentSyntax. - Added
BindWhenFluentSyntax. - Added
BindWhenOnFluentSyntax. - Added
ContainerModuleLoadOptions. - Added
DynamicValueBuilder. - Added
Factory. - Added
GetOptions. - Added
GetOptionsTagConstraint. - Added
IsBoundOptions. - Added
MetadataName. - Added
MetadataTag. - Added
MetadataTargetName. - Added
OptionalGetOptions. - Added
Provider. - Added
ResolutionContext. - Added
bindingScopeValues. - Added
bindingTypeValues. - Added
injectFromBasedecorator.
Changed
- Updated
injectablewith optionalscope. - [Breaking] Updated
ContainerModuleconstructor to receive a callback withContainerModuleLoadOptionsinstead ofinterfaces.ContainerModuleCallBack. - [Breaking] Updated
ContainerModule.load to returnPromise<void>. - Updated
ContainerOptionswithparent. - Updated
ContainerOptionswithoutautoBindInjectableandskipBaseClassChecks. - [Breaking] Updated
Containerto no longer exposeid,parentnoroptions. - [Breaking] Updated
Containerwith noapplyCustomMetadataReader,applyMiddleware,createChild,mergeandrebindmethods. - [Breaking] Updated
Containerwith noisCurrentBound,isBoundNamed,isBoundTaggedmethods in favor of usingContainer.isBoundwithisBoundOptions. - [Breaking] Updated
Containerwith nogetNamed,getTagged,tryGet,tryGetNamedandtryGetTaggedmethods in favor ofContainer.getwithOptionalGetOptionsoptions. - [Breaking] Updated
Containerwith nogetNamedAsync,getTaggedAsync,tryGetAsync,tryGetNamedAsyncandtryGetTaggedAsyncmethods in favor ofContainer.getAsyncwithOptionalGetOptionsoptions. - [Breaking] Updated
Containerwith nogetAllNamed,getAllTagged,tryGetAll,tryGetAllNamedandtryGetAllTaggedmethods in favor ofContainer.getAllwithGetOptionsoptions. - [Breaking] Updated
Containerwith nogetAllNamedAsync,getAllTaggedAsync,tryGetAllAsync,tryGetAllNamedAsyncandtryGetAllTaggedAsyncmethods in favor ofContainer.getAllAsyncwithGetOptionsoptions. - [Breaking] Updated
Containerwith noloadAsyncin favor of an asyncContainer.load. - [Breaking] Updated
Containerwith nounbindAsyncin favor of an asyncContainer.unbind. - [Breaking] Updated
Containerwith nounbindAllAsyncin favor of an asyncContainer.unbindAll. - [Breaking] Updated
Containerwith nounloadAsyncin favor of an asyncContainer.unload.
Fixed
- Updated
decorateto no longer require a unexpected prototypes to decorate property nor methods.
Removed
- [Breaking] Removed deprecated
LazyServiceIdentifer. UseLazyServiceIdentifierinstead. - [Breaking] Removed
BindingScopeEnum. UsebindingScopeValuesinstead. - [Breaking] Removed
BindingTypeEnum. - [Breaking] Removed
TargetTypeEnum. - [Breaking] Removed
METADATA_KEY. - [Breaking] Removed
AsyncContainerModule. UseContainerModuleinstead. - [Breaking] Removed
createTaggedDecorator. - [Breaking] Removed
MetadataReader. - [Breaking] Removed
id. - [Breaking] Removed
interfacestypes. Rely on new types instead. - [Breaking] Removed
traverseAncerstors. - [Breaking] Removed
taggedConstraint. - [Breaking] Removed
namedConstraint. - [Breaking] Removed
typeConstraint. - [Breaking] Removed
getServiceIdentifierAsString. - [Breaking] Removed
multiBindToService.
v6.2.1
Fixed
- Added missing
LazyServiceIdentifer.
v6.2.0
Added
- Added
interfaces.GetAllOptions.
Changed
- Updated
container.getAllwithoptionsoptional param. - Updated
container.getAllAsyncwithoptionsoptional param. - Updated
interfaces.NextArgswith optionalisOptionalparam. - Updated
containerwithtryGet. - Updated
containerwithtryGetAsync. - Updated
containerwithtryGetTagged. - Updated
containerwithtryGetTaggedAsync. - Updated
containerwithtryGetNamed. - Updated
containerwithtryGetNamedAsync. - Updated
containerwithtryGetAll. - Updated
containerwithtryGetAllAsync. - Updated
containerwithtryGetAllTagged. - Updated
containerwithtryGetAllTaggedAsync. - Updated
containerwithtryGetAllNamed. - Updated
containerwithtryGetAllNamedAsync.