What's Changed
Highlights
- Fix incorrectly full reload when applying hot update #6021
- Support passing
Function
type to filename options:options.filename
,options.chunkFilename
, etc @branchseer in #5957
Performance Improvements ⚡
Exciting New Features 🎉
- feat: support filename function by @branchseer in #5957
- feat: support webpackChunkName comment for worker by @ahabhgk in #6019
Bug Fixes 🐞
- fix: remove useless MutexModuleGraph by @jerrykingxyz in #5979
- fix(testng): use compiler.run by @LingyuCoder in #5984
- fix: cached source with raw source by @SyMind in #5996
- fix(rspack_plugin_html): align rspack_plugin_html inject option behavior with html-webpack-plugin by @nilptr in #5545
- fix: duplicate library plugin by @ahabhgk in #6010
- fix: missing define_variable for export declarations by @xc2 in #6012
- fix: rsbuild scss module mangle by @IWANABETHATGUY in #5992
- fix: Move @import to top of concatenated CSS output (#6000) by @woai3c in #6016
- fix: should generate correct context request with query by @LingyuCoder in #6018
- fix: stablize chunk id by @JSerFeng in #6021
Other Changes
- chore(deps): update crates by @renovate in #5973
- refactor: execute module hook by @ahabhgk in #5970
- refactor: runtime module hook by @ahabhgk in #5977
- refactor: build module hook by @ahabhgk in #5980
- refactor: still valid module hook by @ahabhgk in #5981
- refactor: succeed module hook by @ahabhgk in #5982
- refactor: chunk asset hook by @ahabhgk in #5983
- chore: remove rspack-html-plugin & rspack-plugin-node-polyfill by @hardfist in #5988
- chore: move website into rspack repo by @hardfist in #5991
- refactor: finish make and finish modules hook by @ahabhgk in #5990
- docs: fix the wrong sidebar after navigating by @Yukiniro in #5999
- refactor: after process assets and asset emitted hook by @ahabhgk in #5995
- docs: use Open Sans as the default font by @chenjiahan in #6006
- refactor: emit and after emit hook by @ahabhgk in #5997
- refactor: optimize modules and after optimize modules hook by @ahabhgk in #5998
- chore: update rolldown credits by @hardfist in #6014
- doc: add swc plugin usage by @hardfist in #6015
- refactor: optimize tree and optimize chunk modules hook by @ahabhgk in #6003
- chore: make format compatible with windows by @woai3c in #6022
New Contributors
- @branchseer made their first contribution in #5957
- @nilptr made their first contribution in #5545
- @Yukiniro made their first contribution in #5999
- @woai3c made their first contribution in #6016
Full Changelog: v0.5.8...v0.5.9