What's Changed
New Features 🎉
- feat(create-rspack): update typescript to v6 by @chenjiahan in #13445
- feat(swc-loader): add detectSyntax option to infer parser by @chenjiahan in #13467
Bug Fixes 🐞
- fix: keep empty entry runtime chunk for modern-module render by @Timeless0911 in #13452
- fix(esm-library): support star reexport namespaces by @JSerFeng in #13448
- fix(core): bump rslib and fix type related issues by @Timeless0911 in #13376
- fix: use Symbol.for() for shared symbol identity in module bindings by @tryggvigy in #13457
- fix(rsc): tree shaking client barrel by @SyMind in #13472
- fix:
import.meta.resolve()and add tests by @ahabhgk in #13469 - fix(rstest): resolve manual mock targets with resolver by @9aoy in #13439
- fix(esm-library): avoid duplicate webpack_require export by @JSerFeng in #13483
- fix: improve pure comment matching by @JSerFeng in #13498
- fix(esm): deconflict external bindings in module output by @JSerFeng in #13466
Refactor 🔨
- refactor: remove
swc_node_commentsby @CPunisher in #13470
Document Updates 📖
- docs(split-chunks): refine production guidance and FAQ by @JSerFeng in #13451
- docs: recommand avoid using require paramter of require.ensure by @ahabhgk in #13453
- docs(migration): add transformImport upgrade notes by @JSerFeng in #13473
- docs: invite @fansenze to Rspack core team by @chenjiahan in #13475
- docs: removed module.unsafeCache in rspack_1.x.mdx by @SyMind in #13476
Other Changes
- chore(ci): fix taplo wrong parameters by @stormslowly in #13449
- chore(deps): update patch npm dependencies by @renovate[bot] in #13456
- chore(deps): update dependency @rslint/core to v0.3.2 by @renovate[bot] in #13458
- chore: fix local website build by @hardfist in #13455
- chore(deps): update dependency @module-federation/runtime-tools to v2.2.3 by @renovate[bot] in #13460
- chore(deps): update dependency mermaid to ^11.13.0 by @renovate[bot] in #13352
- chore(deps): update rust crate itoa to 1.0.18 by @renovate[bot] in #13459
- ci: update ecosystem CI suite by @chenjiahan in #13463
- chore: pin rspack_resolver version to exact =0.7.0 by @stormslowly in #13433
- chore(deps): update dependency core-js to v3.49.0 by @renovate[bot] in #13461
- chore: use pre-built codspeed by @CPunisher in #13426
- chore(ci): remove stale miri config by @chenjiahan in #13465
- chore(workflow): simplify JavaScript linters by @chenjiahan in #13477
- chore: remove stale devcontainer files by @chenjiahan in #13480
- chore: add walltime support by @hardfist in #13446
- test: use html-rspack-plugin in test cases by @chenjiahan in #13481
- chore: switch to github runner for bench by @hardfist in #13486
- chore: rm rspack_collection_hasher to improve ci speed by @SyMind in #13482
- ci: remove pnpm cache and simplify pnpm install steps by @chenjiahan in #13487
- chore(ci): split binding and rust benchmarks by @hardfist in #13492
- chore: try namespace runner by @hardfist in #13484
- chore: move check-changed job to namespace by @hardfist in #13496
New Contributors
- @tryggvigy made their first contribution in #13457
Full Changelog: v2.0.0-beta.8...v2.0.0-beta.9