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(jest)!: add support for jest v29 #309
chore(jest)!: add support for jest v29 #309
Conversation
Add support for Jest v29. Jest v29 drops support for Node v12/v17, so I've updated the package.json to contain the same Node support as Jest. The only other major breaking change in Jest v29 is that the default snapshot format has changed slightly, but that only changes the stored jest snapshots slighty (see https://jestjs.io/blog/2022/08/25/jest-29). BREAKING CHANGE: Drop support for Node v12 and Node v17, as Jest v29 does not support these versions.
Hey, I don't have the skills to validate the "code" part of your PR, but using your branch & jest 29 "jest": "^29.0.0",
"jest-image-snapshot": "git+https://github.com/aloisklink/jest-image-snapshot.git#chore/update-jest-to-v29", works in one of our project too. Thanks for the MR! |
.github/workflows/release.yml
Outdated
@@ -23,7 +23,7 @@ jobs: | |||
- name: Setup Node.js | |||
uses: actions/setup-node@v2 | |||
with: | |||
node-version: 12 | |||
node-version: 14 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node-version: 14 | |
node-version: 16 |
Let's use LTS here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 76edb33, let me know if you want me to rebase/squash my commits into one commit.
Node v16 is the current active LTS release of Node.JS Co-authored-by: Jamie King <hello@jamieking.me>
Hi folks! Any update on this PR? Would be nice to get rid of warnings when running npm install about jest-image-snapshot not being compatable with jest 29. |
@anescobar1991 could you review this PR? Or someone from one-amex-admins :) |
Is there a reason this isn't being approved? Are there any risks involved? This is blocking all projects that use this jest-image-snapshot from upgrading to jest 29 so it would be nice to sort this out sooner than later. |
# [6.0.0](v5.2.0...v6.0.0) (2022-11-03) * chore(jest)!: add support for jest v29 (#309) ([79e53fc](79e53fc)), closes [#309](#309) ### BREAKING CHANGES * Drop support for Node v12 and Node v17, as Jest v29 does not support these versions. * ci(release): use Node v16 for release action Node v16 is the current active LTS release of Node.JS Co-authored-by: Jamie King <hello@jamieking.me> Co-authored-by: Jamie King <hello@jamieking.me>
🎉 This PR is included in version 6.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Thanks for getting this one out the door! |
* chore(jest)!: add support for jest v29 Add support for Jest v29. Jest v29 drops support for Node v12/v17, so I've updated the package.json to contain the same Node support as Jest. The only other major breaking change in Jest v29 is that the default snapshot format has changed slightly, but that only changes the stored jest snapshots slighty (see https://jestjs.io/blog/2022/08/25/jest-29). BREAKING CHANGE: Drop support for Node v12 and Node v17, as Jest v29 does not support these versions. * ci(release): use Node v16 for release action Node v16 is the current active LTS release of Node.JS Co-authored-by: Jamie King <hello@jamieking.me> Co-authored-by: Jamie King <hello@jamieking.me>
# [6.0.0](americanexpress/jest-image-snapshot@v5.2.0...v6.0.0) (2022-11-03) * chore(jest)!: add support for jest v29 (americanexpress#309) ([79e53fc](americanexpress@79e53fc)), closes [americanexpress#309](americanexpress#309) ### BREAKING CHANGES * Drop support for Node v12 and Node v17, as Jest v29 does not support these versions. * ci(release): use Node v16 for release action Node v16 is the current active LTS release of Node.JS Co-authored-by: Jamie King <hello@jamieking.me> Co-authored-by: Jamie King <hello@jamieking.me>
Description
Add support for Jest v29.
Jest v29 drops support for Node v12/v17, so I've updated the package.json to contain the same Node support as Jest.
The only other major breaking change in Jest v29 is that the default snapshot format has changed slightly, but that only changes the stored jest snapshots slighty (see https://jestjs.io/blog/2022/08/25/jest-29).
BREAKING CHANGE: Drop support for Node v12 and Node v17, as Jest v29 does not support these versions.
Motivation and Context
Resolves #308
How Has This Been Tested?
I've tried testing this branch on my own project (remark-mermaid-dataurl) using the following, and it seems to work fine.
Types of Changes
Checklist:
What is the Impact to Developers Using Jest-Image-Snapshot?
Adds support for Jest 29.
BREAKING CHANGE: Drops support for Node v12 and Node v17.