Skip to content

Releases: dmtrKovalenko/odiff

v3.0.0 The Camel

29 Apr 16:53
c795417
Compare
Choose a tag to compare

This is a huge release for odiff, it became faster than ever! Here is what's changed:

Changes

Breaking algorithm changes — some images can produce different diff

  • Improved our main algorithm implementation leading to fewer false positives around semi-transparent colors, resolved an issue with different encodings of fully transparent color, and now different color spaces for tiff images
  • odiff became even faster, 3-4 times faster than the 2.x releases at a cost of slightly larger memory usage. Get back to the previous memory usage with --reduce-ram-usage flag
  • Sources rewritten to pure OCaml 🐫
  • Improved the way encoder libraries are linked leading to the smaller binary files and significantly lighter npm package size

v2.6.0

02 Mar 14:36
52e1aed
Compare
Choose a tag to compare

Features

New cli option --output-diff-lines and new node js option captureDiffLines that outputs line indexes containing pixel diffs

Full Changelog: 2.5.1...2.6.0

2.5.1

01 Dec 14:32
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.5.0...2.5.1

2.5.0

18 Dec 21:04
Compare
Choose a tag to compare

This was a long time since the previous release, but we made some really powerful changes!

Features

  • Migrate to custom C codecs for all formats which dramatically improves the performance of comparison for .jpg and .tiff
  • Migrate to libspng from libpng for even faster png encoding 🚄
  • Add new option noFailOnFsErrors to avoid failures on file system errors for node-js bindings

... and a little bit more optimizations 😎 to improve memory usage

2.4.2

05 Jul 18:34
Compare
Choose a tag to compare

Fixes

  • Fix typescript definition that has all the options required
  • chore: Add typescript tests

2.4.1

28 Jun 20:16
ef6bb98
Compare
Choose a tag to compare

Breaking changes

We remove support of .tiff and .jpeg temporarily as before they weren't working without globally installed libjpeg and libtiff in the correct folder, so we decided to completely remove support for other than .png formats for now and get back to them later on.

Fixes

  • Fix issue Error: dyld: Library not loaded: /usr/local/opt/libtiff/lib/libtiff.5.dylib if libtiff is not installed om MacOS
  • Fix issue antialiasing option from nodejs bindings
  • Fix not failing with layout-diff if only one dimension is different

2.4.0

17 Jun 19:42
Compare
Choose a tag to compare

This is huuuge

Big thanks to @eWert-Online for his help on this project and especially this release 🎉

Features:

  • 🔳 Add ignore regions support. You can use --ignore-regions param or ignoreRegions option for node.js to ignore changes inside specific coordinate array
  • 🚄 Improve image difference, yes odiff is even faster than before

Fixes:

  • 🐛 Finally resolve all issues with linking libpng and zlib on windows server and esy prefix by providing one statically linked binary. Now it should not have any problems on any operation system
  • 🐛 Fix "index out of bounds" on antialiasing check if image is zero height or width (#38)

2.3.1

27 May 18:28
cfb08c4
Compare
Choose a tag to compare

Fixes

  • fix nodejs bindings crashing of requiring 3rd internal arg to be passed

2.3.0 AA Detector

22 May 16:53
Compare
Choose a tag to compare

This release comes with Anti-aliasing detection support.

Features

  • Antialiasing detection. Use --antialiasing or { antialiasing: true } for node.js to enable

Fixes

  • Fix esy error that "path is too deep to relocate"

2.2.0 Sparrow

23 Apr 10:04
b36815c
Compare
Choose a tag to compare

Please welcome our new collaborator @eWert-Online 🎉. He already committed several great features to odiff and we are in the progress of building the fastest Anti-aliasing detection for your visual regression :)

Features

  • Better c libraries linking (#20)
  • Add diff percentage to CLI output (#24)
  • Return diffCount and diffPercentage in nodejs bindings (#32)

Fixes

  • Windows CI error: Esy prefix path is too deep in the filesystem, Esy won't be able to relocate artifacts (#30)
  • Typing for diffColor option (#19)