Skip to content

Releases: KeithWoods/microdi-js

1.1.0

Choose a tag to compare

@KeithWoods KeithWoods released this 01 Feb 15:38

Adds container.registerFactory. Thanks to @xantorres for the PR 👍

1.0.1

Choose a tag to compare

@KeithWoods KeithWoods released this 10 Jan 15:38
  • Minor minor Typescript .d.ts change

1.0.0

Choose a tag to compare

@KeithWoods KeithWoods released this 09 Jan 16:52

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

Choose a tag to compare

@KeithWoods KeithWoods released this 14 May 19:13

typescript def updates as per #11

0.1.3

Choose a tag to compare

@KeithWoods KeithWoods released this 27 Apr 14:45

Adds container.isRegistered(name) to check if an item is registered in the container.

0.1.2

Choose a tag to compare

@KeithWoods KeithWoods released this 22 Apr 15:11

Updated build badge in readme

0.1.1

Choose a tag to compare

@KeithWoods KeithWoods released this 22 Apr 14:55

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

Choose a tag to compare

@KeithWoods KeithWoods released this 21 Apr 16:43
  • 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