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.10

Compare Source

[!NOTE]
Removed noisy import.meta warnings

Rspack 2.1.9 introduced warnings for unknown import.meta properties. Because they proved overly noisy in real-world builds, Rspack 2.1.10 removes them to reduce unnecessary diagnostics for custom or runtime-specific extensions. See #​15166 for detail.

What's Changed
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.9...v2.1.10

v2.1.9

Compare Source

What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.8...v2.1.9

v2.1.8

Compare Source

Highlights

Persistent cache storage options now align with webpack

Rspack now supports cache.name and cache.storage.location, aligning with webpack's persistent cache semantics. cache.storage.directory is now the base directory, while the final cache location defaults to <directory>/<cache.name>. Default cache paths remain unchanged.

If you previously used storage.directory as the exact cache path, migrate it to storage.location. Existing cache data is not migrated automatically.

cache: {
  type: 'persistent',
  storage: {
    type: 'filesystem',
-   directory: '/custom/cache',
+   location: '/custom/cache',
  },
}

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
  • refactor(binding): replace compilation pointers with compilation ids by @​SyMind in #​14988
Document 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.7...v2.1.8

v2.1.7

Compare Source

Notice: The import.meta.env experimental feature introduced in Rspack 2.1.6 has been removed in Rspack 2.1.7.

What's Changed

Performance 🚀
Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rspack@v2.1.6...v2.1.7

v2.1.6

Compare Source

What's Changed

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

New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.5...v2.1.6

v2.1.5

Compare Source

What's Changed

Bug Fixes 🐞
Refactor 🔨
Other Changes

Full Changelog: web-infra-dev/rspack@v2.1.4...v2.1.5

v2.1.4

Compare Source

Highlights

Fine-grained import.meta parser options

module.parser.javascript.importMeta now accepts an object so each known import.meta property can be configured independently, on top of the existing true / false / 'preserve-unknown' values. Properties set to false are preserved for runtime evaluation, omitted properties keep their default behavior, and unknown properties are preserved. Both webpack-compatible keys (dirname, filename, main, url, webpack, webpackContext) and Rspack-specific keys (rspackHash, rspackPublicPath, glob, ...) are supported.

export default {
  module: {
    parser: {
      javascript: {
        importMeta: {
          // keep `import.meta.url` for runtime evaluation
          url: false,
          // keep the compile-time replacement of `import.meta.webpack`
          webpack: true,
        },
      },
    },
  },
};
Static worker URL output

module.parser.javascript.worker now accepts an object form with alias and url, alongside the existing boolean and string[] forms. With url: 'new-url-relative' and output.module enabled, Rspack emits a static new URL() expression for new Worker(new URL(..., import.meta.url)) instead of runtime code, honoring output.publicPath and output.workerPublicPath.

export default {
  output: {
    module: true,
    chunkFilename: '[name].bundle.js',
  },
  module: {
    parser: {
      javascript: {
        worker: {
          url: 'new-url-relative',
        },
      },
    },
  },
};
new Worker(new URL('./worker.js', import.meta.url));

// would become 👇
new Worker(new URL('./worker.bundle.js', import.meta.url));

What's Changed

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

New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.3...v2.1.4

[v2.1.3](https://redirec

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: 00f737a

@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 2 times, most recently from 92c948d to 28fb3a2 Compare June 30, 2026 11:01
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch 2 times, most recently from 7b2a494 to 3ec561c Compare July 12, 2026 11:36
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch from 3ec561c to c90cdad Compare July 16, 2026 17:53
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch 2 times, most recently from 7d8f78e to 096989d Compare July 30, 2026 16:49
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch 2 times, most recently from 109242d to d0d1a89 Compare August 13, 2026 10:54
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch from d0d1a89 to 00f737a Compare August 14, 2026 11:10
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