Releases: inversify/InversifyJS
Releases · inversify/InversifyJS
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
injectFromBase
decorator.
Changed
- Updated
injectable
with optionalscope
. - [Breaking] Updated
ContainerModule
constructor to receive a callback withContainerModuleLoadOptions
instead ofinterfaces.ContainerModuleCallBack
. - [Breaking] Updated
ContainerModule
.load to returnPromise<void>
. - Updated
ContainerOptions
withparent
. - Updated
ContainerOptions
withoutautoBindInjectable
andskipBaseClassChecks
. - [Breaking] Updated
Container
to no longer exposeid
,parent
noroptions
. - [Breaking] Updated
Container
with noapplyCustomMetadataReader
,applyMiddleware
,createChild
,merge
andrebind
methods. - [Breaking] Updated
Container
with noisCurrentBound
,isBoundNamed
,isBoundTagged
methods in favor of usingContainer.isBound
withisBoundOptions
. - [Breaking] Updated
Container
with nogetNamed
,getTagged
,tryGet
,tryGetNamed
andtryGetTagged
methods in favor ofContainer.get
withOptionalGetOptions
options. - [Breaking] Updated
Container
with nogetNamedAsync
,getTaggedAsync
,tryGetAsync
,tryGetNamedAsync
andtryGetTaggedAsync
methods in favor ofContainer.getAsync
withOptionalGetOptions
options. - [Breaking] Updated
Container
with nogetAllNamed
,getAllTagged
,tryGetAll
,tryGetAllNamed
andtryGetAllTagged
methods in favor ofContainer.getAll
withGetOptions
options. - [Breaking] Updated
Container
with nogetAllNamedAsync
,getAllTaggedAsync
,tryGetAllAsync
,tryGetAllNamedAsync
andtryGetAllTaggedAsync
methods in favor ofContainer.getAllAsync
withGetOptions
options. - [Breaking] Updated
Container
with noloadAsync
in favor of an asyncContainer.load
. - [Breaking] Updated
Container
with nounbindAsync
in favor of an asyncContainer.unbind
. - [Breaking] Updated
Container
with nounbindAllAsync
in favor of an asyncContainer.unbindAll
. - [Breaking] Updated
Container
with nounloadAsync
in favor of an asyncContainer.unload
.
Fixed
- Updated
decorate
to no longer require a unexpected prototypes to decorate property nor methods.
Removed
- [Breaking] Removed deprecated
LazyServiceIdentifer
. UseLazyServiceIdentifier
instead. - [Breaking] Removed
BindingScopeEnum
. UsebindingScopeValues
instead. - [Breaking] Removed
BindingTypeEnum
. - [Breaking] Removed
TargetTypeEnum
. - [Breaking] Removed
METADATA_KEY
. - [Breaking] Removed
AsyncContainerModule
. UseContainerModule
instead. - [Breaking] Removed
createTaggedDecorator
. - [Breaking] Removed
MetadataReader
. - [Breaking] Removed
id
. - [Breaking] Removed
interfaces
types. 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
v6.2.0
Added
- Added
interfaces.GetAllOptions
.
Changed
- Updated
container.getAll
withoptions
optional param. - Updated
container.getAllAsync
withoptions
optional param. - Updated
interfaces.NextArgs
with optionalisOptional
param. - Updated
container
withtryGet
. - Updated
container
withtryGetAsync
. - Updated
container
withtryGetTagged
. - Updated
container
withtryGetTaggedAsync
. - Updated
container
withtryGetNamed
. - Updated
container
withtryGetNamedAsync
. - Updated
container
withtryGetAll
. - Updated
container
withtryGetAllAsync
. - Updated
container
withtryGetAllTagged
. - Updated
container
withtryGetAllTaggedAsync
. - Updated
container
withtryGetAllNamed
. - Updated
container
withtryGetAllNamedAsync
.
v6.2.0-beta.1
Changed
- Updated
interfaces.NextArgs
with optionalisOptional
param. - Updated
container
withtryGet
. - Updated
container
withtryGetAsync
. - Updated
container
withtryGetTagged
. - Updated
container
withtryGetTaggedAsync
. - Updated
container
withtryGetNamed
. - Updated
container
withtryGetNamedAsync
. - Updated
container
withtryGetAll
. - Updated
container
withtryGetAllAsync
. - Updated
container
withtryGetAllTagged
. - Updated
container
withtryGetAllTaggedAsync
. - Updated
container
withtryGetAllNamed
. - Updated
container
withtryGetAllNamedAsync
.
v6.2.0-beta.0
Added
- Added
interfaces.GetAllOptions
.
Changed
- Updated
container.getAll
withoptions
optional param. - Updated
container.getAllAsync
withoptions
optional param.
v6.1.6
- Fixed unexpected property access while running planning checks on injected base types.
- Updated ESM sourcemaps to refelct the right source code files.
v6.1.5
Changed
- Updated library to import
reflect-metadata
. Importingreflect-metadata
before bootstraping a module in the userland is no longer required.
Fixed
- Updated ESM build to provide proper types regardless of the ts resolution module strategy in the userland.
- Fixed container to properly resolve async
.toService
bindings. - Fixed
.toService
binding to properly disable caching any values.
6.1.5-beta.2
Fixed
- Updated ESM bundled types to solve circularly referenced types.
v6.1.2-beta.1
Fixed
- Updated ESM build to provide proper types regardless of the ts resolution module strategy in the userland.
v6.1.5-beta.0
Changed
- Updated library to import
reflect-metadata
. Importingreflect-metadata
before bootstraping a module in the userland is no longer required.
Fixed
- Fixed container to properly resolve async
.toService
bindings. - Fixed
.toService
binding to properly disable caching any values.