Skip to content

chore(deps): update rspack monorepo to v2 (main)#590

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

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

Conversation

@renovate

@renovate renovate Bot commented May 18, 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.2.7^2.0.0 age confidence
@rspack/core (source) ^1.2.7^2.0.0 age confidence

Release Notes

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

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

Highlights

Support import.meta.glob

Rspack now supports import.meta.glob, a file-system import API already available in Vite and Turbopack. We chose to align with this ecosystem behavior.

const pages = import.meta.glob('./pages/**/*.tsx', {
  eager: true,
  import: 'default',
  query: { layout: 'docs' },
  base: './pages',
});
More controllable CSS module parsing

CSS modules can now control parsing for @import, animations, custom idents, and dashed idents through module.parser, so projects can match existing CSS Modules behavior more closely while migrating to Rspack.

export default {
  module: {
    parser: {
      'css/module': {
        import: true,
        animation: true,
        customIdents: true,
        dashedIdents: true,
      },
    },
  },
};

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞

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.

@pkg-pr-new

pkg-pr-new Bot commented May 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@intlify/bundle-utils@590
npm i https://pkg.pr.new/@intlify/unplugin-vue-i18n@590

commit: 92c948d

@renovate renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch from e9101ed to 8fb4b15 Compare May 20, 2026 16:07
@renovate renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch 2 times, most recently from ab16992 to cf20c0b Compare June 1, 2026 18:53
@renovate renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch from cf20c0b to da8c29b Compare June 10, 2026 15:41
@renovate renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch from da8c29b to 92c948d Compare June 26, 2026 06:53
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