Skip to content

Releases: mapbox/pixelmatch

v7.1.0

21 Feb 09:34
Compare
Choose a tag to compare
  • Add first-class TypeScript types to the project. They'll be maintained in the repo from now on. #139
  • Improve matching performance by ~22%. #150

v7.0.0

19 Feb 09:27
Compare
Choose a tag to compare
  • Potentially breaking: improve handling of semitransparent pixels. Previously, they were blended with white, so a transparent pixel vs white pixel would show zero difference; now pixels are blended with an irregular pattern, making it easier to catch regressions. (h/t @NathanMOlson #142)
  • Improve match performance by ~6%. #147
  • Significantly improve diff generation performance. (h/t @kawanet #105)
  • Fix options handling to use the default value when undefined is passed explicitly. (h/t @denis-sokolov #146)
  • Fix ESLint failing on Windows when working on the library locally. (h/t @haraldreingruber-dedalus #123)

v6.0.0

26 Jun 12:39
Compare
Choose a tag to compare

⚠️ Breaking: publish pixelmatch as a ES module. Use the older v5.3.0 if you need to support CommonJS environments.

v5.3.0

25 Apr 08:18
Compare
Choose a tag to compare

Upgrade pngjs dependency (used in the pixelmatch CLI) from v4 to v6.

v5.2.0

17 Apr 10:26
Compare
Choose a tag to compare
  • Added a diffColorAlt option for coloring pixels that got darker differently (for differentiating between "added" and "removed" parts). #87 (h/t @tristen)
  • Dropped Node v4/v6 support in the binary.

v5.1.0

23 Sep 07:48
Compare
Choose a tag to compare

Added diffMask option. #73 (h/t @tmeasday)

v5.0.2

10 Jun 11:18
Compare
Choose a tag to compare
  • Fix input validation failing in some Jest environments. #62

v5.0.1

07 Jun 16:12
Compare
Choose a tag to compare
  • 🐞 Fix alpha option being ignored in case of identical images.
  • Slightly more robust input validation.

v5.0.0

07 Jun 07:39
Compare
Choose a tag to compare
  • ⚠️ 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

08 Aug 15:50
Compare
Choose a tag to compare

Fixed the command-line to properly handle the case when threshold is not provided.