Releases: americanexpress/jest-image-snapshot
v3.1.0
v3.0.1
v3.0.0
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
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
Adds the option to output diff base64 image string to console for failed tests.
Thanks @DianaSuvorova for the contribution!
Bug fixes!
v2.9.0
The only change in this release is to allow customSnapshotIdentifier
to be a function.
v2.8.2
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
v2.8.0
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
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