# rspack v2.2.0-rc.0 - Product: rspack (https://whatsnew.fyi/product/rspack) - Vendor: rspack - Date: 2026-08-21 - Version: v2.2.0-rc.0 - Original notes: https://github.com/web-infra-dev/rspack/releases/tag/v2.2.0-rc.0 - Permalink: https://whatsnew.fyi/product/rspack/releases/v2.2.0-rc.0 - Labels: Pre-release What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Integrate module code generation to the new cache - **added** — Add fine-grained new cache options - **changed** — Intern ArcPath as a single-allocation prehashed path - **changed** — Use rayon parallel scheduling for new cache db - **fixed** — CSS module dashed identifier and composes edge cases - **fixed** — Make Module.blocks and Module.dependencies fail gracefully while the module graph is under construction - **fixed** — Preserve reexport call context in concatenation - **fixed** — Validate new cache version - **fixed** — Use storage location for new cache - **fixed** — Make compare_modules_by_pre_order_index_or_identifier a total order - **fixed** — Await async modules in ProvidePlugin - **fixed** — Refine binding code generation result error handling - **fixed** — Restore tsconfig files as file dependencies ##### What's Changed ###### New Features 🎉 * feat: integrate module code generation to the new cache by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15194 * feat(cache): add fine-grained new cache options by @hardfist in https://github.com/web-infra-dev/rspack/pull/15261 ###### Performance 🚀 * perf(paths): intern ArcPath as a single-allocation prehashed path by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15205 * perf: use rayon parallel scheduling for new cache db by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15251 ###### Bug Fixes 🐞 * fix(css): CSS module dashed identifier and composes edge cases by @intellild in https://github.com/web-infra-dev/rspack/pull/15223 * fix: make Module.blocks and Module.dependencies fail gracefully while the module graph is under construction by @upupming in https://github.com/web-infra-dev/rspack/pull/15177 * fix: preserve reexport call context in concatenation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15247 * fix(cache): validate new cache version by @hardfist in https://github.com/web-infra-dev/rspack/pull/15237 * fix(cache): use storage location for new cache by @hardfist in https://github.com/web-infra-dev/rspack/pull/15250 * fix(ids): make compare_modules_by_pre_order_index_or_identifier a total order by @noyobo in https://github.com/web-infra-dev/rspack/pull/15260 * fix: await async modules in ProvidePlugin by @HashemKhalifa in https://github.com/web-infra-dev/rspack/pull/15143 * fix: refine binding code generation result error handling by @intellild in https://github.com/web-infra-dev/rspack/pull/15253 * fix(resolver): restore tsconfig files as file dependencies by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15264 ###### Document 📖 * docs: improve dynamic import magic comments by @SyMind in https://github.com/web-infra-dev/rspack/pull/15233 * docs: improve devtool configuration guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15239 * docs: expand devtool reference by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15241 * docs: improve target configuration guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15248 ###### Other Changes * chore(vscode): use Rstack extension as default formatter by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15245 * chore: update Rstack to v0.6.2 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15252 * ci: make sccache actually cache cargo check and clippy by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15235 * chore: align agent guidance by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15268 * revert: remove faster module concatenation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15262 ##### New Contributors * @noyobo made their first contribution in https://github.com/web-infra-dev/rspack/pull/15260 **Full Changelog**: https://github.com/web-infra-dev/rspack/compare/v2.2.0-beta.1...v2.2.0-rc.0