-
-
Notifications
You must be signed in to change notification settings - Fork 747
chore: bump swc_core from 50.2.3 to 52.0.0 and swc_experimental from 0.3.3 to 0.3.5 #12518
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
Conversation
✅ Deploy Preview for rspack canceled.
|
📦 Binary Size-limit
🎉 Size decreased by 109.25KB from 48.23MB to 48.12MB (⬇️0.22%) |
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 1 project with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 romePath:
📦 Download Diff Report: rome Bundle Diff Generated by Rsdoctor GitHub Action |
CodSpeed Performance ReportMerging #12518 will not alter performanceComparing Summary
|
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 bumps the SWC dependencies to newer versions: swc_core from 50.2.3 to 52.0.0 and swc_experimental from 0.3.3 to 0.3.5. This update includes related SWC package updates to maintain compatibility and fixes issue #12492.
- Updated swc_core and related SWC ecosystem packages to compatible versions
- Updated swc_experimental packages to version 0.3.5
- Updated test snapshot to reflect improved parser error message
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Cargo.toml | Updated version specifications for swc_core (52.0.0), swc (50.0.0), swc_ecma_minifier (40.0.0), swc_html_minifier (40.0.0), and swc_experimental packages (0.3.5) |
| Cargo.lock | Lock file updates reflecting all direct and transitive dependency version changes from the Cargo.toml updates |
| crates/rspack_workspace/src/generated.rs | Updated the swc_core version constant from "50.2.3" to "52.0.0" to match Cargo.toml |
| tests/rspack-test/statsOutputCases/builtin-swc-loader-parse-error/snapshots/stats.txt | Updated error message in test snapshot reflecting improved parser error reporting: changed from "got 'error'" to "got 'ident'" |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
chenjiahan
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.
👍
Summary
SWC changelog: https://github.com/swc-project/swc/blob/main/CHANGELOG-CORE.md
SWC exp changelog: https://github.com/CPunisher/swc-experimental/releases/tag/v0.3.4
fixes: #12492
Checklist