Releases: inversify/InversifyJS
4.4.0
4.3.0
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
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
@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
Commits
@remojansen Export MetadataReader (#544) 67f17b1
4.0.0
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
3.2.0
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
- Added support for
container.rebind
3.0.0
Breaking changes
- The
Kernel
class is now namedContainer
. - The
Kernel
methodgetServiceIdentifierAsString
is not a method ofContainer
you can import it from imversify directly. - The 2.x
PlanAndResolveArgs
interface is nowNextArgs
. - 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
andunbind
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
- Performance has been improved
- Major internal refactor
- Enabled
--strictNullChecks
&--noUnusedLocals
Bug Fixes
- Container.getAll does not return named bindings #405