Skip to content

feat(deps): update @rspack/core to 2.0.0-beta.2#7172

Merged
chenjiahan merged 1 commit intomainfrom
update_rspack_core_0211
Feb 11, 2026
Merged

feat(deps): update @rspack/core to 2.0.0-beta.2#7172
chenjiahan merged 1 commit intomainfrom
update_rspack_core_0211

Conversation

@chenjiahan
Copy link
Member

Summary

Update @rspack/core to 2.0.0-beta.2 and update test snapshots.

Related Links

web-infra-dev/rspack#13041

Checklist

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

Copilot AI review requested due to automatic review settings February 11, 2026 05:14
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @chenjiahan, 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 focuses on a crucial dependency upgrade, moving the project's core Rspack dependency to a newer beta version. This update ensures the project benefits from the latest improvements and fixes in Rspack, while also requiring corresponding adjustments to test snapshots and the package lock file to maintain consistency and stability across the codebase.

Highlights

  • Dependency Update: The @rspack/core dependency has been updated from 2.0.0-beta.0 to 2.0.0-beta.2 in packages/core/package.json.
  • Test Snapshot Updates: Existing test snapshots for module federation (moduleFederation.test.ts.snap) have been updated to reflect changes introduced by the new @rspack/core version.
  • Lock File Synchronization: The pnpm-lock.yaml file has been comprehensively updated to synchronize all related dependencies, including various @rspack/binding packages and other loaders, with the new @rspack/core version and its associated integrity hashes.
Changelog
  • packages/core/package.json
    • Updated @rspack/core dependency to 2.0.0-beta.2.
  • packages/core/tests/snapshots/moduleFederation.test.ts.snap
    • Updated module federation test snapshots to include _treeShakingSharedPlugin: undefined.
  • pnpm-lock.yaml
    • Updated @rspack/core and various @rspack/binding packages to 2.0.0-beta.2.
    • Adjusted peer dependency range for @module-federation/runtime-tools in @rspack/core.
    • Updated integrity hashes for all affected @rspack related packages and their transitive dependencies.
Activity
  • No human activity (comments, reviews) has been recorded on this pull request yet.
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
Contributor

@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 updates @rspack/core from 2.0.0-beta.0 to 2.0.0-beta.2. The changes in package.json, pnpm-lock.yaml, and test snapshots are all consistent with this dependency bump. The snapshot updates correctly reflect changes in the ModuleFederationPlugin object, and the lockfile modifications are as expected for this version change. The update appears to be clean and correct.

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 pull request updates the @rspack/core dependency from version 2.0.0-beta.0 to 2.0.0-beta.2, incorporating upstream changes from rspack and updating test snapshots to reflect the changes in the new version.

Changes:

  • Updated @rspack/core from 2.0.0-beta.0 to 2.0.0-beta.2 in packages/core/package.json
  • Updated all transitive dependency references in pnpm-lock.yaml
  • Updated test snapshots to include the new _treeShakingSharedPlugin field added to ModuleFederationPlugin by rspack

Reviewed changes

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

File Description
packages/core/package.json Updated @rspack/core version specifier from 2.0.0-beta.0 to 2.0.0-beta.2
pnpm-lock.yaml Updated all lock file entries for @rspack/core and related bindings from beta.0 to beta.2, including transitive dependencies
packages/core/tests/snapshots/moduleFederation.test.ts.snap Added _treeShakingSharedPlugin: undefined field to ModuleFederationPlugin snapshots reflecting internal changes in rspack
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 merged commit 521f956 into main Feb 11, 2026
12 checks passed
@chenjiahan chenjiahan deleted the update_rspack_core_0211 branch February 11, 2026 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant