Skip to content

Latest commit

 

History

History
164 lines (91 loc) · 3.61 KB

CHANGELOG.md

File metadata and controls

164 lines (91 loc) · 3.61 KB

Changelog

All notable changes to didi are documented here. We use semantic versioning for releases.

Unreleased

Note: Yet to be released changes appear here.

10.2.2

Reverts v10.2.1.

  • FIX: restore main entry (#36)

10.2.1

  • FIX: remove broken main entry

10.2.0

  • FEAT: add ability provide wellknown services (#33)

10.1.0

  • FEAT: add exports field
  • CHORE: internal typing improvements

10.0.1

  • FIX: relax Injector#get type definitions

10.0.0

  • FEAT: turn into module
  • CHORE: require Node >= 16
  • DOCS: significantly improve typescript documentation

9.0.2

  • FIX: correct Injector#instantiate type definitions

9.0.1

  • FIX: correct Injector#invoke type definitions (#20)

9.0.0

Migrates the code base to ES2018.

  • FIX: do not alter input in annotate
  • CHORE: migrate codebase to ES2018
  • CHORE: drop UMD prebuilt distribution

8.0.2

  • FIX: correct dependency detection for annonymous classes (#17)

8.0.1

  • CHORE: simplify initialization logic
  • FIX: drop usage of AggregateError due to poor inspection support

8.0.0

  • FEAT: separate bootstrapping and initialization

Breaking Changes

  • Injector must be manually initialized via Injector#init()

7.0.1

  • FIX: make core ES5, again

7.0.0

  • FEAT: add support for module dependencies and intialization (#13)
  • FEAT: retain stack traces when throwing errors (999b821b)
  • FIX: parse single arg lambda shorthand (d53f6310)
  • CHORE: remove Module from public API
  • CHORE: drop Node@10 support

Breaking Changes

  • Removed Module export. Use documented ModuleDeclaration to define a didi module
  • Improved ModuleDeclaration typings to clearly reflect API used
  • __init__ and __depends__ are now part of the built-in module exports accounted for (#13)

6.1.0

  • FEAT: move to pre-built type definitions

6.0.0

  • FEAT: add type definitions

5.2.1

  • FIX: detect arguments in (async) closures, too

5.2.0

  • CHORE: expose parseAnnotations

5.1.0

  • DOCS: improve

5.0.1

  • FIX: remove async injector from main bundle, will be released seperately

5.0.0

  • FEAT: add async injector 🎉
  • CHORE: no-babel build
  • CHORE: minify using terser

4.0.0

Breaking Changes

  • FIX: remove browser field again; it confuses modern module bundlers. This partially reverts v3.1.0

3.2.0

  • CHORE: mark library as side-effect free via sideEffects: false

3.1.0

  • CHORE: add browser field

3.0.0

Breaking Changes

  • CHORE: don't expose lib folder; library consumers should use API exposed via bundled artifacts

Other Improvements

  • FEAT: allow local overrides on Injector#invoke
  • CHORE: babelify all produced bundles

2.0.1

  • FIX: make injection work on constructor less ES2015 class

2.0.0

  • FEAT: support ES2015 class as injection targets, too
  • FEAT: always instantiate type using new
  • CHORE: bundle es, cjs and umd distributions via rollup

1.0.1 - 1.0.3

  • FIX: properly include resources in bundle

1.0.0

  • FEAT: port to ES2015

...

Check git log for earlier history.