What's Changed
Performance Improvements ⚡
- perf: launch background tasks immediately by @CPunisher in #10484
- perf(incremental): enable advance-slient preset by default by @ahabhgk in #10623
Exciting New Features 🎉
- feat: serialized build info custom fields from js by @SyMind in #10578
- feat: rsdoctor native plugin add bailout_reason property by @easy1090 in #10585
- feat(rstest_plugin): support hoist mock and resolve mocked module id by @fi3ework in #10519
- feat: should rename default import based on source by @JSerFeng in #10598
- feat: consume js
inputFileSystem
on the rust side by @nilptr in #8643 - feat: support perfetto proto as tracing format by @hardfist in #10549
- feat: support passing error code to
callbackify
callbacks by @h-a-n-a in #10622 - feat(core): expose
StatsErrorCode
by @h-a-n-a in #10624 - feat: add d.ts in binding build artficats by @stormslowly in #10634
Bug Fixes 🐞
- fix: correct remove_available_modules by @JSerFeng in #10594
- fix(url_plugin): return true to stop ast traverse by @nilptr in #10570
- fix: loc in rspack error should be object by @SyMind in #10610
- fix: panic when concat external module request is undefined by @ahabhgk in #10611
- fix:
number_hash
should useu64
to avoid addition overflow by @CPunisher in #10615 - fix(create-rspack): ignore rspack profile and remove npmignore file by @chenjiahan in #10616
- fix(rstest): should stringify resource path by @fi3ework in #10619
- fix: Narrow the Dev Server Middleware type by @n0th1ng-else in #10522
- fix: use
Mutex<Arc<tokio::sync::OnceCell<JsLoaderRunner>>>
to avoid loader runner deadlock by @CPunisher in #10632
Document Updates 📖
- docs: fix rsbuild command typo in tracing doc by @chenjiahan in #10612
- docs: update glossary with additional links by @chenjiahan in #10626
- docs: clarity built-in module types by @chenjiahan in #10635
Other Changes
- chore: release v1.3.15 by @chenjiahan in #10588
- chore(workflow): remove CI lark alerts by @chenjiahan in #10586
- chore(deps): update dependency @module-federation/runtime-tools to v0.15.0 by @renovate in #10590
- chore(deps): update patch npm dependencies by @renovate in #10589
- chore(incremental): pass more hmr test case by @ahabhgk in #10583
- chore(ci): release debug script by @stormslowly in #10580
- chore(deps): update dependency @shikijs/transformers to ^3.6.0 by @renovate in #10603
- chore(deps): update dependency terser to v5.41.0 by @renovate in #10604
- chore(deps): update dependency tinypool to ^1.1.0 by @renovate in #10605
- refactor(zod/v4): replace
z.function
withz.custom
by @colinaaa in #10602 - chore(wasm): publish wasi binding by @CPunisher in #10617
- chore(deps): update napi to 3.0.0-beta.8 by @renovate in #10562
- refactor(zod/v4): use
.superRefine()
forexternals
by @colinaaa in #10609 - chore(deps): update patch npm dependencies by @renovate in #10627
- chore: Enable sftrace for release-debug profile by @quininer in #10621
- chore(deps): update yarn to v4.9.2 by @renovate in #10628
- Revert "chore(deps): update napi to 3.0.0-beta.8" by @stormslowly in #10633
- chore(deps): update dependency @types/node to ^20.19.0 by @renovate in #10630
- chore(deps): update dependency @swc/core to v1.12.0 by @renovate in #10629
- refactor: prefetch exports info data of getters part 2 by @LingyuCoder in #10576
- chore(deps): update napi to 3.0.0-beta.8 by @stormslowly in #10637
Full Changelog: v1.3.15...v1.4.0-beta.0