Skip to content

Releases: americanexpress/jest-image-snapshot

v3.1.0

17 Apr 13:36
Compare
Choose a tag to compare

3.1.0 (2020-04-17)

Features

v3.0.1

25 Mar 17:59
Compare
Choose a tag to compare

3.0.1 (2020-03-25)

Performance Improvements

  • diff-snapshot: remove logic to bypass diff for identical images (1be1b00)

v3.0.0

24 Mar 21:17
Compare
Choose a tag to compare

3.0.0 (2020-03-24)

Bug Fixes

  • diff: small default maxBuffer (df713f6)
  • diff-snapshot: dumpDiffToConsole base64 string output (#183) (f73079f)

chore

  • packages: updating jest to 25.1 for perf improvements (#170) (eb3dfa6)
  • packages: upgrade from pixelmatch 4.x to 5.x, and pngjs to 3.4 (#186) (1edc9a3)
  • travis: remove node 6 from travis config (ce2b757)

Features

  • diff: increase the maxBuffer to 10MB for the diff process (#167) (0927826)

BREAKING CHANGES

  • packages: pixelmatch is being major version bumped and so image diffs may be difference
  • packages: Node min version is now 8
  • travis: drop support for node 6

v2.12.0

14 Jan 18:49
Compare
Choose a tag to compare

Adds the option to output diff base64 image string to console for failed tests.

Thanks @DianaSuvorova for the contribution!

Bug fixes!

14 Nov 17:57
74654b9
Compare
Choose a tag to compare

This release contains a bug fix to allow default custom snapshot identifiers to be set up in configureToMatchImageSnapshot (#154).

Thanks to @erbridge for the fix!

v2.9.0

24 Aug 23:01
Compare
Choose a tag to compare

The only change in this release is to allow customSnapshotIdentifier to be a function.

v2.8.2

24 Aug 22:59
Compare
Choose a tag to compare

Included in this release:

Documentation changes and a fix for a bug where the snapshot count displayed in the Jest results was off.

v2.8.1

11 Feb 21:50
Compare
Choose a tag to compare

Included in this release:

-chore(deps): update jest and peerDeps f8e4d34

-docs(readme): Update jest peer dep version (#128) 6272412
Document that Jest 24 is supported

-fix(options): Fix broken diffDirection option (#125) 9d7fc6a

v2.8.0

04 Feb 21:34
Compare
Choose a tag to compare

Included in this release:

-feat(matcher): Add jest retry times support 48bc2e4
Adds support for Jest retryTimes()

-feat(diffResult): Allow using vertical side to side comparison result image 1b3e540
Allows users to configure whether the diff results image is arranged vertically or horizontally.

v2.7.0

09 Nov 18:26
Compare
Choose a tag to compare

Included in this release:

-fix(sizeDiff): unique fail message for size diffs 829d55b
Previously if snapshots were differently sized, an error would be thrown with the same message as if the image diff had passed the configured threshold. This gave the impression that jesst-image-snapshot was ignoring the failureThreshold config when differently sized images would fail even if the pixel or percentage difference between the images was below the configured threshold.

-feat(options): Add customDiffDir option 70a4b2e - closes #113
Allows users to configure the diff output directory that jest-image-snapshot should use