Releases: dmtrKovalenko/odiff
v3.0.0 The Camel
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
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
What's Changed
- chore(docs): Add a ODiff cypress plugin link to README.md by @odai-alali in #65
- chore: Better error message for fopen file error by @dmtrKovalenko in #69
- fix: Do not fail if binary was already installed by @dmtrKovalenko in #70
- fix: error message on non linked binary not showing by @dmtrKovalenko in #71
New Contributors
- @odai-alali made their first contribution in #65
Full Changelog: 2.5.0...2.5.1
2.5.0
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
fromlibpng
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
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)