- Last updated: 2024-07-06T12:02:18Z
- Generator: thi.ng/monopub
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.
3.0.40 (2024-06-21)
- enforce uniform naming convention of internal functions (56992b2)
3.0.37 (2024-04-20)
- update type usage (595da92)
3.0.23 (2024-02-16)
- update LOGGER handling (46bc987)
3.0.0 (2023-09-15)
- update .impls() (db48f57)
- BREAKING CHANGE: update .impls() to return a Map of dispatch values and
their implementations
- update tests
2.1.39 (2023-08-04)
- update
identity
usage in various pkgs (b6db053)
2.1.0 (2021-11-17)
- Using workspaces for local tools (bf7a404)
Improving the overall build ergonomics
- introduced a tools workspaces
- imported it in all needed packages/examples
- inclusive project root
- testrunner to binary (4ebbbb2) this commit reverts (partly) changes made in: ef346d7a8753590dc9094108a3d861a8dbd5dd2c overall purpose is better testament ergonomics: instead of having to pass NODE_OPTIONS with every invocation having a binary to handle this for us.
2.0.1 (2021-10-13)
- update imports in all pkgs (5fa2b6f)
- add .js suffix for all relative imports
- update imports in all tests/pkgs (effd591)
2.0.0 (2021-10-12)
- major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
- BREAKING CHANGE: 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
- add .setDefault(), pkg restructure (0a8641a)
- dissolve constants.ts:
- move logging to logger.ts
- move
DEFAULT
symbol to defmulti.ts
- update deps
- dissolve constants.ts:
- update defmulti args (a10d36f)
- add additional opt arg to allow specifying/adding impls, same effect as
.addAll()
- update AncestorDefs and
makeRels()
helper - update tests
- add additional opt arg to allow specifying/adding impls, same effect as
- add DEFAULT handling for .addAll() (40ba6f9)
- update all tests in all pkgs (8b582bc)
- update all to use @thi.ng/testament
- update imports (76940d3)
1.3.6 (2021-03-03)
- add missing type anno (TS4.2) (bc74d21)
1.3.2 (2020-12-07)
- update type-only imports in various tests/pkgs (3fd9c24)
1.3.0 (2020-11-24)
- add .dependencies(), add tests (d15a159)
1.2.25 (2020-09-13)
- update imports, use new Fn types in various pkgs (ced1e5d)
1.2.4 (2020-02-25)
- update imports (9998000)
1.2.0 (2019-11-09)
- allow .add() to overwrite existing impl, add logger (e387622)
- update .add() to log warning msg when overwriting existing impl
- add LOGGER, setLogger()
- update tests / readme
1.1.3 (2019-08-21)
- split into separate files (dae6009)
1.1.0 (2019-07-07)
- enable TS strict compiler flags (refactor) (d51ecf9)
1.0.4 (2019-03-10)
- re-use Fn type aliases (a9b1667)
1.0.0 (2019-01-21)
- update package build scripts & outputs, imports in ~50 packages (b54b703)
- BREAKING CHANGE: 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.
- build scripts now first build ES6 modules in package root, then call
- update imports, fix tests (cherry picked from cdd8659a) (e04eb29)
- update imports, fix tests (cdd8659)
- remove optional excess args from type sigs (5270143)
0.7.0 (2019-01-02)
- add opt fallback arg for defmultiN(), update docs (1d29153)
0.6.0 (2019-01-01)
- add addAll(), add/update doc strings (488698a)
0.5.0 (2018-10-24)
- add support for dispatch value relationships / hierarchy (a8c3898)
0.4.0 (2018-10-17)
- add varargs support (6094738)
0.3.7 (2018-08-01)
- TS3.0 PropertyKey handling (30d65d4)
0.3.0 (2018-05-11)
- add generics, update docs & readme (eeed25e)
0.2.0 (2018-05-10)
- add defmultiN(), update readme, add tests (126ecf3)
0.1.0 (2018-05-10)
- add @thi.ng/defmulti package (edc66bf)