Skip to content

Latest commit

 

History

History
144 lines (72 loc) · 6.66 KB

CHANGELOG.md

File metadata and controls

144 lines (72 loc) · 6.66 KB

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

2.1.0 (2024-01-22)

Features

  • add event emitter (6bb85ec)
  • hooks support priority option (5f13619)
  • make dispose support disposing instance of useFactory (#116) (4a9e4a3)

Bug Fixes

  • add missing dist artifacts (bd6bbc9)
  • factory instances should save proxied (dad48a8)
  • factory support multiple value (edaa25e)
  • instance should be disposed (5f09c6a)
  • typo in README-zh_CN (#120) (f41d956)
  • we should listen on instance disposed (362196f)

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 (5f13619)
  • make dispose support disposing instance of useFactory (#116) (4a9e4a3)
  • hasInstance support to check useFactory.

Bug Fixes

  • factory instances should save proxied (dad48a8)
  • instance should be disposed (5f09c6a)
  • we should listen on instance disposed (362196f)

1.10.1 (2023-12-12)

Bug Fixes

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

1.10.0 (2023-11-09)

Features

Bug Fixes

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

1.9.0 (2023-10-13)

Features

Bug Fixes

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

1.8.1 (2023-09-26)

Bug Fixes

1.8.0 (2022-08-10)

Features

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

1.7.0 (2022-07-17)

Features

  • support nested useAlias (7201cc7)

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)

1.5.0 (2022-06-20)

Features

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

1.4.0 (2022-06-09)

1.4.0-beta.2 (2022-05-30)

1.4.0-beta.1 (2022-05-30)

Features

1.4.0-beta.0 (2022-05-24)

Features

1.3.1 (2022-05-06)

1.3.0 (2022-05-05)

Features

  • support create multiple case by token (#13) (b0217db)

1.1.0 (2021-12-14)

Features