Skip to content

Releases: opensumi/di

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 22 Jan 05:54

2.1.0 (2024-01-22)

Bug Fixes

  • add missing dist artifacts (bd6bbc9)

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 19 Jan 07:25

2.0.0 (2024-01-19)

Breaking Changes

  • We remove the direct import of reflect-metadata, you need import it by your self.
  • Remove __id and __injectorId from the instantiated instance.

Features

  • hooks support priority option
  • make dispose support disposing instance of useFactory
  • hasInstance support to check useFactory

v1.10.1

Choose a tag to compare

@github-actions github-actions released this 12 Dec 13:16

1.10.1 (2023-12-12)

Bug Fixes

  • hooked class will be instantiate multiple times (#119) (924bef9)

v1.10.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 04:18

1.10.0 (2023-11-09)

Features

Bug Fixes

  • avoid instance id conflict when have multi injector (#114) (ca3da8c)

v1.9.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 03:55

1.9.0 (2023-10-13)

Features

Bug Fixes

  • dispose should also delete its all instance cache (#110) (cec693b)

v1.8.1

Choose a tag to compare

@github-actions github-actions released this 26 Sep 07:22

1.8.1 (2023-09-26)

Bug Fixes

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 10 Aug 08:00

1.8.0 (2022-08-10)

Features

  • support detect useAlias registration cycle (#46) (7b00e61)

What's Changed

  • feat: support detect useAlias registration cycle by @bytemain in #46
  • chore: update @Inject and @Optional typings by @erha19 in #52

Full Changelog: v1.7.0...v1.8.0

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 17 Jul 06:30

1.7.0 (2022-07-17)

Features

  • support nested useAlias (7201cc7)

Full Changelog: v1.6.0...v1.7.0

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 15 Jul 09:41

1.6.0 (2022-07-15)

1.6.0-beta.0 (2022-07-15)

Features

  • annotate the return type of getFromDomain (#41) (8ed2853)
  • support detecting circular dependencies (#38) (a44ec02)

v1.5.0

Choose a tag to compare

@bytemain bytemain released this 20 Jun 08:00

1.5.0 (2022-06-20)

Features

  • create child by this.constructor (#18) (11aab50)