All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
4.0.7 (2021-11-03)
Note: Version bump only for package @thi.ng/intervals
4.0.0 (2021-10-12)
- 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
3.0.0 (2021-02-20)
- intervals: restructure for functional API (e05d723)
- intervals: the API has been updated to be largely functional
- replace all static and most instance methods w/ standalone functions
- only class methods remaining are to implement these standard interfaces:
ICompare
,IContains
,ICopy
,IEquiv
- add samples() iterator
- update/replace values() iterator
- add doc strings
- add/update tests
2.1.0 (2020-11-24)
- intervals: add min/max/clamp() impls (2747f9c)
2.0.0 (2019-11-30)
- intervals: add union/intersection tests (d301628)
- intervals: update compare() to consider openness, add tests (995b32a)
- intervals: inverted meaning of isBefore/isAfter() to be more understandable
1.0.0 (2019-01-21)
- update package build scripts & outputs, imports in ~50 packages (b54b703)
- 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.2.0 (2018-12-19)
- intervals: add Interval.parse(), update docs, readme, deps (a78c6a7)
- intervals: add new package (b0a3142)