What's Changed
Breaking Changes 🛠
New Features 🎉
- feat: improve external module rendering by @JSerFeng in #12813
- feat: builtin react server component by @SyMind in #12012
- feat: expose dependency loc to js by @JSerFeng in #12840
Bug Fixes 🐞
- fix(template): add @rspack/dev-server to dev dependencies by @LingyuCoder in #12821
- fix: normalize paths for extract source map by @ahabhgk in #12825
- fix(mf): use dynamic exports type for MF modules by @ahabhgk in #12841
- fix: should not panic when access slate stats by @SyMind in #12839
- fix(mf): prevent entry-specific chunks from polluting manifest assets and refactor manifest generation by @2heal1 in #12836
Refactor 🔨
- refactor: align IncrementalPass with rspack hooks naming by @hardfist in #12817
- refactor: remove misleadning naming and adjust cache call place by @hardfist in #12818
- refactor: unify persistent_cache and memory_cache recover logic by @hardfist in #12829
- refactor: additional chunk runtime requirements hook use readonly compilation ref by @stormslowly in #12828
- refactor: move recover build_chunk_graph into artifact by @hardfist in #12835
Document Updates 📖
- docs: update externals function callback about
booleantype by @9aoy in #12824 - docs: add tip for devtool's cheap modifier in production build by @SyMind in #12849
Other Changes
- release: version 2.0.0-alpha.0 by @LingyuCoder in #12815
- chore(ci): read size limit threshold from env variable by @stormslowly in #12822
- chore(deps): update dependency lodash-es to v4.17.23 [security] by @renovate[bot] in #12833
- chore(test): exclude flaky native watch test case by @stormslowly in #12837
Full Changelog: v2.0.0-alpha.0...v2.0.0-alpha.1