Releases: inversify/InversifyJS
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
3.0.0-rc.4
3.0.0-rc.3 went wrong.
3.0.0-rc.3
- Fixes
TypeError: Cannot assign to read only property 'x' of #
errors. - Adds support for
isBound
andunbind
in container modules. - Updated all dependencies.
3.0.0-rc.2
Fixes #442