Skip to content

chore(deps): update rspack to v2.2.1 - #3415

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

chore(deps): update rspack to v2.2.1#3415
lynxassistant[bot] wants to merge 1 commit into
mainfrom
renovate/rspack

Conversation

@lynxassistant

@lynxassistant lynxassistant Bot commented Aug 8, 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) 2.1.72.2.1 age confidence
@rspack/core (source) 2.1.72.2.1 age confidence
@rspack/dev-server 2.1.02.2.1 age confidence

Release Notes

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

v2.2.1

Compare Source

Highlights
Corrected compact-hashed IDs naming

Rspack 2.2.0 introduced compact hashed module and chunk IDs under the mistakenly named compat-hashed option and CompatHashedModuleIdsPlugin / CompatHashedChunkIdsPlugin APIs. Rspack 2.2.1 corrects these names to compact-hashed, CompactHashedModuleIdsPlugin, and CompactHashedChunkIdsPlugin.

The names introduced in 2.2.0 remain available as deprecated compatibility aliases, but we recommend upgrading to Rspack 2.2.1 and using the corrected names:

module.exports = {
  optimization: {
    moduleIds: 'compact-hashed',
    chunkIds: 'compact-hashed',
  },
};
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v2.2.0...v2.2.1

v2.2.0

Compare Source

What's Changed
🎉 See Announcing Rspack 2.2 for more details.
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
New Contributors

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

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

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 has been generated by Mend Renovate CLI.

@lynxassistant lynxassistant Bot added bot:renovate This is from bot 'renovate' upstream:rspack labels Aug 8, 2026
@changeset-bot

changeset-bot Bot commented Aug 8, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 73551a4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov

codecov Bot commented Aug 8, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3612 1 3611 88
View the top 1 failed test(s) by shortest run time
packages/rspeedy/plugin-qrcode/test/index.test.ts > Plugins - Terminal > schema > custom schema object
Stack Traces | 10.1s run time
Error: Matcher did not succeed in time.
 ❯ test/index.test.ts:220:10

Caused by: Caused by: Caused by: AssertionError: expected "renderUnicodeCompact" to be called 2 times, but got 1 times
View the full list of 1 ❄️ flaky test(s)
lynx-headless-rust-test-runner::parallel_containers::independent_threads_each_drive_their_own_container

Flake rate in main: 100.00% (Passed 0 times, Failed 2 times)

Stack Traces | 0.063s run time
process aborted with signal 11 (SIGSEGV)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@codspeed-hq

codspeed-hq Bot commented Aug 8, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 7.49%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚡ 3 improved benchmarks
✅ 265 untouched benchmarks
⏩ 26 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime 004-various-update__main-thread-setAttribute__ListItemPlatformInfoSpread 24.4 µs 22.6 µs +7.93%
Simulation 004-various-update__main-thread-setAttribute__ListItemPlatformInfoSpread 125.1 µs 116 µs +7.79%
WallTime 004-various-update__main-thread-setAttribute__Spread 81.2 µs 76 µs +6.76%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing renovate/rspack (73551a4) with main (0a52438)

Open in CodSpeed

Footnotes

  1. 26 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@relativeci

relativeci Bot commented Aug 8, 2026

Copy link
Copy Markdown

React MTF Example

#4787 Bundle Size — 210.06KiB (+0.01%).

73551a4(current) vs 0a52438 main#4776(baseline)

Bundle metrics  Change 1 change
                 Current
#4787
     Baseline
#4776
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
Change  Cache Invalidation 47.04% 0%
No change  Chunks 0 0
No change  Assets 3 3
No change  Modules 215 215
No change  Duplicate Modules 82 82
No change  Duplicate Code 43.05% 43.05%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#4787
     Baseline
#4776
No change  IMG 111.23KiB 111.23KiB
Regression  Other 98.83KiB (+0.03%) 98.8KiB

Bundle analysis reportBranch renovate/rspackProject dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci

relativeci Bot commented Aug 8, 2026

Copy link
Copy Markdown

React External

#4765 Bundle Size — 581.98KiB (~+0.01%).

73551a4(current) vs 0a52438 main#4754(baseline)

Bundle metrics  Change 3 changes
                 Current
#4765
     Baseline
#4754
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
Change  Cache Invalidation 31.93% 2.57%
No change  Chunks 0 0
No change  Assets 3 3
Change  Modules 21(+5%) 20
No change  Duplicate Modules 5 5
Change  Duplicate Code 5.28%(-2.94%) 5.44%
No change  Packages 0 0
No change  Duplicate Packages 0 0
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#4765
     Baseline
#4754
Regression  Other 581.98KiB (~+0.01%) 581.93KiB

Bundle analysis reportBranch renovate/rspackProject dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci

relativeci Bot commented Aug 8, 2026

Copy link
Copy Markdown

Web Explorer

#13251 Bundle Size — 1.29MiB (~-0.01%).

73551a4(current) vs 0a52438 main#13240(baseline)

Bundle metrics  Change 3 changes Regression 1 regression
                 Current
#13251
     Baseline
#13240
Regression  Initial JS 46.04KiB(+0.12%) 45.99KiB
No change  Initial CSS 2.37KiB 2.37KiB
Change  Cache Invalidation 55.97% 0%
No change  Chunks 11 11
No change  Assets 13 13
Change  Modules 319(-0.62%) 321
No change  Duplicate Modules 15 15
No change  Duplicate Code 19.37% 19.37%
No change  Packages 14 14
No change  Duplicate Packages 0 0
Bundle size by type  Change 1 change Improvement 1 improvement
                 Current
#13251
     Baseline
#13240
Improvement  JS 756.7KiB (-0.01%) 756.78KiB
No change  Other 564.93KiB 564.93KiB
No change  CSS 2.37KiB 2.37KiB

Bundle analysis reportBranch renovate/rspackProject dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci

relativeci Bot commented Aug 8, 2026

Copy link
Copy Markdown

React Example with Element Template

#3925 Bundle Size — 227.02KiB (0%).

73551a4(current) vs 0a52438 main#3914(baseline)

Bundle metrics  no changes
                 Current
#3925
     Baseline
#3914
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
No change  Cache Invalidation 0% 0%
No change  Chunks 0 0
No change  Assets 4 4
No change  Modules 175 175
No change  Duplicate Modules 62 62
No change  Duplicate Code 36.62% 36.62%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#3925
     Baseline
#3914
No change  IMG 145.76KiB 145.76KiB
No change  Other 81.26KiB 81.26KiB

Bundle analysis reportBranch renovate/rspackProject dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci

relativeci Bot commented Aug 8, 2026

Copy link
Copy Markdown

React Example

#11664 Bundle Size — 238.82KiB (+0.01%).

73551a4(current) vs 0a52438 main#11653(baseline)

Bundle metrics  Change 1 change
                 Current
#11664
     Baseline
#11653
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
Change  Cache Invalidation 38.96% 0%
No change  Chunks 0 0
No change  Assets 4 4
No change  Modules 220 220
No change  Duplicate Modules 85 85
No change  Duplicate Code 43.6% 43.6%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#11664
     Baseline
#11653
No change  IMG 145.76KiB 145.76KiB
Regression  Other 93.07KiB (+0.03%) 93.03KiB

Bundle analysis reportBranch renovate/rspackProject dashboard


Generated by RelativeCIDocumentationReport issue

@lynxassistant
lynxassistant Bot force-pushed the renovate/rspack branch 4 times, most recently from b2b4ef9 to 504557b Compare August 14, 2026 16:04
@lynxassistant

lynxassistant Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Command failed: node .github/scripts/generate-renovate-changeset.cjs
node:internal/modules/cjs/loader:1520
  throw err;
  ^

Error: Cannot find module 'yaml'
Require stack:
- /tmp/renovate/repos/github/lynx-family/lynx-stack/.github/scripts/generate-renovate-changeset.cjs
    at Module._resolveFilename (node:internal/modules/cjs/loader:1517:15)
    at wrapResolveFilename (node:internal/modules/cjs/loader:1071:27)
    at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1095:10)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1122:12)
    at Module._load (node:internal/modules/cjs/loader:1294:5)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1617:12)
    at require (node:internal/modules/helpers:153:16)
    at Object.<anonymous> (/tmp/renovate/repos/github/lynx-family/lynx-stack/.github/scripts/generate-renovate-changeset.cjs:16:30)
    at Module._compile (node:internal/modules/cjs/loader:1872:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/tmp/renovate/repos/github/lynx-family/lynx-stack/.github/scripts/generate-renovate-changeset.cjs'
  ]
}

Node.js v24.19.0

@lynxassistant
lynxassistant Bot force-pushed the renovate/rspack branch 4 times, most recently from a887bf9 to afddb70 Compare August 21, 2026 16:12
@lynxassistant
lynxassistant Bot force-pushed the renovate/rspack branch 2 times, most recently from b99ec8f to 040e694 Compare August 29, 2026 04:05
@lynxassistant lynxassistant Bot changed the title chore(deps): update rspack chore(deps): update rspack to v2.2.1 Aug 30, 2026
@codspeed-hq

codspeed-hq Bot commented Aug 30, 2026

Copy link
Copy Markdown

Unable to generate the flame graphs

The performance report has correctly been generated, but there was an internal error while generating the flame graphs for this run. We're working on fixing the issue. Feel free to contact us on Discord or at support@codspeed.io if the issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:renovate This is from bot 'renovate' upstream:rspack

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants