Skip to content

Releases: inversify/InversifyJS

4.4.0

31 Oct 01:12
6da5399
Compare
Choose a tag to compare
  • Improved docs
  • Upgraded dependencies
  • New container option autoBindInjectable #651

4.3.0

24 Jul 11:36
Compare
Choose a tag to compare

Commits

@remojansen Create CODE_OF_CONDUCT.md (#594) c756c7f
@AltekkeE Travis tests are failing due to latest update to tslint #602 (#603) 1bdb3ac
@theodesp Issue-605 Documented @PostConstruct Decorator (#608) 7c9e83c
@sanex3339 Fixes issue #615 (#616) 11109c5
@theodesp Issue-612 Fixed typos all over the codebase. Tests still pass. (#613) c944009
@tiagoschenkel isBound, isBoundNamed and isBoundTagged methods are checking ancestors 3a712d7

4.2.0

02 Jul 21:36
Compare
Choose a tag to compare

Commits

@remojansen Fixing build (#578) 14f36fe
@remojansen Update README.md 75dd911
@Greenkeeper update del to version 3.0.0 (#580) fa442ff
@AltekkeE Added @PostConstruct method decorator (#588) c822d75
@AltekkeE VS Code mocha debugging (#589) dff05d4
@Greenkeeper Update run-sequence to version 2.0.0 (#591) b4d66aa
@remojansen Update dependencies (#592) 67f2a39

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