Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(packages): Upgrade from pixelmatch 4.x to 5.x, and pngjs to 3.4 #186

Merged
merged 2 commits into from
Mar 22, 2020

Conversation

ReDrUm
Copy link
Contributor

@ReDrUm ReDrUm commented Mar 12, 2020

Based on feedback from #152 this would be precursor to a 3.0.0 release.

Upgrades pixelmatch & pngjs to latest releases.

https://github.com/mapbox/pixelmatch/releases/tag/v5.0.0

Noteworthy changes from the pixelmatch release notes:

  • Improve matching performance by ~35%.
  • Bypass detailed comparison when image data is identical, significantly improving performance.
  • Fix anti-aliasing detection on image edges.
  • Breaking: update to ES6 syntax, dropping Node <6.4 and IE11 support.

@ReDrUm ReDrUm requested a review from a team as a code owner March 12, 2020 03:48
Copy link
Member

@anescobar1991 anescobar1991 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the conflicts this looks good to me!

@ReDrUm ReDrUm force-pushed the chore/upgrade-pixelmatch branch 2 times, most recently from 9030c25 to 4f44fe4 Compare March 19, 2020 00:25
@anescobar1991 anescobar1991 merged commit 1edc9a3 into americanexpress:master Mar 22, 2020
oneamexbot added a commit that referenced this pull request Mar 24, 2020
# [3.0.0](v2.12.0...v3.0.0) (2020-03-24)

### Bug Fixes

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

### chore

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

### Features

* **diff:** increase the maxBuffer to 10MB for the diff process ([#167](#167)) ([0927826](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
@oneamexbot
Copy link
Contributor

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@noinkling
Copy link

noinkling commented Mar 24, 2020

I don't think this should have been released without first addressing the now-redundant identicality check mentioned in #152, as changed snapshots will now be doing unnecessary work, potentially hurting performance.

@anescobar1991
Copy link
Member

Yeah I think you’re right... let me open a PR to fix that today.

@anescobar1991
Copy link
Member

Opened up #191 @noinkling!

@anescobar1991
Copy link
Member

@noinkling #191 (comment)

goverdhan07 pushed a commit to goverdhan07/jest-image-snapshot that referenced this pull request Jul 23, 2023
…americanexpress#186)

BREAKING CHANGE: pixelmatch is being major version bumped and so image diffs may be difference
goverdhan07 pushed a commit to goverdhan07/jest-image-snapshot that referenced this pull request Jul 23, 2023
# [3.0.0](americanexpress/jest-image-snapshot@v2.12.0...v3.0.0) (2020-03-24)

### Bug Fixes

* **diff:** small default maxBuffer ([df713f6](americanexpress@df713f6))
* **diff-snapshot:** dumpDiffToConsole base64 string output ([americanexpress#183](americanexpress#183)) ([f73079f](americanexpress@f73079f))

### chore

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

### Features

* **diff:** increase the maxBuffer to 10MB for the diff process ([americanexpress#167](americanexpress#167)) ([0927826](americanexpress@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants