Skip to content

Conversation

@SoonIter
Copy link
Member

Summary

docs: upgrade rspress

Related links

Checklist

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

Copilot AI review requested due to automatic review settings December 11, 2025 11:35
@netlify
Copy link

netlify bot commented Dec 11, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 2b4f6e9
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/693aac7da1d29d0008b2563f
😎 Deploy Preview https://deploy-preview-12426--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: document release: document related release(mr only) labels Dec 11, 2025
@SoonIter SoonIter changed the title docs: upgrade rspress docs: upgrade [email protected] Dec 11, 2025
@SoonIter SoonIter changed the title docs: upgrade [email protected] docs: upgrade [email protected] Dec 11, 2025
Copy link
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

This PR upgrades the rspress documentation framework from version 2.0.0-rc.1 to 2.0.0-rc.2, including necessary breaking changes for theme imports and associated dependency updates.

Key Changes:

  • Upgraded all @rspress/* packages from 2.0.0-rc.1 to 2.0.0-rc.2 in package.json
  • Migrated theme imports from @rspress/core/theme to @rspress/core/theme-original across 5 TypeScript files
  • Updated transitive dependencies including react-router (v6.30.2 → v7.10.1), @rsbuild/core, and @rspack/binding packages

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
website/package.json Updated rspress core and plugin packages to version 2.0.0-rc.2
website/theme/index.tsx Changed theme imports to use '@rspress/core/theme-original' path
website/theme/components/Landingpage/WhyRspack/index.tsx Updated Link import to use new theme-original path
website/theme/components/Landingpage/WhoIsUsing/index.tsx Updated Link import to use new theme-original path
website/theme/components/Landingpage/FullyFeatured/index.tsx Updated Link import to use new theme-original path
website/theme/components/HomeFooter/index.tsx Updated Link import to use new theme-original path
pnpm-lock.yaml Updated dependency resolution with new versions and transitive dependencies
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

@chenjiahan chenjiahan enabled auto-merge (squash) December 11, 2025 11:41
@github-actions
Copy link
Contributor

Rsdoctor Bundle Diff Analysis

Found 5 project(s) in monorepo.

📁 react-10k

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

📌 Baseline Commit: b48a33a1fb | PR: #12423

Metric Current Baseline Change
📊 Total Size 5.7 MB 5.7 MB 0 B (0.0%)
📄 JavaScript 5.7 MB 5.7 MB 0 B (0.0%)
🎨 CSS 21.0 B 21.0 B 0 B (0.0%)
🌐 HTML 0 B 0 B N/A
📁 Other Assets 0 B 0 B N/A

📦 Download Diff Report: react-10k Bundle Diff

📁 react-1k

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

📌 Baseline Commit: b48a33a1fb | PR: #12423

Metric Current Baseline Change
📊 Total Size 823.6 KB 823.6 KB 0 B (0.0%)
📄 JavaScript 823.6 KB 823.6 KB 0 B (0.0%)
🎨 CSS 0 B 0 B N/A
🌐 HTML 0 B 0 B N/A
📁 Other Assets 0 B 0 B N/A

📦 Download Diff Report: react-1k Bundle Diff

📁 rome

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

📌 Baseline Commit: b48a33a1fb | PR: #12423

Metric Current Baseline Change
📊 Total Size 984.3 KB 984.3 KB 0 B (0.0%)
📄 JavaScript 984.3 KB 984.3 KB 0 B (0.0%)
🎨 CSS 0 B 0 B N/A
🌐 HTML 0 B 0 B N/A
📁 Other Assets 0 B 0 B N/A

📦 Download Diff Report: rome Bundle Diff

📁 react-5k

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

📌 Baseline Commit: b48a33a1fb | PR: #12423

Metric Current Baseline Change
📊 Total Size 2.7 MB 2.7 MB 0 B (0.0%)
📄 JavaScript 2.7 MB 2.7 MB 0 B (0.0%)
🎨 CSS 21.0 B 21.0 B 0 B (0.0%)
🌐 HTML 0 B 0 B N/A
📁 Other Assets 0 B 0 B N/A

📦 Download Diff Report: react-5k Bundle Diff

📁 ui-components

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

📌 Baseline Commit: b48a33a1fb | PR: #12423

Metric Current Baseline Change
📊 Total Size 2.1 MB 2.1 MB 0 B (0.0%)
📄 JavaScript 2.0 MB 2.0 MB 0 B (0.0%)
🎨 CSS 83.0 KB 83.0 KB 0 B (0.0%)
🌐 HTML 0 B 0 B N/A
📁 Other Assets 0 B 0 B N/A

📦 Download Diff Report: ui-components Bundle Diff

Generated by Rsdoctor GitHub Action

@github-actions
Copy link
Contributor

📦 Binary Size-limit

Comparing 2b4f6e9 to fix: should use exported name of the imported module (#12423) by Fy

🙈 Size remains the same at 48.21MB

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 11, 2025

CodSpeed Performance Report

Merging #12426 will not alter performance

Comparing syt/upgrade-rspress (2b4f6e9) with main (b48a33a)

Summary

✅ 17 untouched

@chenjiahan chenjiahan merged commit a1920c4 into main Dec 11, 2025
65 checks passed
@chenjiahan chenjiahan deleted the syt/upgrade-rspress branch December 11, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: document release: document related release(mr only) 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