What's Changed
Exciting New Features π
- feat(stats): support
moduleReason.resolvedModule
by @LingyuCoder in #7467 - feat(diagnostic): prettier diagnostics of magic comments by @h-a-n-a in #7472
- feat: support compilation.modules[i].blocks by @SyMind in #7460
- feat: port "module-import" external type by @fi3ework in #7479
- feat(node-stuff): implement
node-module
shim by @fi3ework in #7465 - feat(stats): support
isOverSizeLimit
in stats by @LingyuCoder in #7483 - feat: splitChunks support usedExports by @JSerFeng in #7485
- feat: support
stats.chunkGroup[].childAssets
by @LingyuCoder in #7517 - feat: support module.size function in cacheGroups.[i].test by @SyMind in #7482
- feat: expose added/removed compilation.*_dependencies to js side by @jerrykingxyz in #7522
Bug Fixes π
- fix: patch asset info in update asset by @ahabhgk in #7464
- fix!: reuseExistingChunk should be false by default by @JSerFeng in #7489
- fix(modern-module): export syntax detect more invalid chars by @fi3ework in #7493
- fix: concatenation should merge moduleβs chunk init fragments by @fi3ework in #7504
- fix(modern-module): correct use bailout reason by @fi3ework in #7513
- fix: maxInitialRequests should exists in cache groups by @JSerFeng in #7512
- fix(hmr): replacement of optionalChain is compatible with legacy versions by @wChenonly in #7510
Document Updates π
- docs: update stats options by @LingyuCoder in #7473
- docs: list plugin compatible +5 by @9aoy in #7481
- docs: add link for Rspack 0.x website by @chenjiahan in #7484
- docs: list compatibility status of more plugins by @9aoy in #7488
- docs: add some missing options by @LingyuCoder in #7480
- docs: fix website error by @hardfist in #7506
- docs: remove deprecated configs by @chenjiahan in #7519
- docs: add MarsCode to online examples by @chenjiahan in #7525
Other Changes
- chore(deps): update cargo-bins/cargo-binstall action to v1.9.0 by @renovate in #7475
- chore(infra/biome): enable noAccumulatingSpread by @shulaoda in #7492
- chore: add description for all crates by @hardfist in #7494
- chore: remove useless swc_core features by @JSerFeng in #7496
- chore(workflow): enable dependency dashboard of renovate by @chenjiahan in #7498
- chore: move non-core packages to rspack-contrib by @LingyuCoder in #7499
- chore: fix missing metadata in publish by @hardfist in #7501
- refactor: remove get presentational dependencies for block by @ahabhgk in #7502
- chore: increase publish limitation by @hardfist in #7515
New Contributors
- @wChenonly made their first contribution in #7510
Full Changelog: v1.0.0-beta.3...v1.0.0-beta.4