Skip to content

Releases: inversify/InversifyJS

v7.0.0-alpha.0

16 Jan 22:07
2f401e8
Compare
Choose a tag to compare
v7.0.0-alpha.0 Pre-release
Pre-release

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 optional scope.
  • [Breaking] Updated ContainerModule constructor to receive a callback with ContainerModuleLoadOptions instead of interfaces.ContainerModuleCallBack.
  • [Breaking] Updated ContainerModule.load to return Promise<void>.
  • Updated ContainerOptions with parent.
  • Updated ContainerOptions without autoBindInjectable and skipBaseClassChecks.
  • [Breaking] Updated Container to no longer expose id, parent nor options.
  • [Breaking] Updated Container with no applyCustomMetadataReader, applyMiddleware, createChild, merge and rebind methods.
  • [Breaking] Updated Container with no isCurrentBound, isBoundNamed, isBoundTagged methods in favor of using Container.isBound with isBoundOptions.
  • [Breaking] Updated Container with no getNamed, getTagged, tryGet, tryGetNamed and tryGetTagged methods in favor of Container.get with OptionalGetOptions options.
  • [Breaking] Updated Container with no getNamedAsync, getTaggedAsync, tryGetAsync, tryGetNamedAsync and tryGetTaggedAsync methods in favor of Container.getAsync with OptionalGetOptions options.
  • [Breaking] Updated Container with no getAllNamed, getAllTagged, tryGetAll, tryGetAllNamed and tryGetAllTagged methods in favor of Container.getAll with GetOptions options.
  • [Breaking] Updated Container with no getAllNamedAsync, getAllTaggedAsync, tryGetAllAsync, tryGetAllNamedAsync and tryGetAllTaggedAsync methods in favor of Container.getAllAsync with GetOptions options.
  • [Breaking] Updated Container with no loadAsync in favor of an async Container.load.
  • [Breaking] Updated Container with no unbindAsync in favor of an async Container.unbind.
  • [Breaking] Updated Container with no unbindAllAsync in favor of an async Container.unbindAll.
  • [Breaking] Updated Container with no unloadAsync in favor of an async Container.unload.

Fixed

  • Updated decorate to no longer require a unexpected prototypes to decorate property nor methods.

Removed

  • [Breaking] Removed deprecated LazyServiceIdentifer. Use LazyServiceIdentifier instead.
  • [Breaking] Removed BindingScopeEnum. Use bindingScopeValues instead.
  • [Breaking] Removed BindingTypeEnum.
  • [Breaking] Removed TargetTypeEnum.
  • [Breaking] Removed METADATA_KEY.
  • [Breaking] Removed AsyncContainerModule. Use ContainerModule 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

19 Dec 22:32
fb2e789
Compare
Choose a tag to compare

Fixed

  • Added missing LazyServiceIdentifer.

v6.2.0

10 Dec 10:08
10c5de8
Compare
Choose a tag to compare

Added

  • Added interfaces.GetAllOptions.

Changed

  • Updated container.getAll with options optional param.
  • Updated container.getAllAsync with options optional param.
  • Updated interfaces.NextArgs with optional isOptional param.
  • Updated container with tryGet.
  • Updated container with tryGetAsync.
  • Updated container with tryGetTagged.
  • Updated container with tryGetTaggedAsync.
  • Updated container with tryGetNamed.
  • Updated container with tryGetNamedAsync.
  • Updated container with tryGetAll.
  • Updated container with tryGetAllAsync.
  • Updated container with tryGetAllTagged.
  • Updated container with tryGetAllTaggedAsync.
  • Updated container with tryGetAllNamed.
  • Updated container with tryGetAllNamedAsync.

v6.2.0-beta.1

05 Dec 00:18
022883c
Compare
Choose a tag to compare
v6.2.0-beta.1 Pre-release
Pre-release

Changed

  • Updated interfaces.NextArgs with optional isOptional param.
  • Updated container with tryGet.
  • Updated container with tryGetAsync.
  • Updated container with tryGetTagged.
  • Updated container with tryGetTaggedAsync.
  • Updated container with tryGetNamed.
  • Updated container with tryGetNamedAsync.
  • Updated container with tryGetAll.
  • Updated container with tryGetAllAsync.
  • Updated container with tryGetAllTagged.
  • Updated container with tryGetAllTaggedAsync.
  • Updated container with tryGetAllNamed.
  • Updated container with tryGetAllNamedAsync.

v6.2.0-beta.0

04 Dec 20:18
b391465
Compare
Choose a tag to compare
v6.2.0-beta.0 Pre-release
Pre-release

Added

  • Added interfaces.GetAllOptions.

Changed

  • Updated container.getAll with options optional param.
  • Updated container.getAllAsync with options optional param.

v6.1.6

03 Dec 16:17
4ad6936
Compare
Choose a tag to compare
  • 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

29 Nov 17:40
d9f9fb4
Compare
Choose a tag to compare

Changed

  • Updated library to import reflect-metadata. Importing reflect-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

29 Nov 11:06
75af260
Compare
Choose a tag to compare
6.1.5-beta.2 Pre-release
Pre-release

Fixed

  • Updated ESM bundled types to solve circularly referenced types.

v6.1.2-beta.1

29 Nov 00:12
f642bee
Compare
Choose a tag to compare
v6.1.2-beta.1 Pre-release
Pre-release

Fixed

  • Updated ESM build to provide proper types regardless of the ts resolution module strategy in the userland.

v6.1.5-beta.0

26 Nov 09:57
ee72b84
Compare
Choose a tag to compare
v6.1.5-beta.0 Pre-release
Pre-release

Changed

  • Updated library to import reflect-metadata. Importing reflect-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.