Skip to content

Releases: happo/lcs-image-diff

v3.0.0

30 Sep 15:58
Compare
Choose a tag to compare

What's Changed

  • Return negative colorDiff if pixel is darker by @lencioni in #41

Full Changelog: v2.4.0...v3.0.0

v2.4.0

15 Sep 20:41
Compare
Choose a tag to compare

What's Changed

  • Remove array destructuring in colorDelta, add colorDeltaChannels, deprecate colorDelta by @lencioni in #40
  • Bump micromatch from 4.0.7 to 4.0.8 by @dependabot in #39
  • Bump qs from 6.10.1 to 6.13.0 by @dependabot in #38

Full Changelog: v2.3.0...v2.4.0

v2.3.0

04 Sep 12:15
Compare
Choose a tag to compare

What's Changed

  • Handle almost-transparent and transparent pixels better by @trotzig in #37

Full Changelog: v2.2.1...v2.3.0

v2.2.1

07 Jun 15:32
Compare
Choose a tag to compare

This patch release updates some dev dependencies and other transitive dependencies. We have also added a repository field to the package.json, and updated the CI image used for running tests.

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.2.1

v2.2.0

04 May 07:44
Compare
Choose a tag to compare

This minor release makes diffs with images of different sizes slightly better. Where padding has to be added (on the smaller image) we no longer show a full magenta diff. Instead we show a semi-translucent magenta/gray area. This makes it easier to spot certain diffs.

v2.1.0

02 Jun 12:26
Compare
Choose a tag to compare

This minor release makes showing diffs for images of different dimensions better. Before, the trace and diff image wouldn't show much if the only change was (white) padding. Now it will highlight the whitespace areas.

v2.0.1

01 Feb 20:00
Compare
Choose a tag to compare

This version makes a performance improvement in deciding whether or not to apply the LCS algorithm. Instead of operating on hashed images, we now access the raw image data.

v2.0.0

14 Nov 18:48
Compare
Choose a tag to compare

Use YIQ colorspace to determine color distance instead of euclidean distance. #6

v1.1.0

14 Nov 18:47
Compare
Choose a tag to compare
  • Add maxDiff to the return value #2

v1.0.1

04 Jul 07:40
Compare
Choose a tag to compare

This version has a fix that makes the diff image more useful for long images. While applying the LCS algorithm, we're doing an optimization on the size of the "window" to look for similarities. This window was too small for large diffs.