Skip to content

Releases: mapbox/pixelmatch

v7.2.0

29 Apr 05:55

Choose a tag to compare

Add a checkerboard option that controls whether to blend semi-transparent pixels against a checkerboard pattern (true, default) or plain white (false, pre-v7 behavior) when comparing images.

v7.1.1

28 Apr 15:56

Choose a tag to compare

v7.1.0

21 Feb 09:34

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

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

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

Choose a tag to compare

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

v5.2.0

17 Apr 10:26

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

Choose a tag to compare

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

v5.0.2

10 Jun 11:18

Choose a tag to compare

  • Fix input validation failing in some Jest environments. #62

v5.0.1

07 Jun 16:12

Choose a tag to compare

  • 🐞 Fix alpha option being ignored in case of identical images.
  • Slightly more robust input validation.