What's Changed
Highlights 💡
Reduced memory usage
Rspack's memory usage in large projects has been significantly reduced since v1.1.6:
Related PRs:
- perf: improve cached source data struct by @SyMind in #8602
- perf: reduce heap allocations for
RuntimeModule
by @h-a-n-a in #8620 - perf: avoid heap allocation for getting connections by @ahabhgk in #8625
Performance Improvements ⚡
Exciting New Features 🎉
- feat: implement output.clean.keep: Option by @ClSlaid in #8479
- feat: support
output.trustedTypes.onPolicyCreationFailure
by @LingyuCoder in #8619 - feat(incremental): named module ids by @ahabhgk in #8593
- feat: support
getResolve
in external function context by @fi3ework in #8577 - feat: add intermediate file system by @LingyuCoder in #8631
- feat(persistent cache): add make occasion by @jerrykingxyz in #8586
Bug Fixes 🐞
- fix: importModule should have err by @JSerFeng in #8590
- fix: trusted type should add module runtime requirements by @LingyuCoder in #8617
- fix: source map file should use contenthash itself by @LingyuCoder in #8623
- fix: sync minify file comments from SWC by @fi3ework in #8628
- fix: generate wrong chunk filename runtime code on win32 by @LingyuCoder in #8622
- fix: avoid unnamed module ids by @ahabhgk in #8634
- fix: passively rebuild modules imported by
importModule
by @CPunisher in #8595
Document Updates 📖
- docs: fix typo by @cbbfcd in #8607
- docs: rewrite
CopyRspackPlugin
documentation by @chenjiahan in #8621 - docs: fix error links by @xuexb in #8635
Other Changes
- chore: add release-check task by @hardfist in #8578
- refactor: remove compilation.built_module by @jerrykingxyz in #8589
- chore(deps): update github-actions by @renovate in #8610
- chore(deps): update rspress to v1.37.3 by @renovate in #8613
- chore(deps): update pnpm to v9.14.4 by @renovate in #8612
- chore: remove tracking subjects by @h-a-n-a in #8616
- test(snapshot): make snapshots cleaner and update path-serializer 0.3.4 by @SoonIter in #8161
- chore(deps): update napi by @renovate in #8611
- test: create issues for failed webpack test by @GiveMe-A-Name in #8618
- refactor: improve dependency location by @shulaoda in #8606
- chore(deps): update crates by @renovate in #8198
- chore(deps): update crates (major) by @renovate in #6926
- ci: run miri on main by @h-a-n-a in #8632
- chore: remove unnecessary code by @shulaoda in #8641
New Contributors
- @ClSlaid made their first contribution in #8479
- @cbbfcd made their first contribution in #8607
- @xuexb made their first contribution in #8635
Full Changelog: v1.1.5...v1.1.6