All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
6.0.3 (2021-10-15)
Note: Version bump only for package @thi.ng/iterators
6.0.2 (2021-10-15)
Note: Version bump only for package @thi.ng/iterators
6.0.1 (2021-10-13)
Note: Version bump only for package @thi.ng/iterators
6.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
5.1.0 (2019-07-07)
- iterators: update concat/mapcat, fnil args (c51ff98)
- iterators: enable TS strict compiler flags (refactor) (24fd9e7)
- iterators: TS strictNullChecks (9f9be1d)
5.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.
4.2.0 (2018-12-20)
- iterators: add
children
arg for walk()/walkIterator() (61b7b11)
4.1.0 (2018-03-21)
4.0.0 (2018-01-29)
- iterators: remove default exports (651d07c)
- iterators: switch back to named function exports for project consistency and following lead from tslint (https://palantir.github.io/tslint/rules/no-default-export/)
- Add
groupBy()
- Add optional key fn for
frequencies()
- Update package structure (build commands & target dirs)
- Update readme
- Package name change
thing-iterators
=>@thi.ng/iterators
- Add
fork()
- Breaking change
cached()
API (now same asfork()
)
- All functions are defined as sub-modules and exposed as default exports. This is an additional feature. The full library can still be imported as before.
- Function sub-modules use Kebab case whereas function names are in Camel case.