Skip to content

Latest commit

 

History

History
102 lines (55 loc) · 3.9 KB

CHANGELOG.md

File metadata and controls

102 lines (55 loc) · 3.9 KB

Change Log

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)

Build System

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

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

3.0.0 (2021-02-20)

Code Refactoring

  • intervals: restructure for functional API (e05d723)

BREAKING CHANGES

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

Features

  • intervals: add min/max/clamp() impls (2747f9c)

2.0.0 (2019-11-30)

Bug Fixes

  • intervals: add union/intersection tests (d301628)
  • intervals: update compare() to consider openness, add tests (995b32a)

Features

  • intervals: fix #171, various fixes, additions, add tests (2d13c71)

BREAKING CHANGES

  • intervals: inverted meaning of isBefore/isAfter() to be more understandable

1.0.0 (2019-01-21)

Build System

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

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.2.0 (2018-12-19)

Features

  • intervals: add Interval.parse(), update docs, readme, deps (a78c6a7)

0.1.0 (2018-12-18)

Features

  • intervals: add new package (b0a3142)