What's Changed
New Features 🎉
- feat: support arrow function in on_chunks_loaded callback by @chenjiahan in #12193
- feat(rslib): handle hashbang / react directives natively by @fi3ework in #12168
Bug Fixes 🐞
- fix: should transform
output.pathwhile emitting assets by @LingyuCoder in #12181 - fix: should not transform
[name]/[file]in wasm filename template by @LingyuCoder in #12184 - fix: missing type of http proxy middleware options by @LingyuCoder in #12188
- fix: json module size by @LingyuCoder in #12189
- fix: triple with windows-msvc doesn't support -Cforce-unwind-tables=no by @JSerFeng in #12196
- fix: target should use includes windows-msvc instead of startsWith by @JSerFeng in #12198
- fix: should handle loader error with empty stack trace by @SyMind in #12213
- fix: system library name by @LingyuCoder in #12215
- fix: should handle name convention of css compose by @LingyuCoder in #12202
- fix:
swc-loadershould not respect.swcrcby @CPunisher in #12222 - fix(types): use namespace imports for Node.js built-in modules by @SyMind in #12232
Refactor 🔨
- refactor: move code splitting cache into artifact by @hardfist in #12164
- refactor: split make phase by @hardfist in #12186
- refactor: split module_graph into ModuleGraphRef and ModuleGraphMut by @hardfist in #12199
- refactor: processing more string concatenation in runtime template part 1 by @LingyuCoder in #12225
Document Updates 📖
- docs: upgrade to Rspress V2 new UI by @SoonIter in #12201
- docs: improve section headers by @chenjiahan in #12216
- docs: update editLink config by @SoonIter in #12220
- docs: remove HomeBackground and navTransparent hack by @SoonIter in #12224
- docs(config): improve module.defaultRules documentation by @chenjiahan in #12230
Other Changes
- chore(release): fix debug package release failure by @stormslowly in #12182
- chore: release v1.6.3 by @chenjiahan in #12180
- chore: bump rust toolchain by @JSerFeng in #12183
- test(native-watcher): init native watcher tests by @h-a-n-a in #12185
- chore(ci): support force use github artifacts by @stormslowly in #12187
- test: rename test script from 'test:rstest' to 'test:base' by @chenjiahan in #12194
- ci(native-watcher): test multiple platforms by @h-a-n-a in #12197
- chore(deps): update dependency case-police to ~2.1.0 by @renovate[bot] in #12206
- chore(deps): update dependency markdown-to-jsx to v8 by @renovate[bot] in #12208
- chore(deps): update rust crate fast-glob to v1 by @renovate[bot] in #12209
- chore(deps): update dependency emnapi to ^1.7.1 by @renovate[bot] in #12157
- test: test suite name should include base path by @9aoy in #12214
- test: disable iconv-lite decode warning in test tools by @LingyuCoder in #12217
- chore(deps): update rust crate rayon to 1.11.0 by @renovate[bot] in #12129
- chore(deps): update dependency glob to v11.1.0 [security] by @renovate[bot] in #12223
Full Changelog: v1.6.3...v1.6.4