Skip to content

Latest commit

 

History

History
144 lines (71 loc) · 5.52 KB

CHANGELOG.md

File metadata and controls

144 lines (71 loc) · 5.52 KB

Change Log

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)

Bug Fixes

  • defmulti: add DEFAULT handling for .addAll() (40ba6f9)

Build System

  • major update of ALL pkgs (export maps, ESM only) (0d1d6ea)

Features

  • defmulti: add .setDefault(), pkg restructure (0a8641a)
  • defmulti: update defmulti args (a10d36f)

BREAKING CHANGES

  • 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 of require()
  • 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)

Bug Fixes

  • defmulti: add missing type anno (TS4.2) (bc74d21)

1.3.0 (2020-11-24)

Features

  • defmulti: add .dependencies(), add tests (d15a159)

1.2.0 (2019-11-09)

Features

  • defmulti: allow .add() to overwrite existing impl, add logger (e387622)

1.1.0 (2019-07-07)

Features

  • defmulti: enable TS strict compiler flags (refactor) (d51ecf9)

1.0.0 (2019-01-21)

Build System

  • update package build scripts & outputs, imports in ~50 packages (b54b703)

Features

  • defmulti: add callable() & implementations(), update readme (fde2db2)
  • defmulti: add relations() (4066c80)
  • defmulti: add versions w/ 1 optional typed arg, add .impls() (125c784)

BREAKING CHANGES

  • 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)

Features

  • defmulti: add opt fallback arg for defmultiN(), update docs (1d29153)

0.6.0 (2019-01-01)

Features

  • defmulti: add addAll(), add/update doc strings (488698a)

0.5.0 (2018-10-24)

Features

  • defmulti: add support for dispatch value relationships / hierarchy (a8c3898)

0.4.0 (2018-10-17)

Features

  • defmulti: add varargs support (6094738)

0.3.0 (2018-05-11)

Features

  • defmulti: add generics, update docs & readme (eeed25e)

0.2.0 (2018-05-10)

Features

  • defmulti: add defmultiN(), update readme, add tests (126ecf3)

0.1.0 (2018-05-10)

Features