Skip to content

Releases: fiduswriter/diffDOM

more effective subsets

Choose a tag to compare

@johanneswilm johanneswilm released this 02 May 08:40
  • cache subsets for node group moving
  • add settings:
    • maxDepth (default: false) false or a numeral. If set to a numeral, limits the level of depth that the the diff mechanism looks for differences. If false, goes through the entire tree.
    • maxChildCount (default: 50) false or a numeral. If set to a numeral, does not try to diff the contents of nodes with more children if there are more than maxChildDiffCount differences among child nodes.

better id matching

Choose a tag to compare

@johanneswilm johanneswilm released this 10 Oct 08:37

Changes:

  • make elements not match if they both have IDs and IDs don't match (contributed by @GreenGremlin)
  • handle innerHTML of textareas (contributed by @GreenGremlin)
  • remove bower file (leaving us only with npm)

modules and speed optimization

Choose a tag to compare

@johanneswilm johanneswilm released this 02 Jul 05:00

Improvements:

  • AMD module support
  • removal of ES6 features for speed improvement
  • optional compressed diffs

code clean

Choose a tag to compare

@johanneswilm johanneswilm released this 09 Sep 12:59

small code clean

expose Diff object

Choose a tag to compare

@johanneswilm johanneswilm released this 01 Aug 23:19

Features:

  • Expose Diff object

Fixes:

  • Reverse actions for modifyComment/Text
  • Simplify diff on some text only diffs
  • Simplify diff on single element removal

Changed value fix

Choose a tag to compare

@johanneswilm johanneswilm released this 19 Apr 23:27

Changes:
-- fixes bug when trying to diff against a value that consisted of an empty string.

short license, minifiers, diff hooks

Choose a tag to compare

@johanneswilm johanneswilm released this 19 Apr 22:21

Changes

  • add pre/post diff hooks
  • allow shortcircuit of diffing
  • support minifiers
  • removed JavaScript reserved keywords
  • set short license identifier to "LGPL-3.0" (for Docker, etc.)

SVG fixes

Choose a tag to compare

@johanneswilm johanneswilm released this 21 Feb 19:34

This fixes SVG internal diffing.

speed and stability

Choose a tag to compare

@johanneswilm johanneswilm released this 09 Oct 07:15

This is the first major update of the stable version of diffDOM. The main advantages over version 1.2.0 are:
-- Speed: By using a virtual dom internally and making the diff finding mechanism more efficient, this version is about 50 times faster than version 1.2.0
-- Stability: Through extensive testing of random content over long periods of time, most of the remaining bugs have been dealt with. We have not been able to find errors in the diffing mechanism despite of having the computer spend hours on "mining" for bugs.

5 hours and no bugs found

Pre-release

Choose a tag to compare

@johanneswilm johanneswilm released this 05 Oct 17:45

The random-unlimited test has run more than five full hours without running into issues. This makes it more stable than all of the previous versions, including the latest stable 1.2.0 version, for which it usually didn't take more than 5-10 minutes to find bugs.

Unless more issues are found within the next 48h, this version is going to be re-released as version 2.0.0 stable.