What's Changed
Performance Improvements ⚡
- perf(concatenate): optimize scope-hoisting build hot paths by @LingyuCoder in #13759
- perf: reduce string churn across identifiers, ids, and runtime helpers by @LingyuCoder in #13788
- perf: reuse cached module dependency lists in finish_modules by @LingyuCoder in #13808
- perf: reduce code splitter and module reference overhead by @LingyuCoder in #13816
- perf: reduce split chunks allocation overhead by @LingyuCoder in #13842
New Features 🎉
- feat: rsc entry debug comments by @SyMind in #13812
- feat(pure-functions): accept any top-level binding and trust consumer-side hints by @JSerFeng in #13810
Bug Fixes 🐞
- fix: module hash exports type hash should stable by @ahabhgk in #13796
- fix: exports info update hash should stable by @ahabhgk in #13798
- fix(esm): rewrite evaluated in operator for externals by @JSerFeng in #13803
- fix(cli): bundle published declaration files by @chenjiahan in #13807
- fix: align http-proxy-middleware with @rspack/dev-server by @chenjiahan in #13822
- fix(cli): respect devServer port in preview by @Sylar-W in #13838
- fix: enable module static cache in development by @hardfist in #13856
Refactor 🔨
- refactor: make parser_and_generator readonly by @hardfist in #13785
- refactor: remove prefetch functions for exports info by @ahabhgk in #13817
- refactor: cache logging to use atomic logger counters by @ahabhgk in #13825
Document Updates 📖
- docs(blog): add Rspack 2.0 release posts by @LingyuCoder in #13703
- docs(blog): add Rsbuild 2.0 announcement links by @chenjiahan in #13789
- docs: enable announcement banner by @chenjiahan in #13790
- docs: refresh README docs and benchmark links by @chenjiahan in #13791
- docs(blog): upgrade rstack-doc-ui version by @SoonIter in #13792
- docs: update blog authors and member avatars by @chenjiahan in #13815
- docs: clarify resolve.roots migration guide by @chenjiahan in #13819
- docs: fix wrong nested module rule example for strict this context by @ahabhgk in #13824
- docs: clarify dev server usage by @chenjiahan in #13847
- docs: clarify externalsType defaults by @JSerFeng in #13845
Other Changes
- chore(watcher): log raw fs events from notify in disk watcher by @stormslowly in #13778
- chore(deps): bump Rslint to 0.5.0 by @fansenze in #13793
- chore(ci): remove bench result check from CI by @hardfist in #13800
- ci: disable Windows CPU hogs to speed up CI by @stormslowly in #13722
- test(bench): make fast_set synchronous under codspeed by @LingyuCoder in #13811
- chore: document loader getOptions query string parsing by @hardfist in #13823
- chore(ci): add 40min timeout to ecosystem CI per commit job by @stormslowly in #13809
- chore(deps): update pnpm to v10.33.2 by @renovate[bot] in #13829
- chore(deps): update patch npm dependencies by @renovate[bot] in #13828
- chore(deps): update github-actions by @renovate[bot] in #13826
- chore: Revert "chore: move check-changed job to namespace" by @hardfist in #13835
- chore: move wasm test to self-hosted runner by @hardfist in #13836
- chore: move bench job to github runner by @hardfist in #13837
- chore(deps): update patch npm dependencies by @renovate[bot] in #13831
- chore(deps): update dependency enhanced-resolve to v5.21.0 by @renovate[bot] in #13832
- chore(deps): update patch crates by @renovate[bot] in #13827
- chore: bump @rslint/core to 0.5.1 by @fansenze in #13850
- test: reduce persistent cache bench output variance by @hardfist in #13852
- chore: upgrade swc_core from 64 to 65 by @hardfist in #13857
New Contributors
Full Changelog: v2.0.0...v2.0.1