Skip to content

Comments

feat(deps): update @rspack/core to ^1.7.5#7129

Merged
chenjiahan merged 2 commits intov1.xfrom
update_rspack_v1.7.5
Feb 3, 2026
Merged

feat(deps): update @rspack/core to ^1.7.5#7129
chenjiahan merged 2 commits intov1.xfrom
update_rspack_v1.7.5

Conversation

@chenjiahan
Copy link
Member

Summary

Update @rspack/core to ^1.7.5

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings February 3, 2026 08:45
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@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 primarily focuses on upgrading the core Rspack dependency to its latest version, 1.7.5. This update ensures the project benefits from the newest features, bug fixes, and performance improvements provided by Rspack. Concurrently, the project's dependency lockfile has been synchronized, and relevant end-to-end tests have been adapted to correctly handle character encoding, particularly for emoji, reflecting the updated behavior or expectations of the new Rspack version.

Highlights

  • Dependency Update: The @rspack/core dependency has been updated from version ~1.7.1 to ^1.7.5 in packages/core/package.json.
  • Lockfile Changes: The pnpm-lock.yaml file has been extensively updated to reflect the new @rspack/core version and its transitive dependencies across various packages and platform-specific bindings.
  • E2E Test Adjustments: End-to-end tests related to output charset and emoji filenames have been modified. Specifically, test calls were replaced with rspackTest, and assertions for content inclusion now use Unicode escape sequences for emoji characters to ensure correctness with the updated Rspack version.
Changelog
  • e2e/cases/output/charset-emoji-filename/index.test.ts
    • Imported rspackTest from @e2e/helper.
    • Replaced test with rspackTest for the build-related test case.
    • Updated the content assertion for emoji characters to use Unicode escape sequences (e.g., \uD83E\uDD80) instead of direct UTF-8 characters.
  • e2e/cases/output/charset/index.test.ts
    • Replaced test with rspackTest for test cases related to output.charset in build mode.
    • Adjusted content inclusion assertions to use Unicode escape sequences for UTF-8 strings when output.charset is set to ascii or when using the default UTF-8 charset.
  • packages/core/package.json
    • Updated the @rspack/core dependency version from ~1.7.1 to ^1.7.5.
  • pnpm-lock.yaml
    • Updated numerous entries for @rspack/core and its associated bindings (e.g., @rspack/binding-darwin-arm64, @rspack/binding-linux-x64-gnu, etc.) from version 1.7.1 to 1.7.5.
    • Updated various dependent packages that reference @rspack/core (e.g., @module-federation/enhanced, css-loader, html-rspack-plugin, postcss-loader, rspack-chain, sass-loader, stylus-loader, ts-checker-rspack-plugin) to reflect the new @rspack/core version in their resolution strings and integrity hashes.
Activity
  • The pull request was created by chenjiahan to update the @rspack/core dependency.
  • 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 the @rspack/core dependency to version ^1.7.5. The changes primarily involve updating end-to-end tests to accommodate the new output behavior of Rspack, specifically concerning how Unicode characters are escaped. The modifications in the tests appear correct and necessary. I've provided a few suggestions to enhance the maintainability of the tests by refactoring hardcoded strings.

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

Updates the @rspack/core dependency from ~1.7.1 to ^1.7.5, which changes from a locked minor version to allowing patch and minor updates. The PR also updates test assertions to reflect behavioral changes in the newer Rspack version regarding emoji/Unicode character handling in output files.

Changes:

  • Updates @rspack/core dependency version constraint in package.json
  • Modifies test expectations to match new Unicode encoding behavior for emojis and special characters in build output
  • Converts affected tests from test() to rspackTest() to properly scope version-specific behavior

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/core/package.json Updates @rspack/core dependency from ~1.7.1 to ^1.7.5
e2e/cases/output/charset/index.test.ts Updates test expectations for ASCII charset and UTF-8 encoding behavior, converting tests to rspackTest()
e2e/cases/output/charset-emoji-filename/index.test.ts Updates test expectations for emoji filename handling and converts test to rspackTest()
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 8f3e992 into v1.x Feb 3, 2026
7 checks passed
@chenjiahan chenjiahan deleted the update_rspack_v1.7.5 branch February 3, 2026 08:58
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