Skip to content

Latest commit

 

History

History
76 lines (43 loc) · 4.1 KB

CHANGELOG.md

File metadata and controls

76 lines (43 loc) · 4.1 KB

v0.2.1 (2021-05-04)

This patch release fixes a bug where deepdiff would panic when given certain types of data

Bug Fixes

  • diff: Prevent segfaults in bestCandidates (deda511)

v0.2.0 (2020-06-29)

Bug Fixes

  • calcDeltas: propagate hasChanges of descendants upward (12ed525)
  • diff: sorting output must respect integer addresses (b59d728)
  • int: Can diff ints, needed for csv body files (d2c2210)
  • stats: Avoid crashing when array in a map is entirely deleted (e5f2ec3)

Features

  • address: reperesent address elements as strings, ints, or null (2610583)
  • changes: make change calculation optional (e9dbc5f)
  • DeepDiff: move diff functions into methods of a config struct (6bf7c9a)

BREAKING CHANGES

  • DeepDiff: api for accessing diff methods have moved into methods, added context to request methods

(2019-05-30)

This is the first proper release of deepdiff. In preparation for go 1.13, in which go.mod files and go modules are the primary way to handle go dependencies, we are going to do an official release of all our modules. This will be version v0.1.0 of deepdiff.

deepdiff is a structured data differ that aims for near-linear time complexity. It's intended to calculate differences & apply patches to structured data ranging from 0-500MBish of encoded JSON.

Diffing structured data carries additional complexity when compared to the standard unix diff utility, which operates on lines of text. By using the structure of data itself, deepdiff is able to provide a rich description of changes that maps onto the structure of the data itself. deepdiff ignores semantically irrelevant changes like whitespace, and can isolate changes like column changes to tabular data to only the relevant switches

Bug Fixes

  • optimize: add extra optimize pass (613c16a)
  • walkSorted: recursion is hard (e032f79)

Features

  • config: made move calculation configurable, perf work (9c16ed1)
  • diff: first signs of life (fd857c1)
  • formatStat: added stats formatting (e8366ed)
  • moves: detecting first moves to different parents (5f38b2a)
  • moves: we gots moves (e41c890)
  • moves: working on dem moves (5f7e24b)
  • patch: support for basic patching (721e931)
  • stats: add optional diffstat calculation (56504e6)
  • first (nonsensical) Deltas showin' up (fc9f884)
  • initial work & failing test (70735a9)
  • use queue to find heavy exact matches (de01e72)
  • weight-based parent matching propagagion (d84c363)
  • working on step 2: finding exact matches (6b38350)

Performance Improvements

  • diff: wow, found the problem thx to our own blog (25c73aa)
  • moves: parllelize move calculation (3efa9c2)