What's Changed
Performance Improvements ⚡
- perf: lazy load watchpack and some Node built-in modules by @chenjiahan in #10465
Exciting New Features 🎉
- feat: update to napi beta by @SyMind in #10436
- feat(swc_compiler_api): add diagnostics field to TransformOutput by @GiveMe-A-Name in #10435
- feat(napi): support returning custom error code by @h-a-n-a in #10476
- feat: initialize Rstest built-in plugin by @fi3ework in #10452
Bug Fixes 🐞
- fix: mangle destructuring properties of esm specifier dependencies by @LingyuCoder in #10423
- fix(minify): parser allow import attributes syntax by @fi3ework in #10405
- fix: update watchpack to 2.4.3 and remove temp code by @chenjiahan in #10412
- fix: set compilation errors result is wrong by @SyMind in #10439
- fix: css prefetch and preload by @LingyuCoder in #10440
- fix: eval sourcemap debugids by @LingyuCoder in #10443
- fix: missing fetch priority after hmr updating by @LingyuCoder in #10442
- fix: swc compiler api using wasm plugin without tokio runtime panic. by @GiveMe-A-Name in #10438
- fix: render namespace template in devtool plugins by @LingyuCoder in #10448
- fix: missing import scripts runtime when target is webworker by @LingyuCoder in #10450
- fix(core): fix tracing async exit early by @hardfist in #10455
- fix: loader in module user request should be resolved path by @SyMind in #10365
- fix(zod/v4): drop
z.record()
with single argument by @colinaaa in #10468 - fix(core): remove Node 10 compatibility code by @chenjiahan in #10464
- fix: http build redirect to another url by @SyMind in #10471
- fix: check directory before reading when running clean options by @LingyuCoder in #10472
- fix(wasm): never reference handles of workers by @CPunisher in #10478
- fix(types): use latest webpack-sources types by @chenjiahan in #10481
Document Updates 📖
- docs: update Rstack introduction by @chenjiahan in #10424
- docs: improve devtool docs by @SyMind in #9832
- docs: add midscenejs to join-us documentation by @quanru in #10447
- docs(rspress): use @rspress/plugin-algolia for search by @SoonIter in #10454
- docs: add info option and JSDoc for copy plugin by @chenjiahan in #10463
- docs: Add Miro into the list of consumers by @n0th1ng-else in #10482
Other Changes
- chore: release v1.3.11 by @ahabhgk in #10415
- chore(deps): update dependency webpack to v5.99.9 by @renovate in #10428
- chore(deps): update patch npm dependencies by @renovate in #10431
- chore(deps): update dependency @module-federation/runtime-tools to v0.14.0 by @renovate in #10432
- refactor: use
#[napi(module_exports)]
by @CPunisher in #10437 - refactor: replaced used name to slice for
exports_info.get_used_name
by @ahabhgk in #10441 - refactor: avoid read rust side json in js side by @hardfist in #10445
- chore: add comment to other export info by @JSerFeng in #10417
- test: enable more webpack test cases by @LingyuCoder in #10449
- chore: unify edtion version by @hardfist in #10446
- chore(deps): update github-actions by @renovate in #10429
- chore: add rspack_version and options to tracing by @hardfist in #10453
- chore(deps): update dependency webpack-sources to v3.3.0 by @renovate in #10460
- test: ignore test cases with
NO_PLAN
status when calculating webpack test coverage by @LingyuCoder in #10457 - chore(deps): update dependency zod to ^3.25.28 by @renovate in #10461
- chore(deps): update dependency @rslib/core to v0.8.0 by @renovate in #10459
- chore(deps): update rust crate color-backtrace to 0.7.0 by @renovate in #10462
- chore(infra): add
onlyBuiltDependencies
by @re-taro in #10469 - refactor: rewrite module executor by @jerrykingxyz in #10402
- refactor: rename TaskType::Sync to Main & TaskType::Async to background by @jerrykingxyz in #10473
New Contributors
- @quanru made their first contribution in #10447
- @re-taro made their first contribution in #10469
- @n0th1ng-else made their first contribution in #10482
Full Changelog: v1.3.11...v1.3.12