Releases: dmtrKovalenko/odiff
2.4.2
Fixes
- Fix typescript definition that has all the options required
- chore: Add typescript tests
2.4.1
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 fromnodejs
bindings - Fix not failing with
layout-diff
if only one dimension is different
2.4.0
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 orignoreRegions
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
Fixes
- fix nodejs bindings crashing of requiring 3rd internal arg to be passed
2.3.0 AA Detector
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
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
v2.1.0
v2.0.0
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 passoutputDiffMask: 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 🥳
v1.0.0 Fix yaml v2