Skip to content

Releases: wessberg/DI

v3.0.2

18 Oct 09:12
Compare
Choose a tag to compare
  • fix: allow nullable service registrations of sub-dependencies 93a8b8e

v3.0.1...v3.0.2

v3.0.1

18 Oct 09:07
Compare
Choose a tag to compare
  • fix: allow nullable service registrations 0383035

v3.0.0...v3.0.1

v3.0.0

18 Oct 08:49
Compare
Choose a tag to compare

BREAKING CHANGES

  • DI is now built for modern JavaScript runtimes that support features like private class instance fields, private class instance methods, and Symbol.toStringTag. This also bumps the engine requirement from Node v9 to Node v12, which is still a very widely supported Node runtime.

Major Changes

  • Exceptions thrown during the construction of service implementations that are unrelated to dependency injection are no longer "swallowed", and will be thrown correctly. Closes #5

Other Changes

  • Migrate to TypeScript 5.6. Don't swallow errors thrown during class instance construction. Refactoring. Use modern EcmaScript 2830e9d

v2.1.0...v3.0.0

v2.1.0

07 Apr 14:40
Compare
Choose a tag to compare
  • feat: update development dependencies.
  • feat: Update documentation.
  • feat: Produce cleaner output.
  • feat: More informative error descriptions 7b19929

c1cf5b9...v2.1.0