feat(deps)!: bump swc_core from 46.0.3 to 50.2.3 and swc_experimental#12445
feat(deps)!: bump swc_core from 46.0.3 to 50.2.3 and swc_experimental#12445chenjiahan merged 5 commits intomainfrom
swc_core from 46.0.3 to 50.2.3 and swc_experimental#12445Conversation
✅ Deploy Preview for rspack canceled.
|
There was a problem hiding this comment.
Pull request overview
This PR bumps swc_core from version 46.0.3 to 50.2.2, along with all related SWC dependencies to maintain version consistency. The update includes a breaking change for WASM plugins as noted in the PR description.
- Updates all Rust SWC packages (swc, swc_core, swc_ecma_minifier, swc_error_reporters, swc_html, swc_html_minifier, swc_node_comments, swc_plugin_runner)
- Updates JavaScript test dependency @swc/plugin-remove-console to v12.0.1
- Regenerates version constants in generated.rs
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Cargo.toml | Updates swc_core to 50.2.2 and related swc dependencies to compatible versions |
| Cargo.lock | Reflects transitive dependency updates including new versions of swc_atoms, swc_common, swc_ecma_ast and others |
| crates/rspack_workspace/src/generated.rs | Updates the swc_core version constant from "46.0.3" to "50.2.2" |
| tests/rspack-test/package.json | Updates @swc/plugin-remove-console from ^10.0.0 to ^12.0.1 |
| pnpm-lock.yaml | Updates lockfile entries for @swc/plugin-remove-console to 12.0.1 |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
swc_core from 46.0.3 to 50.2.2swc_core from 46.0.3 to 50.2.2 and swc_experimental
Rsdoctor Bundle Diff AnalysisFound 5 project(s) in monorepo. 📁 react-10kPath:
📦 Download Diff Report: react-10k Bundle Diff 📁 react-1kPath:
📦 Download Diff Report: react-1k Bundle Diff 📁 react-5kPath:
📦 Download Diff Report: react-5k Bundle Diff 📁 romePath:
📦 Download Diff Report: rome Bundle Diff 📁 ui-componentsPath:
📦 Download Diff Report: ui-components Bundle Diff Generated by Rsdoctor GitHub Action |
📦 Binary Size-limit
❌ Size increased by 91.88KB from 48.21MB to 48.30MB (⬆️0.19%) |
CodSpeed Performance ReportMerging #12445 will not alter performanceComparing Summary
|
swc_core from 46.0.3 to 50.2.2 and swc_experimentalswc_core from 46.0.3 to 50.2.3 and swc_experimental
ee925a5 to
01352cb
Compare
swc_core from 46.0.3 to 50.2.3 and swc_experimentalswc_core from 46.0.3 to 50.2.3 and swc_experimental
Summary
SWC full changelog: https://github.com/swc-project/swc/blob/main/CHANGELOG-CORE.md
SWC experimental changelog: CPunisher/swc-experimental@v0.3.1...v0.3.3. Most of them are bug fixes.
Note that it introduces wasm plugin breaking.
Checklist