All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.0.8 (2021-11-10)
Note: Version bump only for package @thi.ng/defmulti
2.0.7 (2021-11-03)
Note: Version bump only for package @thi.ng/defmulti
2.0.0 (2021-10-12)
- defmulti: add DEFAULT handling for .addAll() (40ba6f9)
- major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
- discontinue CommonJS & UMD versions
- only ESM modules will be published from now on
- CJS obsolete due to ESM support in recent versions of node:
- i.e. launch NodeJS via:
node --experimental-specifier-resolution=node --experimental-repl-await
- in the node REPL use
await import(...)
instead ofrequire()
- UMD obsolete due to widespread browser support for ESM
Also:
- normalize/restructure/reorg all package.json files
- cleanup all build scripts, remove obsolete
- switch from mocha to @thi.ng/testament for all tests
1.3.6 (2021-03-03)
- defmulti: add missing type anno (TS4.2) (bc74d21)
1.3.0 (2020-11-24)
- defmulti: add .dependencies(), add tests (d15a159)
1.2.0 (2019-11-09)
- defmulti: allow .add() to overwrite existing impl, add logger (e387622)
1.1.0 (2019-07-07)
- defmulti: enable TS strict compiler flags (refactor) (d51ecf9)
1.0.0 (2019-01-21)
- update package build scripts & outputs, imports in ~50 packages (b54b703)
- defmulti: add callable() & implementations(), update readme (fde2db2)
- defmulti: add relations() (4066c80)
- defmulti: add versions w/ 1 optional typed arg, add .impls() (125c784)
- enabled multi-outputs (ES6 modules, CJS, UMD)
- build scripts now first build ES6 modules in package root, then call
scripts/bundle-module
to build minified CJS & UMD bundles in/lib
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
0.7.0 (2019-01-02)
- defmulti: add opt fallback arg for defmultiN(), update docs (1d29153)
0.6.0 (2019-01-01)
- defmulti: add addAll(), add/update doc strings (488698a)
0.5.0 (2018-10-24)
- defmulti: add support for dispatch value relationships / hierarchy (a8c3898)
0.4.0 (2018-10-17)
- defmulti: add varargs support (6094738)
0.3.0 (2018-05-11)
- defmulti: add generics, update docs & readme (eeed25e)
0.2.0 (2018-05-10)
- defmulti: add defmultiN(), update readme, add tests (126ecf3)