Skip to content

Releases: dmtrKovalenko/odiff

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)

v2.1.0

13 Feb 15:30
2bc9c67
Compare
Choose a tag to compare

Changelog:

Features

  • --diff-color: New option for custom diff color for output (#18)

Fixes

  • outputDiffMask NodeJS binding option (#17) @donchev7
  • docs: Update README api

v2.0.0

27 Jan 14:17
Compare
Choose a tag to compare

Yeah, the new major release right after the first one.

This release fixes most of all the problems that were found in the first release. And introduces significant speedup 🚀. It is ~4 times faster than odiff v1 😱

Command Mean [s] Min [s] Max [s] Relative
time bin/odiff2 www.cypress.io.png www.cypress.io-1.png diff.png 1.159 ± 0.016 1.137 1.190 1.00
time odiff www.cypress.io.png www.cypress.io-1.png diff.png 4.605 ± 0.431 4.094 5.336 3.97 ± 0.38

Here is a list of changes:

Breaking changes

  • --diff-image mode is default now, if you need to get the diff mask you can put the --diff-mask option or pass outputDiffMask: true to the node bindings

Features

  • No more requirement of libpng. It is linked and provided together with the library, so it works out of the box even on Windows
  • Using ourself C bindings to libpng which avoids any data copying and creates significant speed up.
  • Support of .tiff and .xpm formats using appropriate C format libs

Initial release 🥳

11 Nov 22:05
Compare
Choose a tag to compare
v1.0.0

Fix yaml v2