Skip to content

chore(deps): update rspack dependencies#79

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

chore(deps): update rspack dependencies#79
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rspack-deps

Conversation

@renovate

@renovate renovate Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence Type Update
@rspack/core (source) 2.0.52.0.6 age confidence dependencies patch
rspack_binding_build (source) =0.100.5=0.100.6 age confidence workspace.dependencies patch
rspack_binding_builder (source) =0.100.5=0.100.6 age confidence workspace.dependencies patch
rspack_binding_builder_macros (source) =0.100.5=0.100.6 age confidence workspace.dependencies patch
rspack_cacheable =0.100.5=0.100.6 age confidence workspace.dependencies patch
rspack_collections (source) =0.100.5=0.100.6 age confidence workspace.dependencies patch
rspack_core =0.100.5=0.100.6 age confidence workspace.dependencies patch
rspack_error =0.100.5=0.100.6 age confidence workspace.dependencies patch
rspack_hook =0.100.5=0.100.6 age confidence workspace.dependencies patch

Release Notes

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

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


Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • "before 6am on monday"
  • 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 dependencies label Jun 7, 2026
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.

0 participants