Skip to content

Conversation

@LingyuCoder
Copy link
Contributor

Summary

Related links

Checklist

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

rspack@1.0.0-alpha.0
rspack_allocator@1.0.0-alpha.0
rspack_binding_api@1.0.0-alpha.0
rspack_binding_build@1.0.0-alpha.0
rspack_binding_builder@1.0.0-alpha.0
rspack_binding_builder_macros@1.0.0-alpha.0
rspack_browser@1.0.0-alpha.0
rspack_browserslist@1.0.0-alpha.0
rspack_cacheable@1.0.0-alpha.0
rspack_cacheable_macros@1.0.0-alpha.0
rspack_collections@1.0.0-alpha.0
rspack_core@1.0.0-alpha.0
rspack_error@1.0.0-alpha.0
rspack_fs@1.0.0-alpha.0
rspack_futures@1.0.0-alpha.0
rspack_hash@1.0.0-alpha.0
rspack_hook@1.0.0-alpha.0
rspack_ids@1.0.0-alpha.0
rspack_javascript_compiler@1.0.0-alpha.0
rspack_loader_lightningcss@1.0.0-alpha.0
rspack_loader_preact_refresh@1.0.0-alpha.0
rspack_loader_react_refresh@1.0.0-alpha.0
rspack_loader_runner@1.0.0-alpha.0
rspack_loader_swc@1.0.0-alpha.0
rspack_loader_testing@1.0.0-alpha.0
rspack_location@1.0.0-alpha.0
rspack_macros@1.0.0-alpha.0
rspack_napi@1.0.0-alpha.0
rspack_napi_macros@1.0.0-alpha.0
rspack_paths@1.0.0-alpha.0
rspack_plugin_asset@1.0.0-alpha.0
rspack_plugin_banner@1.0.0-alpha.0
rspack_plugin_case_sensitive@1.0.0-alpha.0
rspack_plugin_circular_dependencies@1.0.0-alpha.0
rspack_plugin_copy@1.0.0-alpha.0
rspack_plugin_css@1.0.0-alpha.0
rspack_plugin_css_chunking@1.0.0-alpha.0
rspack_plugin_devtool@1.0.0-alpha.0
rspack_plugin_dll@1.0.0-alpha.0
rspack_plugin_dynamic_entry@1.0.0-alpha.0
rspack_plugin_ensure_chunk_conditions@1.0.0-alpha.0
rspack_plugin_entry@1.0.0-alpha.0
rspack_plugin_esm_library@1.0.0-alpha.0
rspack_plugin_externals@1.0.0-alpha.0
rspack_plugin_extract_css@1.0.0-alpha.0
rspack_plugin_hmr@1.0.0-alpha.0
rspack_plugin_html@1.0.0-alpha.0
rspack_plugin_ignore@1.0.0-alpha.0
rspack_plugin_javascript@1.0.0-alpha.0
rspack_plugin_json@1.0.0-alpha.0
rspack_plugin_lazy_compilation@1.0.0-alpha.0
rspack_plugin_library@1.0.0-alpha.0
rspack_plugin_lightning_css_minimizer@1.0.0-alpha.0
rspack_plugin_limit_chunk_count@1.0.0-alpha.0
rspack_plugin_merge_duplicate_chunks@1.0.0-alpha.0
rspack_plugin_mf@1.0.0-alpha.0
rspack_plugin_module_info_header@1.0.0-alpha.0
rspack_plugin_module_replacement@1.0.0-alpha.0
rspack_plugin_no_emit_on_errors@1.0.0-alpha.0
rspack_plugin_progress@1.0.0-alpha.0
rspack_plugin_real_content_hash@1.0.0-alpha.0
rspack_plugin_remove_duplicate_modules@1.0.0-alpha.0
rspack_plugin_remove_empty_chunks@1.0.0-alpha.0
rspack_plugin_rsdoctor@1.0.0-alpha.0
rspack_plugin_rslib@1.0.0-alpha.0
rspack_plugin_rstest@1.0.0-alpha.0
rspack_plugin_runtime@1.0.0-alpha.0
rspack_plugin_runtime_chunk@1.0.0-alpha.0
rspack_plugin_schemes@1.0.0-alpha.0
rspack_plugin_size_limits@1.0.0-alpha.0
rspack_plugin_split_chunks@1.0.0-alpha.0
rspack_plugin_sri@1.0.0-alpha.0
rspack_plugin_swc_js_minimizer@1.0.0-alpha.0
rspack_plugin_wasm@1.0.0-alpha.0
rspack_plugin_web_worker_template@1.0.0-alpha.0
rspack_plugin_worker@1.0.0-alpha.0
rspack_regex@1.0.0-alpha.0
rspack_storage@1.0.0-alpha.0
rspack_swc_plugin_import@1.0.0-alpha.0
rspack_swc_plugin_ts_collector@1.0.0-alpha.0
rspack_tasks@1.0.0-alpha.0
rspack_tracing@1.0.0-alpha.0
rspack_tracing_perfetto@1.0.0-alpha.0
rspack_util@1.0.0-alpha.0
rspack_watcher@1.0.0-alpha.0
rspack_workspace@1.0.0-alpha.0

Generated by cargo-workspaces
@netlify
Copy link

netlify bot commented Jan 5, 2026

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 6f62599
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/695b9f6e791c800008f2fe98

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Jan 5, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello @LingyuCoder, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request is a preparatory step for the upcoming v2.0 alpha release. It involves a comprehensive update of version numbers across the entire project, affecting both the core Rust crates and their corresponding Node.js bindings. This ensures that all components are aligned with the new alpha release cycle.

Highlights

  • Version Bump for Rust Workspace: All Rust workspace packages, including rspack, rspack_allocator, rspack_core, and various plugins, have been updated from version 0.7.0 to 1.0.0-alpha.0.
  • Version Bump for Node.js Packages: All Node.js related packages, such as @rspack/binding, @rspack/core, @rspack/cli, and platform-specific bindings, have been updated from version 1.7.0 to 2.0.0-alpha.0.
  • Internal Version Constants Update: The internal version constants within crates/rspack_workspace/src/generated.rs have been updated to reflect the new 2.0.0-alpha.0 for the JavaScript package and 1.0.0-alpha.0 for the Rust workspace.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request bumps the versions of all packages for the v2.0 alpha release. The Rust crates are updated to 1.0.0-alpha.0 and the JavaScript packages to 2.0.0-alpha.0. The changes are mostly correct, but I've found a couple of critical issues with peerDependencies in some package.json files that were not updated along with the version bumps. These need to be fixed to avoid breaking user installations.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

Rsdoctor Bundle Diff Analysis

Found 5 projects in monorepo, 5 projects with changes.

📊 Quick Summary
Project Total Size Change
react-10k 5.7 MB +16.0 B (0.0%)
react-1k 825.4 KB +16.0 B (0.0%)
react-5k 2.7 MB +16.0 B (0.0%)
rome 984.4 KB +16.0 B (0.0%)
ui-components 2.1 MB +16.0 B (0.0%)
📋 Detailed Reports (Click to expand)

📁 react-10k

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

📌 Baseline Commit: 42c39a2f4a | PR: #12619

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

📦 Download Diff Report: react-10k Bundle Diff

📁 react-1k

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

📌 Baseline Commit: 42c39a2f4a | PR: #12619

Metric Current Baseline Change
📊 Total Size 825.4 KB 825.4 KB +16.0 B (0.0%)
📄 JavaScript 825.4 KB 825.4 KB +16.0 B (0.0%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 0 B 0 B 0

📦 Download Diff Report: react-1k Bundle Diff

📁 react-5k

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

📌 Baseline Commit: 42c39a2f4a | PR: #12619

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

📦 Download Diff Report: react-5k Bundle Diff

📁 rome

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

📌 Baseline Commit: 42c39a2f4a | PR: #12619

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

📦 Download Diff Report: rome Bundle Diff

📁 ui-components

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

📌 Baseline Commit: 42c39a2f4a | PR: #12619

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

📦 Download Diff Report: ui-components Bundle Diff

Generated by Rsdoctor GitHub Action

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

📦 Binary Size-limit

Comparing 6f62599 to refactor: replace UsageCallback closure with InnerGraphUsageOperation enum (#12619) by Fy

❌ Size increased by 1.50KB from 47.87MB to 47.87MB (⬆️0.00%)

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 5, 2026

CodSpeed Performance Report

Merging #12630 will not alter performance

Comparing release/2.0 (6f62599) with main (42c39a2)

Summary

✅ 16 untouched
⏩ 1 skipped1

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports.

@LingyuCoder LingyuCoder closed this Jan 6, 2026
@chenjiahan chenjiahan deleted the release/2.0 branch January 6, 2026 07:37
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.

2 participants