Skip to content

chore(deps): update dependency @rspack/core to v2#62

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

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

Conversation

@renovate

@renovate renovate Bot commented Apr 22, 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/core (source) ^1.7.7^2.0.0 age confidence

Release Notes

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

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

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 cont

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 this update 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 force-pushed the renovate/major-rspack-monorepo branch from 5dbbc55 to 0c0fe60 Compare April 28, 2026 14:08
@renovate renovate Bot force-pushed the renovate/major-rspack-monorepo branch 2 times, most recently from d9f975c to 8d90a6b Compare May 12, 2026 11:29
@renovate renovate Bot force-pushed the renovate/major-rspack-monorepo branch from 8d90a6b to d619cb4 Compare May 20, 2026 13:52
@renovate renovate Bot force-pushed the renovate/major-rspack-monorepo branch 2 times, most recently from 1a97be4 to f7922e7 Compare June 2, 2026 19:26
@renovate renovate Bot changed the title chore(deps): update dependency @rspack/core to v2 chore(deps): update rspack monorepo to v2 Jun 2, 2026
@renovate renovate Bot force-pushed the renovate/major-rspack-monorepo branch 2 times, most recently from a6222eb to c589110 Compare June 10, 2026 17:31
@renovate renovate Bot force-pushed the renovate/major-rspack-monorepo branch from c589110 to 5901d9a Compare June 17, 2026 19:52
@renovate renovate Bot changed the title chore(deps): update rspack monorepo to v2 chore(deps): update rspack monorepo (major) Jun 22, 2026
@renovate renovate Bot changed the title chore(deps): update rspack monorepo (major) chore(deps): update dependency @rspack/core to v2 Jun 25, 2026
@renovate renovate Bot force-pushed the renovate/major-rspack-monorepo branch 4 times, most recently from 13a4829 to 9fe72ce Compare June 28, 2026 10:19
@renovate renovate Bot force-pushed the renovate/major-rspack-monorepo branch from 9fe72ce to 8e0cc72 Compare July 1, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants