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.122.1.10 age confidence
@rspack/core (source) 1.7.122.1.10 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://redirect.github

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 3 times, most recently from 2927aa8 to 30b83f7 Compare July 3, 2026 10:32
@renovate
renovate Bot force-pushed the renovate/major-rspack-monorepo branch 6 times, most recently from d711bb1 to 1bde8ce Compare July 16, 2026 16:17
@renovate
renovate Bot force-pushed the renovate/major-rspack-monorepo branch from 1bde8ce to 21dd2ab Compare July 17, 2026 13:56
@renovate
renovate Bot force-pushed the renovate/major-rspack-monorepo branch 4 times, most recently from ab876d4 to 5d2748d Compare July 31, 2026 13:42
@renovate
renovate Bot force-pushed the renovate/major-rspack-monorepo branch 3 times, most recently from 6ea85d5 to 9e366c8 Compare August 7, 2026 14:41
@renovate
renovate Bot force-pushed the renovate/major-rspack-monorepo branch from 9e366c8 to 5e095c1 Compare August 12, 2026 00:03
@renovate
renovate Bot force-pushed the renovate/major-rspack-monorepo branch from 5e095c1 to c9853d3 Compare August 16, 2026 11:19
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