All notable changes to didi are documented here. We use semantic versioning for releases.
Note: Yet to be released changes appear here.
Reverts v10.2.1
.
FIX
: restoremain
entry (#36)
FIX
: remove brokenmain
entry
FEAT
: add ability provide wellknown services (#33)
FEAT
: addexports
fieldCHORE
: internal typing improvements
FIX
: relaxInjector#get
type definitions
FEAT
: turn into moduleCHORE
: requireNode >= 16
DOCS
: significantly improve typescript documentation
FIX
: correctInjector#instantiate
type definitions
FIX
: correctInjector#invoke
type definitions (#20)
Migrates the code base to ES2018.
FIX
: do not alter input inannotate
CHORE
: migrate codebase to ES2018CHORE
: dropUMD
prebuilt distribution
FIX
: correct dependency detection for annonymous classes (#17)
CHORE
: simplify initialization logicFIX
: drop usage ofAggregateError
due to poor inspection support
FEAT
: separate bootstrapping and initialization
- Injector must be manually initialized via
Injector#init()
FIX
: make coreES5
, again
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
: removeModule
from public APICHORE
: dropNode@10
support
- Removed
Module
export. Use documentedModuleDeclaration
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)
FEAT
: move to pre-built type definitions
FEAT
: add type definitions
FIX
: detect arguments in (async) closures, too
CHORE
: exposeparseAnnotations
DOCS
: improve
FIX
: remove async injector from main bundle, will be released seperately
FEAT
: add async injector 🎉CHORE
: no-babel buildCHORE
: minify usingterser
FIX
: remove browser field again; it confuses modern module bundlers. This partially revertsv3.1.0
CHORE
: mark library as side-effect free viasideEffects: false
CHORE
: addbrowser
field
CHORE
: don't exposelib
folder; library consumers should use API exposed via bundled artifacts
FEAT
: allow local overrides onInjector#invoke
CHORE
: babelify all produced bundles
FIX
: make injection work on constructor less ES2015class
FEAT
: support ES2015class
as injection targets, tooFEAT
: always instantiatetype
usingnew
CHORE
: bundlees
,cjs
andumd
distributions via rollup
FIX
: properly include resources in bundle
FEAT
: port to ES2015
Check git log
for earlier history.