# rspack v2.2.2 - Product: rspack (https://whatsnew.fyi/product/rspack) - Vendor: rspack - Date: 2026-09-01 - Version: v2.2.2 - Original notes: https://github.com/web-infra-dev/rspack/releases/tag/v2.2.2 - Permalink: https://whatsnew.fyi/product/rspack/releases/v2.2.2 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** — Add infrastructure logging to the new cache - **added** — Add JavascriptModulesPlugin.getChunkFilenameTemplate - **changed** — Optimize deterministic module id assignment - **changed** — Share runtimes in flag dependency usage - **changed** — Optimize module rendering for chunk assets - **changed** — Optimize create module hashes - **fixed** — Generate correct prefetch child assets - **fixed** — Keep import.meta.url in createRequire when importMeta is disabled - **fixed** — Align module need_build and FileSystemInfo with webpack - **fixed** — Support all EnvironmentPlugin default values - **fixed** — Improve incremental chunk graph reuse - **fixed** — Await patch delivery before sealing completes in rsdoctor - **fixed** — Ignore exportsOnly in local ident hashes for CSS - **fixed** — Fallback eval devtools for modern-module - **fixed** — Report diagnostics for unsupported context modes ##### What's Changed ###### New Features 🎉 * feat(cache): add intrastructure logging to the new cache by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15338 * feat(javascript): add JavascriptModulesPlugin.getChunkFilenameTemplate by @kakiuwang-ui in https://github.com/web-infra-dev/rspack/pull/15280 ###### Performance 🚀 * perf(ids): optimize deterministic module id assignment by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15393 * perf: share runtimes in flag dependency usage by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15388 * perf(core): optimize module rendering for chunk assets by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15394 * perf(core): optimize create module hashes by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15396 ###### Bug Fixes 🐞 * fix(stats): generate correct prefetch child assets by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15208 * fix: keep import.meta.url in createRequire when importMeta is disabled by @lazerg in https://github.com/web-infra-dev/rspack/pull/15273 * fix(core): align module need_build and FileSystemInfo with webpack by @hardfist in https://github.com/web-infra-dev/rspack/pull/15374 * fix(types): support all EnvironmentPlugin default values by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15382 * fix: improve incremental chunk graph reuse by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15373 * fix(rsdoctor): await patch delivery before sealing completes by @kakiuwang-ui in https://github.com/web-infra-dev/rspack/pull/15399 * fix(css): ignore exportsOnly in local ident hashes by @mattcosta7 in https://github.com/web-infra-dev/rspack/pull/15364 * fix: fallback eval devtools for modern-module by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15404 * fix: report diagnostics for unsupported context modes by @dr4gan0x in https://github.com/web-infra-dev/rspack/pull/15361 ###### Refactor 🔨 * refactor(loader): reuse filesystem snapshots for cache dependencies by @intellild in https://github.com/web-infra-dev/rspack/pull/15366 * refactor(core): remove BuildInfo clone by @hardfist in https://github.com/web-infra-dev/rspack/pull/15377 ###### Document 📖 * docs: correct compact hashed API names by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15358 * docs: improve built-in plugin overview and examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15354 * docs: move webpack attribution to page footer by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15365 * docs: improve low-level plugin documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15368 * docs: update webpack plugin compatibility by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15369 * docs: remove version info before Rspack 1.3.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15371 * docs: standardize plugin documentation structure by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15378 * docs: improve BannerPlugin option documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15392 * docs: improve IgnorePlugin documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15395 * docs: improve plugin option documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15398 * docs: remove extra code block spacing in collapse panels by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15403 * docs: improve ContextReplacementPlugin documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15410 * docs: improve CssExtractRspackPlugin documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15411 * docs: improve HtmlRspackPlugin documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15412 * docs: improve HTML plugin guidance by @chenjiahan i _[Truncated at 4000 characters — full notes: https://github.com/web-infra-dev/rspack/releases/tag/v2.2.2]_