Skip to content

chore: bump swc_core from 59 to 62#13602

Merged
chenjiahan merged 4 commits intomainfrom
04-03-chore/bump-swc
Apr 3, 2026
Merged

chore: bump swc_core from 59 to 62#13602
chenjiahan merged 4 commits intomainfrom
04-03-chore/bump-swc

Conversation

@CPunisher
Copy link
Copy Markdown
Contributor

Summary

Bug fixes: https://github.com/swc-project/swc/blob/main/CHANGELOG-CORE.md.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings April 3, 2026 08:47
@github-actions github-actions Bot added the team The issue/pr is created by the member of Rspack. label Apr 3, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps the Rust workspace’s SWC toolchain dependency set to newer swc_core/SWC ecosystem versions, aligning the pinned crates and the generated workspace version constant.

Changes:

  • Update swc_core version from 59.0.1 to 61.0.1 (and related SWC crate pins).
  • Regenerate the workspace constant for the swc_core version.
  • Refresh Cargo.lock to reflect the new dependency graph.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
crates/rspack_workspace/src/generated.rs Updates the generated rspack_swc_core_version() constant to 61.0.1.
Cargo.toml Updates pinned SWC-related crate versions (including swc_core to 61.0.1).
Cargo.lock Updates lockfile entries for the bumped SWC ecosystem versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@CPunisher CPunisher marked this pull request as draft April 3, 2026 10:21
@CPunisher CPunisher changed the title chore: bump swc_core from 59 to 61 chore: bump swc_core from 59 to 62 Apr 3, 2026
@CPunisher CPunisher marked this pull request as ready for review April 3, 2026 10:23
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d3da384fb2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/rspack_workspace/src/generated.rs Outdated
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 3, 2026

Rsdoctor Bundle Diff Analysis

Found 6 projects in monorepo, 6 projects with changes.

📊 Quick Summary
Project Total Size Change
popular-libs 1.7 MB -
react-10k 5.7 MB -
rome 984.2 KB -
react-1k 826.3 KB -
ui-components 5.0 MB -
react-5k 2.7 MB -
📋 Detailed Reports (Click to expand)

📁 popular-libs

Path: ../build-tools-performance/cases/popular-libs/dist/rsdoctor-data.json

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 1.7 MB - -
📄 JavaScript 1.7 MB - -
🎨 CSS 0 B - -
🌐 HTML 0 B - -
📁 Other Assets 0 B - -

📁 react-10k

Path: ../build-tools-performance/cases/react-10k/dist/rsdoctor-data.json

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 5.7 MB - -
📄 JavaScript 5.7 MB - -
🎨 CSS 21.0 B - -
🌐 HTML 0 B - -
📁 Other Assets 0 B - -

📁 rome

Path: ../build-tools-performance/cases/rome/dist/rsdoctor-data.json

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 984.2 KB - -
📄 JavaScript 984.2 KB - -
🎨 CSS 0 B - -
🌐 HTML 0 B - -
📁 Other Assets 0 B - -

📁 react-1k

Path: ../build-tools-performance/cases/react-1k/dist/rsdoctor-data.json

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 826.3 KB - -
📄 JavaScript 826.3 KB - -
🎨 CSS 0 B - -
🌐 HTML 0 B - -
📁 Other Assets 0 B - -

📁 ui-components

Path: ../build-tools-performance/cases/ui-components/dist/rsdoctor-data.json

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 5.0 MB - -
📄 JavaScript 4.7 MB - -
🎨 CSS 291.6 KB - -
🌐 HTML 0 B - -
📁 Other Assets 0 B - -

📁 react-5k

Path: ../build-tools-performance/cases/react-5k/dist/rsdoctor-data.json

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 2.7 MB - -
📄 JavaScript 2.7 MB - -
🎨 CSS 21.0 B - -
🌐 HTML 0 B - -
📁 Other Assets 0 B - -

Generated by Rsdoctor GitHub Action

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 3, 2026

Merging this PR will not alter performance

✅ 9 untouched benchmarks
⏩ 28 skipped benchmarks1


Comparing 04-03-chore/bump-swc (27f1d5d) with main (c88a8d5)

Open in CodSpeed

Footnotes

  1. 28 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 3, 2026

📦 Binary Size-limit

Comparing 27f1d5d to feat!: disable bundlerInfo force by default (#13599) by harpsealjs

🎉 Size decreased by 15.59KB from 49.26MB to 49.25MB (⬇️0.03%)

@chenjiahan chenjiahan enabled auto-merge (squash) April 3, 2026 10:42
@chenjiahan chenjiahan merged commit 399f49e into main Apr 3, 2026
37 checks passed
@chenjiahan chenjiahan deleted the 04-03-chore/bump-swc branch April 3, 2026 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants