-
Notifications
You must be signed in to change notification settings - Fork 25
feat: upgrade swc_core 45.0.2 #172
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
feat: upgrade swc_core 45.0.2 #172
Conversation
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.
Pull request overview
This PR upgrades swc_core from version 27.0.6 to 45.0.2 to ensure compatibility with Next.js 16. The upgrade allows the plugin to work within the @40.0.0 - < 46.0.0 swc_core compatibility range required by Next.js 16. All 102 tests pass successfully.
Key changes:
- Updated
swc_coredependency to version 45.0.2 inCargo.toml - Added version mapping entries to the README compatibility table
- Automatic dependency updates in
Cargo.lockreflecting the major version bump of swc_core and related packages
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Added two new rows to the version compatibility table documenting swc_core versions 39.0.3 (plugin v5.7.0) and 45.0.2 (plugin v5.8.0) |
| Cargo.toml | Updated swc_core dependency version from 27.0.6 to 45.0.2 |
| Cargo.lock | Automatic lock file updates reflecting the major version upgrade of swc_core and all related dependencies (swc_ecma_*, swc_common, etc.) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #172 +/- ##
=======================================
Coverage 92.45% 92.45%
=======================================
Files 8 8
Lines 1351 1351
=======================================
Hits 1249 1249
Misses 102 102
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
andrii-bodnar
left a comment
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.
@zombispormedio thank you for the contribution! The 5.7.0 version is live. Could you please rebase the current branch so that we can proceed with version 5.8.0 release?
|
@andrii-bodnar i resolved the conflicts |
Upgrading swc_core to 45.0.2 to make the package with the next compat range @40.0.0 - < 46.0.0
(https://plugins.swc.rs/versions/range/426)
In this way, the package will be compatible with Next.js 16
If this is fine, it should be merged after #171
Related to this #170 (comment)
Testing