UNPKG

@inversifyjs/container

Version:

InversifyJs container

417 lines (258 loc) 8.66 kB
# @inversifyjs/container ## 1.14.5 ### Patch Changes - Updated `BindToFluentSyntax.toResolvedValue` to allow non multiple array `ServiceIdentifier` `injectOptions` ## 1.14.4 ### Patch Changes - Updated dependencies - @inversifyjs/core@9.1.2 - @inversifyjs/plugin@0.2.0 ## 1.14.3 ### Patch Changes - Updated metadata to reflect side effects ## 1.14.2 ### Patch Changes - Updated entrypoint to import 'reflect-metadata/lite' instead of 'reflect-metadata' ## 1.14.1 ### Patch Changes - Updated dependencies - @inversifyjs/core@9.1.1 - @inversifyjs/plugin@0.2.0 ## 1.14.0 ### Minor Changes - Updated `BindToFluentSyntax.factory` to allow asyn factory builders ### Patch Changes - Updated `BindToFluentSyntax.toResolvedValue` to allow async factories - Updated dependencies - @inversifyjs/core@9.1.0 - @inversifyjs/plugin@0.2.0 ## 1.13.2 ### Patch Changes - Updated dependencies - @inversifyjs/reflect-metadata-utils@1.4.1 - @inversifyjs/core@9.0.1 - @inversifyjs/plugin@0.2.0 ## 1.13.1 ### Patch Changes - Added `MapToResolvedValueInjectOptions` type export ## 1.13.0 ### Minor Changes - 6b6db58: Updated `injectFromBase` to extend lifecycle metadata - 6b6db58: Added `InjectFromBaseOptionsLifecycle` - 6b6db58: Updated `injectFromHierarchy` to extend lifecycle metadata - 6b6db58: Added `InjectFromHierarchyOptionsLifecycle` ### Patch Changes - 0f0fcdc: Deprecated `toProvider()` method. Use `toFactory()` instead. Providers will be removed in v8. Providers exist for historical reasons from v5 when async dependencies weren't supported. Factories are more flexible and can handle both sync and async operations. - Updated dependencies - @inversifyjs/core@9.0.0 - @inversifyjs/reflect-metadata-utils@1.4.0 - @inversifyjs/plugin@0.2.0 ## 1.12.7 ### Patch Changes - 67db8bd: Updated `Container` to trigger autobind options on autobound parent container related binding requests - Updated dependencies - @inversifyjs/core@8.0.0 - @inversifyjs/plugin@0.2.0 ## 1.12.6 ### Patch Changes - Updated dependencies - @inversifyjs/core@7.2.0 - @inversifyjs/plugin@0.2.0 ## 1.12.5 ### Patch Changes - Updated dependencies - @inversifyjs/core@7.1.1 - @inversifyjs/plugin@0.2.0 ## 1.12.4 ### Patch Changes - Updated dependencies - @inversifyjs/core@7.1.0 - @inversifyjs/plugin@0.2.0 ## 1.12.3 ### Patch Changes - Updated dependencies - @inversifyjs/core@7.0.1 - @inversifyjs/plugin@0.2.0 ## 1.12.2 ### Patch Changes - Updated dependencies - @inversifyjs/core@7.0.0 - @inversifyjs/plugin@0.2.0 ## 1.12.1 ### Patch Changes - Updated dependencies - @inversifyjs/core@6.0.1 - @inversifyjs/plugin@0.2.0 ## 1.12.0 ### Minor Changes - 636f967: Export Bind, IsBound, OnActivation, OnDeactivation, Rebind, RebindSync, Unbind, UnbindSync ### Patch Changes - a08e8b7: Updated `BindOnFluentSyntaxImplementation.onDeactivation` to throw an error on non singleton scoped bindings - 8fedb21: Updated `ServiceResolutionManager` to provide right `getChained` operation after computed properties are reset - Updated dependencies - @inversifyjs/core@6.0.0 - @inversifyjs/reflect-metadata-utils@1.3.0 - @inversifyjs/plugin@0.2.0 ## 1.11.1 ### Patch Changes - 121f363: update `Container.getAll` and `Container.getAllAsync` with `GetAllOptions` param ## 1.11.0 ### Minor Changes - fe4fcc0: Updated `container.getAll` and `container.getAllAsync` with chained option - fe4fcc0: Updated `ResolvedValueMetadataInjectOptions` with `chained` property ### Patch Changes - Updated dependencies - @inversifyjs/core@5.4.0 - @inversifyjs/plugin@0.2.0 ## 1.10.3 ### Patch Changes - Updated dependencies - @inversifyjs/common@1.5.2 - @inversifyjs/core@5.3.3 - @inversifyjs/plugin@0.2.0 ## 1.10.2 ### Patch Changes - babcc5e: Updated `BindToFluentSyntaxImplementation` with better generic constraints - Updated dependencies - @inversifyjs/common@1.5.1 - @inversifyjs/reflect-metadata-utils@1.2.0 - @inversifyjs/core@5.3.2 - @inversifyjs/plugin@0.2.0 ## 1.10.1 ### Patch Changes - Updated dependencies - @inversifyjs/core@5.3.1 - @inversifyjs/plugin@0.2.0 ## 1.10.0 ### Minor Changes - eae6b44: Updated `Container` with `register` ### Patch Changes - Updated dependencies - @inversifyjs/plugin@0.2.0 - @inversifyjs/core@5.3.0 ## 1.9.1 ### Patch Changes - Updated dependencies - @inversifyjs/core@5.2.0 ## 1.9.0 ### Minor Changes - 61e2502: Updated `Container` with `unloadSync` - 0695587: Updated `Container` with `loadSync` ## 1.8.0 ### Minor Changes - dff4be4: Updated `ContainerModuleLoadOptions` with `rebind` - dff4be4: Updated `ContainerModuleLoadOptions` with `rebindSync` ### Patch Changes - 3b11f02: Updated `BindToFluentSyntax.toResolvedValue` with additional type constraints ## 1.7.0 ### Minor Changes - 378b122: Updated `Container` with `rebindSync` - bbdbe53: Updated `Container` with `unbindSync` - 378b122: Updated `Container` with `rebind` - ffe9447: Updated `ContainerModuleLoadOptions` with `unbindSync` ### Patch Changes - ffe9447: Updated `ContainerModuleLoadOptions.unbind` to accept `BindingIdentifier` ## 1.6.0 ### Minor Changes - 5617bce: Updated `BindInFluentSyntax` with `getIdentifier` - 0466884: Updated `Container.unbind` to handle `BindingIdentifier` - 5617bce: Updated `BindOnFluentSyntax` with `getIdentifier` - 5617bce: Updated `BindWhenFluentSyntax` with `getIdentifier` - d9ab759: Added `BindingIdentifier` - 5617bce: Added `BoundServiceSyntax` ### Patch Changes - Updated dependencies - @inversifyjs/core@5.1.0 ## 1.5.4 ### Patch Changes - Updated dependencies - @inversifyjs/core@5.0.0 ## 1.5.3 ### Patch Changes - a77354a: Updated `container.get` like methods to no longer initialize twice singleton scoped bindings - Updated dependencies - @inversifyjs/core@4.0.1 ## 1.5.2 ### Patch Changes - 6c38c39: Updated Container.restore to refresh computed properties ## 1.5.1 ### Patch Changes - fdc4b96: Improved `Container.get` like methods performance - Updated dependencies - @inversifyjs/core@4.0.0 ## 1.5.0 ### Minor Changes - 9ba2c64: Updated `BindToFluentSyntax` with `.toResolvedValue` ### Patch Changes - Updated dependencies - @inversifyjs/core@3.5.0 ## 1.4.2 ### Patch Changes - 1f659f7: Updated `Container` to properly clear planning cache after new bindings are bound ## 1.4.1 ### Patch Changes - Updated dependencies - @inversifyjs/core@3.4.0 ## 1.4.0 ### Minor Changes - 3b47b67: Updated `ContainerOptions` with `autobind` ### Patch Changes - Updated dependencies - @inversifyjs/core@3.3.0 ## 1.3.4 ### Patch Changes - 559efd8: Updated `Container` bind flow to properly bind dynamic values in the right default scope - 7572767: Updated `Container.snapshot` to properly generate clone binding services - Updated dependencies - @inversifyjs/core@3.2.0 ## 1.3.3 ### Patch Changes - 6511d66: Updated `ActivationService` and `DeactivationService` to fix an issue involving a service deactivation edge case - Updated dependencies - @inversifyjs/core@3.1.0 ## 1.3.2 ### Patch Changes - Updated dependencies - @inversifyjs/core@3.0.2 ## 1.3.1 ### Patch Changes - Updated dependencies - @inversifyjs/core@3.0.1 - @inversifyjs/reflect-metadata-utils@1.1.0 ## 1.3.0 ### Minor Changes - 1285db1: Updated `BindWhenFluentSyntax` with `whenNoParentIs` - df484d3: Updated `BindWhenFluentSyntax` with `whenNoAncestorTagged` - 1285db1: Updated `BindWhenFluentSyntax` with `whenNoParent` - 1285db1: Updated `BindWhenFluentSyntax` with `whenNoParentNamed` - df484d3: Updated `BindWhenFluentSyntax` with `whenNoAncestorIs` - 1285db1: Updated `BindWhenFluentSyntax` with `whenNoParentTagged` - df484d3: Updated `BindWhenFluentSyntax` with `whenNoAncestorNamed` - 600a752: Updated `decorate` to allow single decorator - df484d3: Updated `BindWhenFluentSyntax` with `whenNoAncestor` - bbbc83f: Updated `Container` with `isCurrentBound` ### Patch Changes - Updated dependencies - @inversifyjs/core@3.0.0 ## 1.2.0 ### Minor Changes - acfe7ec: Updated `Container` with `unbindAll` - eb3cbd4: Updated `ContainerModule.load` to support sync load functions ### Patch Changes - Updated dependencies - @inversifyjs/core@2.2.0 ## 1.1.1 ### Patch Changes - Updated dependencies - @inversifyjs/core@2.1.0 ## 1.1.0 ### Minor Changes - b974b17: Added `Container`. - b974b17: Added `InversifyContainerError`. - b974b17: Added `ContainerModule`. - b974b17: Added `BindToFluentSyntax`. ### Patch Changes - Updated dependencies - @inversifyjs/core@2.0.0 - @inversifyjs/common@1.5.0 - @inversifyjs/reflect-metadata-utils@1.0.0