What's Changed
Exciting New Features 🎉
- feat(splitChunks): support
splitChunks.{cacheGroup}.idHint
by @hyf0 in #3783 - feat(core): add test/include/exclude options to builtins.minifyOptions by @LingyuCoder in #3775
- feat: support stats option "source" by @suxin2017 in #3682
- feat(packages/rspack): add version check for binding by @lippzhang in #3717
- feat: nested import tree shaking by @IWANABETHATGUY in #3800
- feat: implement statsFactory and simplified DefaultStatsFactoryPlugin by @9aoy in #3805
Bug Fixes 🐞
- fix(core): Typo in html builtins types by @tobua in #3786
- fix: check symbol used by @underfin in #3790
- fix: compilation hash should hash hot index to avoid hmr loop by @underfin in #3794
- fix: tree shaking with a cyclic reference by @IWANABETHATGUY in #3789
- fix: shorthand filed symbol unsed by @underfin in #3797
- fix: react class component hmr by @underfin in #3801
- fix: fix css semicolon replacement by @h-a-n-a in #3804
- fix: react refresh false shouldn't inject react refresh runtime by @underfin in #3817
- fix: original source should respect to the module type by @h-a-n-a in #3822
- fix: css asset tree shaking by @underfin in #3818
- fix: error in plugin apply is not be reported when using cli by @ahabhgk in #3780
Other Changes
- ci: release canary without debug mode because binary size is too big to upload (>1G) by @Boshen in #3788
- chore: fix canary release by @h-a-n-a in #3792
- chore: support passing ref to reusable build by @h-a-n-a in #3793
- chore: bump swc version by @h-a-n-a in #3791
- chore: enable some runtime & context module webpack test by @underfin in #3796
- ci: split
cargo check
andcargo test
into two jobs by @Boshen in #3807 - chore: remove rspack_build by @Boshen in #3806
- refactor: assign dep id for each symbol. by @IWANABETHATGUY in #3808
- chore: use v0.x.y instead of 0.x.y for release tag by @hardfist in #3819
- test: basic webpack side effects and treeshaking tests by @IWANABETHATGUY in #3833
- chore(types): should not return null when only called rspack with one parameter by @9aoy in #3835
New Contributors
Full Changelog: 0.2.8...v0.2.9