Highlights
🚀 Rustify Watcher
Rspack implements a Native Watcher solution rather than using the watchpack
npm package for file system observation. This architecture allows for incremental watcher system creation with every rebuild cycle.
See experiments.nativeWatcher for more details.
What's Changed
Performance Improvements ⚡
- perf: napi source map serialize and deserialize by @SyMind in #10989
- perf: avoid duplicate calculations in executor task by @hardfist in #11020
New Features 🎉
- feat: support rspack native fs watcher by @GiveMe-A-Name in #10658
Bug Fixes 🐞
- fix: add more info for collect ts info warning by @ahabhgk in #10983
- fix: persistent cache dynamic entry contain isolated module by @jerrykingxyz in #10985
- fix: do not test version in canary builds by @h-a-n-a in #10991
- fix: compat non ascii for progress plugin by @ahabhgk in #10992
- fix: update swc to 31.1.0 by @n0th1ng-else in #10986
- fix: tree-shaking unused
RawModule
by @colinaaa in #10954 - fix: factorize hooks avoid update dependency request by @jerrykingxyz in #10999
- fix: the
--devtool
CLI flag not work as expected by @Meet-student in #10880 - fix: use regress to parse regex syntax by @hardfist in #11013
- fix(rstest): bugs by @fi3ework in #10844
- fix: should not generate SRI for empty mf chunks by @LingyuCoder in #11029
Refactor 🔨
- refactor: avoid exposing
Ref
andRefMut
ofDashMap
by @CPunisher in #10982
Document Updates 📖
- docs: improve
splitChunks.chunks
and update glossary by @chenjiahan in #10990 - docs: add open in stacklitz button in README by @CPunisher in #11010
Other Changes
- chore: add default-feaults=false check by @hardfist in #10984
- chore(ci): size-limit ignore comment error by @stormslowly in #10995
- chore(ci): support ecosystem-ci use different npm in different repo by @stormslowly in #10962
- chore: include crate version bump in
x version
command by @h-a-n-a in #10994 - revert: "perf: napi source map serialize and deserialize (#10989)" by @SyMind in #11002
- chore(deps): update patch npm dependencies by @renovate[bot] in #10702
- chore(deps): update dependency @module-federation/runtime-tools to v0.16.0 by @renovate[bot] in #11007
- chore: support separated cargo check for crate publishing by @h-a-n-a in #11001
- ci: skip rewrite-factorize-request by @jerrykingxyz in #11014
- ci: fix rewrite-factorize-request test case by @jerrykingxyz in #11016
- chore: bump crate versions in non-debug non-snapshot releases only by @h-a-n-a in #11017
- chore: add
cargo codegen
topnpm x version
script by @h-a-n-a in #11018 - chore: renovate update lock for cargo by @quininer in #11015
New Contributors
- @Meet-student made their first contribution in #10880
Full Changelog: v1.4.6...v1.4.7