Skip to content

Releases: inversify/InversifyJS

4.1.1

30 May 07:48
Compare
Choose a tag to compare

@Greenkeeper update gulp-mocha to version 4.3.1 (#547) … f888d44
@remojansen remojansen Implements #546 081929d
@remojansen remojansen Update readme.md 24b2882
@remojansen remojansen Update injecting_npm_modules.md 6068dc4
@remojansen remojansen Update injecting_npm_modules.md 86e41d7
@Greenkeeper update gulp-uglify to version 3.0.0 (#555) 8f337a4
@remojansen remojansen Fixes issue #559

4.1.0

25 Apr 20:30
Compare
Choose a tag to compare

Commits

@remojansen Export MetadataReader (#544) 67f17b1

4.0.0

24 Apr 08:15
Compare
Choose a tag to compare

Breaking changes

There is a breaking change in this release. The change is likely to affect a very small group of users but it is a breaking change which explains why this release is 4.0.0.

The breaking change is caused by a fix in a typo in a public API:

The public method getConstrucotorMetadata is now getConstructorMetadata:

interface MetadataReader {
     getConstrucotorMetadata(constructorFunc: Function): ConstructorMetadata;
     getPropertiesMetadata(constructorFunc: Function): MetadataMap;
}

Is now:

interface MetadataReader {
     getConstructorMetadata(constructorFunc: Function): ConstructorMetadata;
     getPropertiesMetadata(constructorFunc: Function): MetadataMap;
}

Commits

@Greenkeeper update tslint to version 5.0.0 (#519) … 0c14e57
@Greenkeeper update @types/sinon to version 2.1.0 (#518) … 17e4541
@remojansen remojansen Add some test cases & solve coverage issues (#538) … 7a6a60e
@remojansen remojansen Fixes typo in public API #536 (#539) 93f83c2
@Greenkeeper Update gulp-tslint to the latest version 🚀 (#529) … 52596e0
@remojansen remojansen Added test case for #528 (#540) … 3553c79

3.3.0

22 Mar 22:45
Compare
Choose a tag to compare

This release adds support for #505 ad solves #497

Commits

@remojansen Implements #505 (#512) be1c2fc
@remojansen Implements #497 (#513) 95c8f3a

3.2.0

21 Mar 21:23
Compare
Choose a tag to compare

The main addition of this release is a feature that allows library and framework authors to customize the annotation phase.

Commits

@remojansen Refactoring binding (#491) … 0ee96ad
@Greenkeeper Update gulp-mocha to version 4.0.0 (#494) … 83491d0
@remojansen Bug fix 496 (#502) … a92d13f
@Dirrk Update bluebird to 3.5.0 (#503) f5354a9
@Dirrk Updated sinon to 2.0.0 (#511) 96230ab
@remojansen Support for metadata middleware (#507) … d60a053

3.1.0

07 Feb 22:33
Compare
Choose a tag to compare

3.0.0

11 Jan 19:41
Compare
Choose a tag to compare

⚠️ This release is production ready but the update of all the side projects is work in progress ⚠️

Breaking changes

  • The Kernel class is now named Container.
  • The Kernel method getServiceIdentifierAsString is not a method of Container you can import it from imversify directly.
  • The 2.x PlanAndResolveArgs interface is now NextArgs.
  • The PlanAndResolveArgs signature has been changed.
  • The resolution logic in 2.0 and 3.0 is slightly different in order to support new features (e.g. @optional ) and defaults contextual injections. Some contextual constraints may be affected as a result of this change.

New features

  • Added support for isBound and unbind in container modules.
  • Added AMD bundle to the NPM package
  • New container method: getAllNamed
  • New container method: getAllTagged
  • New container method: merge
  • New container method: createChild
  • New container method: isBoundNamed
  • New container method: isBoundTagged
  • Added support for whenTargetIsDefault
  • Added support for@optional dependencies
  • Added support for global container options new Container({ /* options */ })
  • Allow to use symbols or numbers as values with @named and @tagged
  • New Provider features

Non-functional improvements

Bug Fixes

  • Container.getAll does not return named bindings #405

3.0.0-rc.4

31 Dec 01:04
Compare
Choose a tag to compare
3.0.0-rc.4 Pre-release
Pre-release

3.0.0-rc.3 went wrong.

3.0.0-rc.3

31 Dec 01:00
Compare
Choose a tag to compare
3.0.0-rc.3 Pre-release
Pre-release
  • Fixes TypeError: Cannot assign to read only property 'x' of # errors.
  • Adds support for isBound and unbind in container modules.
  • Updated all dependencies.

3.0.0-rc.2

10 Dec 02:55
Compare
Choose a tag to compare
3.0.0-rc.2 Pre-release
Pre-release

Fixes #442