What's Changed
Performance Improvements ⚡
- perf(split-chunks): lazily precompute sorted modules for compare by @LingyuCoder in #13854
- perf(split-chunks): batch split chunk runtime updates by @LingyuCoder in #13859
- perf(split-chunks): optimize module chunk lookup by @LingyuCoder in #13873
- perf(build): reduce binding size with size-optimized Wasmtime crates by @Timeless0911 in #13877
New Features 🎉
- feat: add logging for persistent cache validation info by @ahabhgk in #13855
- feat(rslib): support emit isolated declarations by @Timeless0911 in #13872
- feat(create-rspack): support rslint template mapping by @chenjiahan in #13882
- feat(rstest): inject source-module origin into dynamic imports by @fi3ework in #13849
Bug Fixes 🐞
- fix: handle weak dynamic imports without async chunks by @hardfist in #13848
- fix(source-maps): avoid loader request in lightningcss source maps by @zalishchuk in #13830
- fix(rsc): handle server component css by server entry scope by @SyMind in #13844
- fix: sort ConcatenatedModule export keys for deterministic builds by @mango766 in #13425
- fix: use index maps for concatenated export rendering by @JSerFeng in #13875
- fix(core): ignore optional hono type imports by @chenjiahan in #13883
- fix(rsc): scope server-entry CSS collection by entry by @SyMind in #13878
- fix(rslib): make isolated dts metadata relative by @Timeless0911 in #13884
- fix(deps): update http-proxy-middleware to 4.0.0-beta.6 by @Darshan808 in #13909
- fix(plugin-library): skip unused exports in ModuleLibraryPlugin by @SAY-5 in #13920
- fix: expose numeric chunk ids in JS APIs by @JSerFeng in #13839
- fix(rsc): support void onServerComponentChanges callbacks by @SyMind in #13885
- fix: align module external remapping with webpack by @JSerFeng in #13802
Document Updates 📖
- docs: Add Shakapacker to Ecosystem (Ruby on Rails) by @cody-elhard in #13866
- docs: sync Shakapacker ecosystem docs to zh by @chenjiahan in #13867
- docs: fix Modern.js links by @chenjiahan in #13868
- docs: add TanStack Router to ecosystem by @chenjiahan in #13870
- docs: sort config options sidebar by @chenjiahan in #13874
- docs(faq): remove outdated React Server Components support section by @lajczi in #13898
- docs: sync zh FAQ with RSC update by @chenjiahan in #13902
- docs: add webpack package replacements by @chenjiahan in #13910
- docs: replace storybook roadmap link with migration guide by @fi3ework in #13923
- docs: clarify splitChunks name function by @JSerFeng in #13928
Other Changes
- chore: move check source changed jobs to self-hosted runner by @hardfist in #13862
- chore: release version 2.0.1 by @intellild in #13860
- chore(benchmark): disable minimize for bundle codspeed by @LingyuCoder in #13871
- chore(deps): update dependency happy-dom to ^20.9.0 by @renovate[bot] in #13833
- chore(deps): update dependency toml to v4 by @renovate[bot] in #13892
- chore(deps): update dependency image-minimizer-webpack-plugin to v5 by @renovate[bot] in #13891
- chore(deps): update dependency lint-staged to ^16.4.0 by @renovate[bot] in #13887
- chore(deps): update dependency @module-federation/runtime-tools to v2.4.0 by @renovate[bot] in #13886
- chore(deps): update dependency cspell to v10 by @renovate[bot] in #13897
- chore(deps): update dependency @shikijs/transformers to v4 by @renovate[bot] in #13896
- chore(deps): update dependency mermaid to ^11.14.0 by @renovate[bot] in #13894
- chore(deps): update dependency terser-webpack-plugin to ^5.5.0 by @renovate[bot] in #13889
- chore(deps): update dependency ws to ^8.20.0 by @renovate[bot] in #13895
- chore(deps): update patch npm dependencies by @renovate[bot] in #13900
- build: replace webpack-merge with rspack-merge by @intellild in #13907
- chore(deps): update rust crate rayon to 1.12.0 by @renovate[bot] in #13904
- chore(deps): update rust crate oneshot to 0.2.1 by @renovate[bot] in #13903
- chore(deps): update dependency exit-hook to v5 by @renovate[bot] in #13906
- chore(deps): update yarn to v4.14.1 by @renovate[bot] in #13905
- chore(deps): update dependency memfs to v4.57.2 by @renovate[bot] in #13888
- chore(deps): update dependency watchpack to v2.5.1 by @renovate[bot] in #13890
- chore(deps): update dependency axios to ^1.16.0 by @renovate[bot] in #13911
- chore(deps): update rust crate hashlink to 0.11.0 by @renovate[bot] in #13912
- chore(deps): update rust crate indexmap to 2.14.0 by @renovate[bot] in #13913
- chore(deps): remove http-proxy-middleware dts patch by @chenjiahan in #13919
- chore(deps): update dependency @discoveryjs/json-ext to v1 by @renovate[bot] in #13916
- chore(deps): update napi by @renovate[bot] in #13899
New Contributors
- @zalishchuk made their first contribution in #13830
- @cody-elhard made their first contribution in #13866
- @mango766 made their first contribution in #13425
- @lajczi made their first contribution in #13898
- @Darshan808 made their first contribution in #13909
- @SAY-5 made their first contribution in #13920
Full Changelog: v2.0.1...v2.0.2