Releases: KeithWoods/microdi-js
Releases · KeithWoods/microdi-js
Release list
1.1.0
Adds container.registerFactory. Thanks to @xantorres for the PR 👍
1.0.1
1.0.0
Items covered in 1.0.0:
- Closes #14 - should throw if you register a null or undefined instance via
container.registerInstance() - Closes #13 - Allow groups to be injected as an array to resolved objects
- Closes #5 - have a special key when injecting the container itself
- Additional error checking on public api calls.
- Version bumped to 1.0.0, the container has had a lot of usage now and is stable.
- ReadMe updated with new features.
0.1.5
0.1.3
Adds container.isRegistered(name) to check if an item is registered in the container.
0.1.2
0.1.1
Updated top level export so all types are exported using various formats
We now export both a default object and individual items, this allows for differing import usages:
1 import the entire namespace:
import microdi from 'microdi-js';
let container = new microdi.Container();
2 import the entire namespace using *
import * as microdi from from 'microdi-js';
let container = new microdi.Container()
3 import single items
import { Container } from 'microdi-js';
let container = new Container()
0.1.0
- Added TypeScript mappings
- Updated to babel 6
- Removed grunt
- Moved examples out of src
- Examples are now standalone (have own package.json)
- Updated travis settings to new build setup