What's Changed
New Features 馃帀
- feat(cache): add intrastructure logging to the new cache by @ahabhgk in #15338
- feat(javascript): add JavascriptModulesPlugin.getChunkFilenameTemplate by @kakiuwang-ui in #15280
Performance 馃殌
- perf(ids): optimize deterministic module id assignment by @LingyuCoder in #15393
- perf: share runtimes in flag dependency usage by @LingyuCoder in #15388
- perf(core): optimize module rendering for chunk assets by @LingyuCoder in #15394
- perf(core): optimize create module hashes by @LingyuCoder in #15396
Bug Fixes 馃悶
- fix(stats): generate correct prefetch child assets by @chenjiahan in #15208
- fix: keep import.meta.url in createRequire when importMeta is disabled by @lazerg in #15273
- fix(core): align module need_build and FileSystemInfo with webpack by @hardfist in #15374
- fix(types): support all EnvironmentPlugin default values by @chenjiahan in #15382
- fix: improve incremental chunk graph reuse by @LingyuCoder in #15373
- fix(rsdoctor): await patch delivery before sealing completes by @kakiuwang-ui in #15399
- fix(css): ignore exportsOnly in local ident hashes by @mattcosta7 in #15364
- fix: fallback eval devtools for modern-module by @JSerFeng in #15404
- fix: report diagnostics for unsupported context modes by @dr4gan0x in #15361
Refactor 馃敤
- refactor(loader): reuse filesystem snapshots for cache dependencies by @intellild in #15366
- refactor(core): remove BuildInfo clone by @hardfist in #15377
Document 馃摉
- docs: correct compact hashed API names by @LingyuCoder in #15358
- docs: improve built-in plugin overview and examples by @chenjiahan in #15354
- docs: move webpack attribution to page footer by @chenjiahan in #15365
- docs: improve low-level plugin documentation by @chenjiahan in #15368
- docs: update webpack plugin compatibility by @chenjiahan in #15369
- docs: remove version info before Rspack 1.3.0 by @chenjiahan in #15371
- docs: standardize plugin documentation structure by @chenjiahan in #15378
- docs: improve BannerPlugin option documentation by @chenjiahan in #15392
- docs: improve IgnorePlugin documentation by @chenjiahan in #15395
- docs: improve plugin option documentation by @chenjiahan in #15398
- docs: remove extra code block spacing in collapse panels by @LingyuCoder in #15403
- docs: improve ContextReplacementPlugin documentation by @chenjiahan in #15410
- docs: improve CssExtractRspackPlugin documentation by @chenjiahan in #15411
- docs: improve HtmlRspackPlugin documentation by @chenjiahan in #15412
- docs: improve HTML plugin guidance by @chenjiahan in #15414
Other Changes
- chore(deps): update dependency @microsoft/api-extractor to ^7.59.0 by @renovate[bot] in #15385
- chore(deps): update patch npm dependencies by @renovate[bot] in #15383
- chore: replace Rstack CLI skill by @chenjiahan in #15387
- chore(deps): update dependency @module-federation/runtime-tools to v2.9.0 by @renovate[bot] in #15386
- chore(deps): update dependency jest-diff to ^30.5.0 by @renovate[bot] in #15389
- chore(deps): update dependency pretty-format to v30.5.0 by @renovate[bot] in #15390
- chore(release): bump all published crates in crate-version by @stormslowly in #15367
- ci: refresh self-hosted cache action reference by @deanjingshui in #15407
- chore: use heading-case as a formatter plugin by @chenjiahan in #15405
- chore(deps): update github-actions by @renovate[bot] in #15413
- chore(ci): validate website builds for fork pull requests by @LingyuCoder in #15408
New Contributors
- @mattcosta7 made their first contribution in #15364
Full Changelog: v2.2.1...v2.2.2