chore: bump swc_core from 52.0.0 to 54.0.0 and swc_experimental from 0.3.5 to 0.4.0#12582
chore: bump swc_core from 52.0.0 to 54.0.0 and swc_experimental from 0.3.5 to 0.4.0#12582chenjiahan merged 3 commits intomainfrom
Conversation
✅ Deploy Preview for rspack canceled.
|
There was a problem hiding this comment.
Pull request overview
This PR bumps SWC core dependencies to leverage recent performance optimizations and bug fixes. The main update is swc_core from 52.0.0 to 54.0.0, with corresponding updates to related packages and the experimental swc packages from 0.3.5 to 0.4.0.
- Updated swc_core and related packages to align with latest stable releases
- Updated swc_experimental packages for performance improvements
- Updated test expectations to reflect minor parser error formatting changes
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Cargo.toml | Bumped versions for swc (50.0.0 → 52.0.0), swc_core (52.0.0 → 54.0.0), swc_ecma_minifier (40.0.0 → 42.0.0), swc_html_minifier (40.0.0 → 42.0.0), and swc_experimental packages (0.3.5 → 0.4.0) |
| Cargo.lock | Updated lock file with new package versions, checksums, and transitive dependency updates; removed swc_ecma_compiler dependency |
| crates/rspack_workspace/src/generated.rs | Updated generated swc_core version constant from "52.0.0" to "54.0.0" |
| tests/rspack-test/diagnosticsCases/module-build-failed/loader-import-syntax-error/stats.err | Updated test expectation to reflect parser error formatting change (removed caret indicator line) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
📦 Binary Size-limit
🎉 Size decreased by 166.00KB from 48.00MB to 47.84MB (⬇️0.34%) |
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 #12582 will not alter performanceComparing Summary
Footnotes
|
Summary
SWC: https://github.com/swc-project/swc/blob/main/CHANGELOG-CORE.md
swc-experimental: https://github.com/CPunisher/swc-experimental/releases/tag/v0.4.0
Checklist