What's Changed
Breaking Changes 🛠
- feat!: disable bundlerInfo force by default by @LingyuCoder in #13599
Performance Improvements ⚡
- perf(javascript): cache non-nested export target lookups by @LingyuCoder in #13545
- perf(rspack-sources): perf potential tokens and source map to json by @SyMind in #13497
- perf: modules should use IdentifierHasher by @SyMind in #13601
New Features 🎉
- feat: Implement HashedModuleIdsPlugin by @aancuta in #13197
- feat: add TryFutureConsumer with short-circuit cancellation by @jerrykingxyz in #13554
- feat(binding): add active-related APIs to ModuleGraphConnection by @JSerFeng in #13548
- feat: support optimize side effects free function calls by @JSerFeng in #12559
- feat(node-binding): add external wasm debug info for wasm dwarf debugging by @hardfist in #13638
Bug Fixes 🐞
- fix(cli): surface fatal errors and unhandled rejections on process exit by @briansilah in #13506
- fix: multicompiler devServer false support in serve by @LingyuCoder in #13572
- fix(cli): bundle lazy-loaded helper deps by @chenjiahan in #13587
- fix: cjs self reference mangle exports by @ahabhgk in #13588
- fix(esm-library): emit empty export for empty node chunks by @JSerFeng in #13462
- fix(wasm): avoid blocking-thread work under node:wasi by @hardfist in #13598
- fix(core): move connection states to ModuleGraphConnection by @JSerFeng in #13624
- fix(side-effects): respect DefinePlugin purity evaluation by @ahabhgk in #13628
- fix(externals): correct external type for aliased node builtin externals by @JSerFeng in #13627
Refactor 🔨
- refactor: rename rspack_futures to rspack_parallel by @jerrykingxyz in #13547
- refactor: Refactor build chunk graph artifact render state reset by @hardfist in #13569
- refactor(split-chunks): reduce module group allocation churn by @LingyuCoder in #13560
- refactor(watcher): clean up stale entries from watch_patterns after unwatch by @jaehafe in #13511
- refactor(storage): db switch to readonly mode when save failed by @jerrykingxyz in #13584
- refactor: persistent cache remove lock by @jerrykingxyz in #13589
- refactor: improve persistent cache load error handling by @jerrykingxyz in #13608
Document Updates 📖
- docs: improve docs for worker custom syntax by @ahabhgk in #13552
- docs: improve
import.metadocs by @ahabhgk in #13574 - docs: update image-minimizer-webpack-plugin compatibility status to compatible by @jaehafe in #13618
- docs: update import for React Refresh plugin by @chenjiahan in #13632
Other Changes
- chore(release): release 2.0.0-rc.0 by @LingyuCoder in #13537
- chore(security): use rspack scoped mocked react by @stormslowly in #13551
- chore: Update AGENTS concurrency guidance by @hardfist in #13553
- chore: Remove chunk graph DOT generation logic by @hardfist in #13549
- chore(deps): update dependency @rslint/core to v0.3.4 by @renovate[bot] in #13561
- chore(deps): update dependency @module-federation/runtime-tools to v2.3.1 by @renovate[bot] in #13562
- test: format rspack test configs with prettier by @chenjiahan in #13571
- chore: run
@rspack/cli,@rspack/teststests sequentially in wasm by @CPunisher in #13557 - chore(deps): update dependency lodash-es to v4.18.1 [security] by @renovate[bot] in #13585
- chore: switch codspeed official action by @CPunisher in #13582
- chore(deps): update dependency lodash to v4.18.1 [security] by @renovate[bot] in #13586
- chore: Update emnapi dependencies to 1.9.2 by @hardfist in #13590
- test: fix try_future_consumer test unstable by @jerrykingxyz in #13592
- chore(ci): migrate ecosystem CI to central rstack-ecosystem-ci repository by @fi3ework in #13522
- test(benchmark): add persistent cache codspeed cases by @LingyuCoder in #13594
- chore: bump
swc_corefrom 59 to 62 by @CPunisher in #13602 - ci: add contents:read permission for ecosystem CI commit comments by @fi3ework in #13605
- ci: use contents:write permission for ecosystem CI commit comments by @fi3ework in #13611
- chore(deps): update napi by @renovate[bot] in #13614
- chore(deps): update patch npm dependencies by @renovate[bot] in #13615
- chore(deps): update dependency @playwright/test to v1.59.1 by @renovate[bot] in #13616
- chore(deps): update github-actions by @renovate[bot] in #13613
- chore: upgrade node to 24 while releasing by @LingyuCoder in #13639
New Contributors
- @briansilah made their first contribution in #13506
- @aancuta made their first contribution in #13197
Full Changelog: v2.0.0-rc.0...v2.0.0-rc.1