What's Changed
Highlights 💡
In Rspack 1.6.1, the source map implementation in the rspack-sources crate has been optimized, improving source map generation performance by roughly 30%.
Performance Improvements ⚡
Bug Fixes 🐞
- fix: use match resource first when generating css local ident name by @LingyuCoder in #12040
- fix: should export named webpack_require from runtime chunk by @LingyuCoder in #12045
- fix: should increase the counter of sized in mangle exports plugin by @LingyuCoder in #12044
- fix: compatibility
__non_webpack_require__with es modules by @LingyuCoder in #12052 - fix: get chunk filename with dependOn by @LingyuCoder in #12053
- fix: remove redundant
OutputFileSystem.createReadStreamby @colinaaa in #12059 - fix(config): validate
output.pathmust be absolute by @chenjiahan in #12061 - fix: should disable default splitChunks rules for EsmLibraryPlugin by @JSerFeng in #12047
- fix: should handle require ensure with error function by @LingyuCoder in #12054
- fix: should parse webpackExports with empty array by @LingyuCoder in #12066
- fix: use correct Cell for EsmLibraryPlugin by @JSerFeng in #12067
- fix: properties of build meta should be optional when sending to dll plugin from javascript by @LingyuCoder in #12070
- fix: treat HMR's
warnUnexpectedRequireas undefined module factory by @stormslowly in #12016 - fix: defer import and dynamic exportsType default export mixed by @ahabhgk in #12082
- fix:
new URL("", import.meta.url)should be pure by @LingyuCoder in #12076
Refactor 🔨
Document Updates 📖
- docs: add 1.6.0 release blog by @JSerFeng in #12019
- docs: improve English clarity in documentation by @Copilot in #12060
- docs: move deprecated experimental options to the bottom by @chenjiahan in #12049
- docs(quick-start): update non-interactive mode section by @chenjiahan in #12083
Other Changes
- chore: release 1.6.0 by @JSerFeng in #12042
- chore(deps): update dependency core-js to v3.46.0 by @renovate[bot] in #12057
- chore(deps): update dependency @rslib/core to v0.17.0 by @renovate[bot] in #12056
- chore(deps): update dependency @biomejs/biome to ^2.3.2 by @renovate[bot] in #12055
- chore(renovate): disable lockFileMaintenance by @chenjiahan in #12063
- chore: improve struct type and remove some useless fields by @JSerFeng in #12071
- chore: ensure that prettier can format all markdown and JSON files by @chenjiahan in #12075
- chore(deps): update dependency @babel/preset-react to ^7.28.5 by @renovate[bot] in #12087
- chore(deps): update patch npm dependencies by @renovate[bot] in #12084
Full Changelog: v1.6.0...v1.6.1