Releases: mapbox/pixelmatch
Releases · mapbox/pixelmatch
v5.3.0
v5.2.0
v5.1.0
v5.0.2
v5.0.1
v5.0.0
⚠️ Breaking: update to ES6 syntax, dropping Node <6.4 and IE11 support.- 🎨 Added configurable diff output (options
alpha
,aaColor
,diffColor
) (@dreignier @VP-) - ⚡️ Improve matching performance by ~35%.
- ⚡️ Bypass detailed comparison when image data is identical, significantly improving performance when running tests on CI #60 (thanks to @bontscho).
- Fix anti-aliasing detection on image edges #51 (@IvanSanchez).
- Produce a meaningful error when image data is in the wrong format #53 (thanks to @LearningNerd)
- CLI: return non-zero exit code when images differ #54 (@maio).
- CLI: make diff output optional.
- Make the published NPM module smaller.
v4.0.2
v4.0.1
v4.0.0
- Breaking: switched to a much more accurate color difference metric based on recent research. As a side effect, the
threshold
scale changed — bump your old value by about ~70%. - Changed processing of alpha-channel (blending to white instead of black when comparing images)
- Added an option to skip
diff
image creation (by passingnull
as theoutput
argument)
v3.0.0
- Breaking: changed the API to accept
options
object literal (withthreshold
andincludeAA
properties) rather than arguments. - Breaking: changed
threshold
to be relative to YUV distance (not squared); this means you'll have to change thethreshold
values you're currently using tosqrt(threshold)
. - Added usage examples for Node & browsers in the readme.