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/associative
6.0.2 (2021-10-15)
Note: Version bump only for package @thi.ng/associative
6.0.1 (2021-10-13)
Note: Version bump only for package @thi.ng/associative
6.0.0 (2021-10-12)
- associative: update merge/meld fns (25cdc0a)
- major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
- associative: add sortedObject() (51ba06a)
- 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.2.0 (2021-03-30)
- associative: add renameTransformedKeys() (3190537)
- associative: add selectDefinedKeys*() fns (e0977db)
5.1.0 (2021-02-20)
- associative: update meldApplyObj/meldObjWith() (97dda16)
5.0.0 (2020-07-25)
- associative: add TrieMap, rename MultiTrie (cc2d139)
- associative: update MultiTrie.suffixes() (ec110ae)
- associative: rename Trie => MultiTrie
4.5.0 (2020-07-17)
- associative: add Trie.knownPrefix() (26ddd2c)
4.4.1 (2020-07-08)
- associative: set combinator arg types (1cbbf27)
4.4.0 (2020-07-08)
- associative: disallow
__proto__
in merge fns (d637996)
4.3.0 (2020-07-04)
- associative: add mutable merge fns (ec6abe4)
4.2.0 (2020-06-20)
- associative: add null checks for merge* fns (7baa3ba)
- associative: update Trie to allow custom value sets (777829c)
4.1.0 (2020-06-14)
- associative: add Trie and tests (84b6517)
4.0.0 (2020-03-28)
- associative: #210, add
defXXX
factory fns (48ae24a) - associative: re-add support for nodejs REPL inspection (49024f7), closes nodejs/node#32529
- associative: remove static
fromObject()
map factories- merged with defHashMap(), defSortedMap()
3.1.0 (2019-11-09)
- associative: fix off-by-one error in sparseSet() factory, add tests (94ff308)
- associative: add reducer versions of difference, intersection, union (058b9d3)
3.0.0 (2019-08-21)
- associative: update XXXMap.dissoc() signature to unify API (632c57a)
- associative: dissoc() method signature changed from varargs to
Iterable<K>
Example:
- previously:
HashMap.dissoc(1, 2, 3)
- now:
HashMap.dissoc([1, 2, 3])
This new signature is the same as used by dissoc()
standalone fn and the disj()
methods of the various Sets in this package.
2.4.0 (2019-07-07)
- associative: update generics (TS3.5.2) (75a4f72)
- associative: update SortedMap.fromObject() - PropertyKey => string (48688da)
- associative: enable TS strict compiler flags (refactor) (7931e14)
2.3.0 (2019-05-22)
2.2.0 (2019-04-09)
- associative: add withoutKeys*(), ensureSet/Map fns (5173fda)
2.1.2 (2019-04-06)
- associative: fix mergeApplyMap, update other merge fns, add tests (a0f3941)
2.1.0 (2019-04-02)
- associative: add HashMap w/ linear probing, update deps (e3b84ab)
2.0.1 (2019-04-02)
- associative: add missing return type decls (1913bb4)
2.0.0 (2019-03-28)
- associative: fix/update invertMap() / invertObj() (b57a1c0)
- associative: update set combinator ops (9e78d20)
- associative: add polymorphic into() (4577646)
- associative: make .forEach() args readonly, add Symbol.toStringTag (3749d41)
- associative: update SortedSet, IEquivSet, add tests (e8234e8)
- associative: update type sigs & args for various fns (7bf2504)
- associative: improved/stricter type sigs & args for various fns
- commonKeys*()
- indexed()
- join() / joinWith()
- renameKeys*()
- selectKeys*()
- first()
- associative: changed result type handling in invertMap(), see docstring
- associative: make
difference
,intersection
,union
immutable ops
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.6.0 (2018-08-24)
- associative: add IReducible impls for SortedMap & SortedSet (f14f7ce)
0.5.9 (2018-07-03)
- associative: minor SortedSet fixes (33f0d19)
0.5.0 (2018-05-09)
- associative: add mapKeysObj() / mapKeysMap() (a9574a0)
- associative: add new functions, update arg & return types (5991be6)
0.4.2 (2018-04-20)
- associative: allow partial options arg for EquivMap ctor (bb11ddf)
0.4.0 (2018-04-13)
- associative: add renameKeysMap (bfabe80)
- associative: update equiv() impls (d1178ac)