Skip to content

chore(deps): update rspack monorepo to v2#2931

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-rspack-monorepo
Open

chore(deps): update rspack monorepo to v2#2931
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-rspack-monorepo

Conversation

@renovate

@renovate renovate Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@rspack/cli (source) 1.7.112.1.2 age confidence
@rspack/core (source) 1.7.112.1.2 age confidence

Release Notes

web-infra-dev/rspack (@​rspack/cli)

v2.1.2

Compare Source

What's Changed
Highlights 💡
Support import.meta style module variables

Rspack now exposes more module variables through import.meta, which aligns better with the ESM specification than CommonJS-style injected globals. When authoring ESM modules, import.meta is now the recommended way to access these runtime values.

The newly supported import.meta properties are:

New import.meta API Existing runtime variable
import.meta.rspackPublicPath __webpack_public_path__
import.meta.rspackBaseUri __webpack_base_uri__
import.meta.rspackShareScopes __webpack_share_scopes__
import.meta.rspackInitSharing __webpack_init_sharing__
import.meta.rspackNonce __webpack_nonce__
import.meta.rspackUniqueId __rspack_unique_id__
import.meta.rspackVersion __rspack_version__
import.meta.rspackHash __webpack_hash__
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v2.1.1...v2.1.2

v2.1.1

Compare Source

What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.0...v2.1.1

v2.1.0

Compare Source

What's Changed

🎉 See Announcing Rspack 2.1 for more details.

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspack@v2.0.8...v2.1.0

v2.0.8

Compare Source

What's Changed

Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rspack@v2.0.7...v2.0.8

v2.0.7

Compare Source

[!WARNING]
v2.0.7 has been deprecated because it may generate incorrect Rspack build outputs.

Please do not install or use v2.0.7. Upgrade to v2.0.8 instead, which was released as the fix for this issue.

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v2.0.6...v2.0.7

v2.0.6

Compare Source

Highlights

React Server Components: enforce server-only / client-only boundaries

RSC builds now validate the server-only and client-only marker packages. Importing a client-only module from a server-graph module (or a server-only module from a client-graph module) is reported as a diagnostic. This marker-package validation always runs and is independent of disableClientApiChecks, which now only scopes the React client-API checks.

// server component (server graph)
import 'client-only'; // ❌ reported: client-only imported in a server module

// client component (client graph)
import 'server-only'; // ❌ reported: server-only imported in a client module
Expose DeterministicModuleIdsPlugin

The webpack-compatible deterministic module id plugin is now exposed through the JS API as rspack.ids.DeterministicModuleIdsPlugin, giving you fine-grained control over module ids for long-term caching. It supports the webpack options test, maxLength, salt, fixedLength, and failOnConflict.

const rspack = require('@​rspack/core');

module.exports = {
  optimization: { moduleIds: false },
  plugins: [
    new rspack.ids.DeterministicModuleIdsPlugin({
      maxLength: 5,
      failOnConflict: true,
    }),
  ],
};
CSS Modules: preserve composes cascade order

CSS Modules now use a shared topological sort to keep the source order of composes, so composed declarations land in the output cascade in the order you authored them. This fixes subtle specificity surprises when composing local class names across modules.

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v2.0.5...v2.0.6

v2.0.5

[Compare Source](https://redirect.githu

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Jun 16, 2026
@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
Title Lines Statements Branches Functions
All Coverage: 65%
65.76% (4312/6557) 36.73% (1711/4658) 55.46% (538/970)

❌ No tests were found related to the files changed

@renovate renovate Bot force-pushed the renovate/major-rspack-monorepo branch 2 times, most recently from bdb2ff3 to 16ff6f0 Compare June 18, 2026 13:05
@renovate renovate Bot force-pushed the renovate/major-rspack-monorepo branch 2 times, most recently from b5087fe to 2927aa8 Compare June 30, 2026 05:05
@renovate renovate Bot force-pushed the renovate/major-rspack-monorepo branch from 2927aa8 to 30b83f7 Compare July 3, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants