chore: upgrade swc_core from 66 to 67#14135
Conversation
|
Cursor Agent can help with this pull request. Just |
There was a problem hiding this comment.
Pull request overview
Upgrades the workspace-pinned SWC Rust crates to newer patch releases and updates the Cargo lockfile accordingly, keeping the repo’s Rust toolchain dependencies current.
Changes:
- Bump workspace-pinned
swc,swc_core, andswc_ecma_minifierto newer patch versions. - Refresh
Cargo.lockto reflect the updated SWC dependency graph and checksums.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Cargo.toml | Updates workspace dependency pins for key SWC crates. |
| Cargo.lock | Updates resolved SWC package versions/checksums (and related transitive entries). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merging this PR will not alter performance
Comparing Footnotes
|
📦 Binary Size-limit
❌ Size increased by 11.94KB from 61.75MB to 61.76MB (⬆️0.02%) |
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 1 project with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 popular-libsPath:
📦 Download Diff Report: popular-libs Bundle Diff Generated by Rsdoctor GitHub Action |
Summary
Upgrade the workspace SWC dependency pins to the latest compatible published versions and refresh the corresponding Cargo lockfile entries.
swc_error_reporters 24.0.0andswc_plugin_runner 28.0.0were tested, but remain pinned to the current compatible versions because the latestswc_core 66.0.5still usesswc_common 21, while those newer crates useswc_common 22.This also updates the generated workspace SWC core version so CI builds do not dirty
crates/rspack_workspace/src/generated.rs.Related links
N/A
Checklist
Validation
cargo codegenpnpm run build:binding:dev && git diff --quiet -- . ":(exclude).cargo/config.toml"cargo test -q -p rspack_javascript_compiler -p rspack_loader_swc -p rspack_plugin_swc_js_minimizer --lockedpnpm run lint:rs