All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
4.0.7 (2021-03-12)
Note: Version bump only for package @thi.ng/diff
4.0.0 (2020-12-22)
- diff: replace DiffMode enum w/ type alias
- rename DiffMode.ONLY_DISTANCE_LINEAR_ONLY_CHANGES => "minimal"
- update diffObject() mode arg to only allow: "full" or "only-distance"
3.2.20 (2020-05-05)
- diff: diffArray() main loop, add clearCache() (fa2f692)
3.2.0 (2019-07-07)
- diff: enable TS strict compiler flags (refactor) (5a7d90b)
3.1.0 (2019-04-11)
- diff: add DiffMode.ONLY_DISTANCE_LINEAR_ONLY_CHANGES, add tests (9a2087d)
3.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.
2.0.1 (2018-12-09)
- diff: further array caching/reuse (19b0a55)
2.0.0 (2018-12-08)
- diff: flatten linear edit logs, update readme & arg order (64feacf)
- diff: add fast paths for simple cases, add tests, refactor as arrow fns (6c6da82)
- diff: flatten linear edit logs, rewrite diffObject(), add DiffMode (e8356cd)
- diff: reduce amount of temp/internal array allocs (diffArray) (d1ee6d9)
- diff:
ArrayDiff.linear
&ObjectDiff.edits
now flat arrays
- see commit e8356cd296c12462ad9b126f966b55545b6ef70d
- this change drastically reduces the number of array allocations
- each ArrayDiff.linear entry consists of 3 successive items
- each ObjectDiff.edits entry constist of 2 successive items
- add
DiffMode
enum to control level of detail & internal fast paths - update
ArrayDiff
&ObjectDiff
types - remove obsolete
DiffLogEntry
- replace
diffObject
with 2.5x faster version
1.0.10 (2018-04-30)
- diff: add option to only build linear edit log (431527a)
1.0.0 (2018-02-27)
- diff: update diffArray, generic types (6e0dfa1)
- diff: update DiffLogEntry structure
0.1.1 (2018-02-02)
- diff: add fail fasts (448e839)
- diff: re-import diff package (MBP2010) (4d0d437)