Skip to content

Latest commit

 

History

History
136 lines (70 loc) · 4.68 KB

CHANGELOG.md

File metadata and controls

136 lines (70 loc) · 4.68 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-03-12)

Note: Version bump only for package @thi.ng/diff

4.0.0 (2020-12-22)

Code Refactoring

BREAKING CHANGES

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

Performance Improvements

  • diff: diffArray() main loop, add clearCache() (fa2f692)

3.2.0 (2019-07-07)

Features

  • diff: enable TS strict compiler flags (refactor) (5a7d90b)

3.1.0 (2019-04-11)

Features

  • diff: add DiffMode.ONLY_DISTANCE_LINEAR_ONLY_CHANGES, add tests (9a2087d)

3.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.

2.0.1 (2018-12-09)

Performance Improvements

  • diff: further array caching/reuse (19b0a55)

2.0.0 (2018-12-08)

Code Refactoring

  • diff: flatten linear edit logs, update readme & arg order (64feacf)

Features

  • diff: add fast paths for simple cases, add tests, refactor as arrow fns (6c6da82)

Performance Improvements

  • diff: flatten linear edit logs, rewrite diffObject(), add DiffMode (e8356cd)
  • diff: reduce amount of temp/internal array allocs (diffArray) (d1ee6d9)

BREAKING CHANGES

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

Performance Improvements

  • diff: add option to only build linear edit log (431527a)

1.0.0 (2018-02-27)

Features

  • diff: update diffArray, generic types (6e0dfa1)

BREAKING CHANGES

  • diff: update DiffLogEntry structure

0.1.1 (2018-02-02)

Performance Improvements

0.1.0 (2018-02-01)

Features

  • diff: re-import diff package (MBP2010) (4d0d437)