Skip to content

Releases: Prozi/inject.min

v1.6.4

21 Jan 02:30
Compare
Choose a tag to compare

fix: broken circleci status badge img in readme

v1.6.3

15 Jan 22:58
Compare
Choose a tag to compare
  • fix: missing dist files

v1.6.2

15 Jan 22:53
Compare
Choose a tag to compare

v1.4.0

15 Jan 20:50
Compare
Choose a tag to compare
  • made readme human-readable
  • made it obvious you dont have to use decorators its an opt-in
  • added jest tests

v1.3.0

14 Nov 20:59
Compare
Choose a tag to compare

added DIContainer.bind api for override feature:

class Original {
  name = 'original';
}

class Override extends Original {
  name = 'override';
}

class TestOverride {
  @Inject(Original) test!: Original;

  constructor() {
    DIContainer.bind(Original, Override);

    console.log(this.test.name);
  }
}

new TestOverride(); // override

v1.2.0

10 Nov 23:59
Compare
Choose a tag to compare

fixed 2 bugs:

  • when importing a class using @Inject decorator the inject was done immediately, now it is lazy loaded on first access
  • when stringify of DIContainer.get class props result was circular it threw error, now it works

v1.0.11

06 Oct 12:17
Compare
Choose a tag to compare

stable, working, tested, v1