v2.3.3
HTTP module lockfiles and content cache filenames now match webpack, allowing existing webpack lockfiles and cached resources to be reused together. The previous Rspack format is no longer supported: delete the old HTTP lockfile and content cache, rebuild with experiments.buildHttp.frozen: false, then review and commit the regenerated files before re-enabling frozen builds. See #16656.
Rspack now tracks member usage through destructured dynamic-import namespaces, allowing unused nested exports to be removed more precisely. This covers awaited imports, destructured .then() parameters, and Promise.all() results. See #16574.
Projects with many import() expressions targeting the same module avoid repeated chunk-group scans during HMR-enabled compilation. Rspack now caches loading-chunk lookups and reuses sibling chunk lists, addressing a compilation bottleneck that grew rapidly with the number of imports. See #16674.
Rspack now shares loader cache results between compilers in the same process. For example, in an SSR build, the client and server compilers can reuse loader transformations for shared source files, avoiding repeated work. Compilers can share results when using memory cache or the same persistent cache directory. See #16558.
- fix!: align HTTP module lockfiles with webpack by @SyMind in https://github.com/web-infra-dev/rspack/pull/16656
- feat(ids): support salt for deterministic chunk and compact-hashed ids by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16537
- feat(tree-shaking): narrow destructured dynamic import namespaces by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16574
- feat(externals): support interop hints for object externals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16529
- perf(limit-chunk-count): keep chunk combinations in an ordered set by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16466
- perf: reduce chunk filename runtime size by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16598
- perf: reduce dynamic chunk filename runtime size by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16602
- perf(core): avoid serializing hook register arrays by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16628
- perf(stats): avoid splitting loader chains when grouping modules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16631
- perf(stats): reuse split error details when truncating output by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16632
- perf(stats): count diagnostic details without intermediate arrays by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16630
- perf(core): lazily cache log type bit flags by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16629
- perf(core): streamline runtime global reverse mapping by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16634
- perf(stats): avoid splitting hierarchical hook names by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16635
- perf(sri): avoid unnecessary path separator conversions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16636
- perf(sri): avoid allocating hash match results by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16637
- perf(sri): avoid copying asset keys before lookup by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16638
- perf(core): avoid splitting stacks to remove loader frames by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16642
- perf(stats): collect printable contents in one pass by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16643
- perf(hmr): avoid cubic HMR loading chunk resolution by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16674
- fix: isolate module build cache sessions by graph by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16540
- fix(resolver): respect tsconfig extends array precedence by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16554
- fix(split-chunks): prune source types below minSizeReduction by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16573
- fix: preserve Rule.as path delimiters and portable resources by @intellild in https://github.com/web-infra-dev/rspack/pull/16551
- fix: initialize build-time runtime globals in both runtime modes by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16577
- fix(cache): serialize shared consumption dependencies by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16561
- fix(cache): filter source map assets before lookup by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16562
- fix(cache): normalize context resource dependency paths by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16563
- fix(cache): reuse restored remote modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16565
- fix(lazy-compilation): reject imports after HMR failure by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/15947
- fix(ci): preserve clang during Linux disk cleanup by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16588
- fix: mark modules with a top-level await using as async by @hai-x in https://github.com/web-infra-dev/rspack/pull/16442
- fix(split-chunks): keep named groups that narrowing would remove by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16487
- fix: handle HTTP module response stream errors by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16233
- fix(sri): carry lazy hashes in the chunk that makes the import() call by @sd2k in https://github.com/web-infra-dev/rspack/pull/16420
- fix(css-extract): find stylesheets whose filename has a query by @ebidel in https://github.com/web-infra-dev/rspack/pull/16346
- fix(cache): track DefinePlugin definition keys by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16589
- fix(tree-shaking): avoid receivers for destructured dynamic import calls by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16593
- fix: preserve target major versions above 255 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16601
- fix(cache): reuse loader output after a caught import cycle by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16583
- fix(cache): snapshot invalid Windows missing paths by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16584
- fix(cache): share loader cache across modes and SSR compilers by @intellild in https://github.com/web-infra-dev/rspack/pull/16558
- fix: finalize finishMake module rebuilds and artifacts by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16580
- fix: resolve import() of self-accepting modules to their latest evaluation by @hai-x in https://github.com/web-infra-dev/rspack/pull/16595
- fix(cache): cache module-not-found resolution results by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16560
- fix(javascript): preserve outer ASI boundaries across nested statements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16613
- fix: annotate pure module initializers in ESM output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16605
- fix(cache): keep lazy barrel state per compilation by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16609
- fix: cache extracted CSS modules with fresh input validation by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16618
- fix: count reused metadata for empty child compilers by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16620
- fix(cache): include loader configuration and versions in etags by @intellild in https://github.com/web-infra-dev/rspack/pull/16591
- fix(tree-shaking): resolve CommonJS default re-export to module.exports by @hai-x in https://github.com/web-infra-dev/rspack/pull/16639
- fix(binding): preserve normal module createData context by @SyMind in https://github.com/web-infra-dev/rspack/pull/16657
- fix(javascript): keep shorthand property keys when replacing identifiers by @hai-x in https://github.com/web-infra-dev/rspack/pull/16627
- fix(css): respect devtool for embedded source maps by @intellild in https://github.com/web-infra-dev/rspack/pull/16655
- fix(css): omit unused JavaScript modules for CSS URL assets by @intellild in https://github.com/web-infra-dev/rspack/pull/16654
- fix(swc-loader): migrate box patterns to deref patterns by @intellild in https://github.com/web-infra-dev/rspack/pull/16667
- fix(cache): invalidate newCache when configured build dependencies change by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16660
- fix(core): preserve factorization metadata for reused entries by @SyMind in https://github.com/web-infra-dev/rspack/pull/16668
- fix(resolver): make preferAbsolute try the absolute path first by @cezaraugusto in https://github.com/web-infra-dev/rspack/pull/16617
- fix(core): clean up loader error stacks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16641
- refactor(hmr): use the chunk content hash as its hmr version by @hai-x in https://github.com/web-infra-dev/rspack/pull/16585
- refactor(core): simplify property checks and iteration by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16644
- docs: clarify module rule as usage by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16564
- docs: add MDX example for reusing compilation rules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16570
- docs: clarify rule as asset minification behavior by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16572
- docs: enable ESM output for website by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16600
- docs: fix the default devtool module filename templates by @ragib-mrb in https://github.com/web-infra-dev/rspack/pull/16658
- docs(resolver): exclude allocative from docs.rs features by @intellild in https://github.com/web-infra-dev/rspack/pull/16669
- test(cache): run cache checks before fixture cleanup by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16566
- chore(deps): update dependency table to v6.10.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16499
- chore(deps): update dependency webpack-sources to v3.7.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16500
- chore(deps): update rust crate html-escape to 0.3.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16501
- test: wait for activation instead of a fixed delay in hot cases by @hai-x in https://github.com/web-infra-dev/rspack/pull/16596
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16606
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16369
- chore(deps): update dependency enhanced-resolve to v5.27.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16611
- chore(deps): update dependency commander to v15.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16610
- chore(deps): update swc by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16607
- test(cli): propagate watch startup errors by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16541
- test: expand persistent cache compatibility coverage by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16614
- test: include cached assets in filename assertions by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16619
- test: await child compilation in config fixtures by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16621
- test: validate circular warnings cache reuse separately from errors by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16623
- test: mark compilation-mutating loader as non-cacheable by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16624
- test: validate issuer stats across persistent cache builds by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16625
- ci(windows): fix flaky proc-macro DLL load via read-after-link by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16648
- chore(deps): update swc-next to 0.7.0 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16650
- @ebidel made their first contribution in https://github.com/web-infra-dev/rspack/pull/16346
- @ragib-mrb made their first contribution in https://github.com/web-infra-dev/rspack/pull/16658
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.3.2...v2.3.3
v2.3.2
HMR now handles code-splitting changes more reliably, reducing unnecessary full-page reloads when chunks are added or rearranged. Newly required chunks are loaded before HMR accept callbacks run, and changes to async chunk dependencies no longer cause unnecessary update propagation.
The experimental rule.as option lets a matched resource use a different path for subsequent rule matching while preserving the original resource for file reading and loaders. For example, as: '[resource-path].txt' lets later .txt rules also process example.source.js. (#15917)
// rspack.config.mjs
export default {
module: {
rules: [
{
test: /\.source\.js$/,
type: 'asset/source',
as: '[resource-path].txt',
},
{ test: /\.txt$/, use: './text-loader.js' },
],
},
};
Here, example.source.js matches the later .txt rule as example.source.js.txt; text-loader.js still receives the contents of the original file.
Rspack can now bypass side-effect-free modules that only forward exports with export *, connecting directly to the underlying module.
Mark the package as side-effect-free in package.json:
{
"sideEffects": false
}
// src/value.js
export const value = 42;
// src/passthrough.js
export * from './value.js';
// src/index.js
export * from './passthrough.js';
With optimization.sideEffects enabled (the default in production), the export * connection from index.js can now go directly to value.js, skipping passthrough.js.
- feat(sri): support hashLoading: "lazy" in SubresourceIntegrityPlugin by @sd2k in https://github.com/web-infra-dev/rspack/pull/16374
- feat: add output.environment.topLevelAwait and await async ESM entries by @hai-x in https://github.com/web-infra-dev/rspack/pull/16386
- feat: support externals.byLayer by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16307
- feat(css): Add opt-in runtime public paths for injected styles by @scttcper in https://github.com/web-infra-dev/rspack/pull/15705
- feat: add experimental rule.as by @intellild in https://github.com/web-infra-dev/rspack/pull/15917
- feat(tree-shaking): prune dynamic imports from unused exports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15449
- feat: skip side-effect-free
export *passthrough modules by @hai-x in https://github.com/web-infra-dev/rspack/pull/16472
- perf: use memchr SIMD scans and drop winnow by @intellild in https://github.com/web-infra-dev/rspack/pull/16424
- perf(sources): box the replacement name by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15878
- perf: lazily create existing loader dependency sets by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16449
- perf: lazily materialize package.json metadata by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16469
- perf(core): trim runtime spec sets on creation by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16478
- perf(sources): share source map text with BytesStr by @SyMind in https://github.com/web-infra-dev/rspack/pull/16468
- perf(core): free the previous compilation's assets during a rebuild by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16479
- perf(sources): compact noSources maps only when retained by @SyMind in https://github.com/web-infra-dev/rspack/pull/16536
- perf: reduce source map memory during asset generation and content hashing by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16470
- fix(core): keep property access when inlining an export reached through a re-export by @flex-mookeun in https://github.com/web-infra-dev/rspack/pull/16310
- fix(core): keep the full hash stable across rebuilds without HMR by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16280
- fix(runtime): avoid coercion collisions in chunk ID matchers by @intellild in https://github.com/web-infra-dev/rspack/pull/16423
- fix(devtool): map bootstrap and startup sources by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16426
- fix: keep receiver exports for calls on unprovided members by @hai-x in https://github.com/web-infra-dev/rspack/pull/16418
- fix: restore side-effect imports after package metadata changes by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16435
- fix(cache): reuse completed builds for external and generated modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16429
- fix(core): fold chunk hashes into the full hash in chunk id order by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16293
- fix: keep initializers of unused top-level using declarations by @hai-x in https://github.com/web-infra-dev/rspack/pull/16437
- fix(watcher): preserve concrete paths in native watcher events by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16411
- fix(stats): report each runtime module's own size and chunks by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16076
- fix(hmr): complete new entry chunk dependencies by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15955
- fix: isolate entry declarations from runtime tables by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16497
- fix: preserve module namespace key order for mixed exports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16491
- fix(watcher): separate filesystem accuracy from cache by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16512
- fix(watcher): align rename events with watchpack by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16460
- fix: skip cyclic star re-exports when resolving a binding by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16496
- fix: preserve lone surrogates during constant evaluation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16494
- fix(watcher): pass SystemTime to mtime_accuracy by @hai-x in https://github.com/web-infra-dev/rspack/pull/16526
- fix(resolver): support UTF-8 BOM in tsconfig files by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16518
- fix: evaluate
x in nsto true whenxis a re-exported namespace by @hai-x in https://github.com/web-infra-dev/rspack/pull/16509 - fix: preserve negative zero in exports and use JavaScript number strings in constant evaluation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16527
- fix(mf): keep the whole requiredVersion range in mf-manifest.json by @arnaud-zg in https://github.com/web-infra-dev/rspack/pull/16402
- fix(core): distinguish fatal module errors from loader diagnostics by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16538
- fix(css): scope counter styles and implicit grid lines by @intellild in https://github.com/web-infra-dev/rspack/pull/16520
- fix(hmr): invalidate cached chunks when version tags change by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16548
- fix(watcher): account for directory mtime accuracy by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16531
- fix(mf): read provided shared fields directly in manifests by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16533
- fix(resolver): report circular tsconfig extends instead of crashing by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16513
- fix(hmr): load async groups through their last chunk by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16328
- fix(resolver): reload PnP manifest from cached path by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16543
- refactor(binding): rely on napi-rs for module retention by @SyMind in https://github.com/web-infra-dev/rspack/pull/16431
- refactor: remove unused exports_definitions hook from ConcatenatedModule by @hai-x in https://github.com/web-infra-dev/rspack/pull/16434
- refactor(binding): implement module classes in JavaScript by @SyMind in https://github.com/web-infra-dev/rspack/pull/16436
- docs: clarify split chunks sizing and cache group examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16409
- docs: clarify split chunks counting and troubleshooting by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16412
- docs: explain entry dependencies and shared runtime by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16413
- docs: standardize Rspack runtime terminology by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16427
- docs: clarify Lightning CSS minimizer options and examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16417
- docs: add Nitro to community integrations by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16428
- docs: introduce rspack-chain for configuration customization by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16430
- docs: illustrate runtime chunk initialization by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16414
- docs: add compilation dependency tracking examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16415
- docs: add entrypoints manifest example by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16416
- docs: refresh Rspack and Rstack introduction by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16455
- docs: clarify stats asset metadata by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16461
- docs: redirect moved pages on Cloudflare Pages by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16465
- docs(website): simplify Rspress configuration by @SoonIter in https://github.com/web-infra-dev/rspack/pull/16522
- docs: expand community plugin list by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16524
- docs: expand community loader list by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16528
- docs: clarify chunk ID assignment when chunkIds is false by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16523
- docs: use a WebMCP prompt in the Rspack 2.3 announcement by @SoonIter in https://github.com/web-infra-dev/rspack/pull/16553
- test(cache): validate persistent cache hits in config and normal cases by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16397
- test: exclude external re-export case from cache reuse checks by @SyMind in https://github.com/web-infra-dev/rspack/pull/16425
- ci: use trunk baseline for branch-based PR stacks by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/16201
- chore(deps): update napi by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16230
- chore(deps): update dependency tiny-emitter to v2.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16440
- test: exclude container tree shaking for configCases cache test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16450
- chore(deps): upgrade SWC crates and browserslist-rs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16458
- chore(deps): update dependency rsbuild-plugin-google-analytics to v1.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16438
- chore(deps): update dependency coffee-loader to v5 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16441
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16476
- chore(deps): update dependency mermaid to ^12.3.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16480
- chore: use Rspress built-in Shiki transformers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16489
- chore(deps): update dependency playwright to v1.65.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16481
- chore(ci): use mini runner for ecosystem ci dispatcher by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14471
- test(watcher): stabilize nested context removal case by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16519
- chore(deps): update Rslib to 1.0.6 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/16471
- chore(deps): update dependency sass-loader to ^17.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16498
- chore(deps): update rust crate tokio to 1.54.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16502
- chore(deps): update dependency jsdom to v31 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16504
- chore(deps): bump swc-next to 0.6.1 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16525
- chore: bump
swc_corefrom 84.0.1 to 84.0.2 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16547 - test(stats): cover shared issuers in child compilations by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16456
- chore(deps): update dependency execa to v10 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16503
- test: wait for both watchers to finish the initial batch in rename cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16530
- test(watcher): validate burst aggregation against event timing by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16544
- test: stabilize cache restoration watch test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16555
- @sd2k made their first contribution in https://github.com/web-infra-dev/rspack/pull/16374
- @scttcper made their first contribution in https://github.com/web-infra-dev/rspack/pull/15705
- @arnaud-zg made their first contribution in https://github.com/web-infra-dev/rspack/pull/16402
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.3.1...v2.3.2
v2.3.1
- feat(runtime): support incremental runtime module updates by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16326
- perf(stats): disable cacheInfo by default by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16356
- perf(watcher): coalesce queued native watcher batches by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16344
- perf(split-chunks): keep type and layer filters on the native path by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16279
- perf(stats): cache issuer paths during stats generation by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16351
- fix: compare named cache groups by the size they actually save by @hai-x in https://github.com/web-infra-dev/rspack/pull/16291
- fix: don't use the line number as the column of a JS error loc by @hai-x in https://github.com/web-infra-dev/rspack/pull/16324
- fix(css): skip stylesheets of entries not on the page on hot update by @CyberAP in https://github.com/web-infra-dev/rspack/pull/16215
- fix(watcher): wait for aggregateTimeout after the last change by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16304
- fix: avoid using absolute paths in sourcemap hashes by @cellison-figma in https://github.com/web-infra-dev/rspack/pull/16313
- fix(binding): preserve worker callback ownership and native module lifetime by @SyMind in https://github.com/web-infra-dev/rspack/pull/16318
- fix: cache rendered diagnostics across rebuilds by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16358
- fix(javascript): keep exports referenced through arguments in import().then callback by @ump45nose in https://github.com/web-infra-dev/rspack/pull/16392
- fix(css): include shared initial chunks in filename runtime by @intellild in https://github.com/web-infra-dev/rspack/pull/16355
- fix(css): gate the stylesheet link runtime by chunk loading by @intellild in https://github.com/web-infra-dev/rspack/pull/16340
- fix(sources): preserve missing source contents as null by @SyMind in https://github.com/web-infra-dev/rspack/pull/16366
- fix(lightningcss-loader): preserve parser flags during stylesheet conversion by @mattcosta7 in https://github.com/web-infra-dev/rspack/pull/16378
- fix(sources): don't let a generated-only mapping shadow a mapped one at the same column by @flex-mookeun in https://github.com/web-infra-dev/rspack/pull/16363
- fix(allocative): update root macro for ctor 0.13 by @hai-x in https://github.com/web-infra-dev/rspack/pull/16385
- fix(hmr): validate chunk versions before installation by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16360
- fix(mf): use correct async startup handlers in rspack runtime by @hai-x in https://github.com/web-infra-dev/rspack/pull/16399
- refactor(javascript): migrate to semantic symbol links by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16335
- refactor(concatenate): drop repeated lookups and dead binding fields by @hai-x in https://github.com/web-infra-dev/rspack/pull/16219
- docs: Rspack 2.3 release blog by @intellild in https://github.com/web-infra-dev/rspack/pull/16179
- docs: refine Rspack 2.3 announcement wording by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16337
- docs: improve Rspack 2.3 announcement readability by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16339
- docs: document cache statistics in Stats JSON by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16353
- docs: simplify split chunks option headings and examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16364
- docs: explain split chunks concepts and cache groups by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16365
- docs: explain base URI in the asset base path guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16367
- docs: correct split chunks option behavior and defaults by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16375
- docs: add split chunks option examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16388
- test(cli): remove redundant config extends compatibility test by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16334
- test: migrate remaining CommonJS configs to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16342
- test(cli): migrate functional configs to ESM TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16343
- test: migrate remaining mjs configs to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16354
- chore(deps): replace direct acorn dependency with swc-next parser by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16352
- test(e2e): migrate configs to ESM TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16357
- chore(deps): update dependency ubuntu to v26 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16381
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16370
- chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16380
- chore(deps): update dependency @microsoft/api-extractor to ^7.60.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16372
- chore(deps): update dependency less-loader to ^13.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16373
- chore(deps): update dependency glob to v14 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16384
- test: move cache related tests to newCacheCases by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16336
- chore(deps): upgrade Rstack CLI to v0.9.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16396
- @ump45nose made their first contribution in https://github.com/web-infra-dev/rspack/pull/16392
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.3.0...v2.3.1
v2.3.0
🎉 See Announcing Rspack 2.3 for more details.
- feat: rename loader filter.code to codeFilter by @SyMind in https://github.com/web-infra-dev/rspack/pull/16184
- feat: integrate allocative snapshots and profiling skill into Rspack by @intellild in https://github.com/web-infra-dev/rspack/pull/16046
- feat: support module.parser.javascript.dynamicUrl by @HashemKhalifa in https://github.com/web-infra-dev/rspack/pull/15933
- feat(watcher): expose watchpack times API on native and node watch file systems by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15754
- feat(javascript): migrate parser to SWC Next by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16089
- feat: add loader codeFilter prefilter by @SyMind in https://github.com/web-infra-dev/rspack/pull/16073
- feat(create-rspack): display version in startup banner by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16167
- feat(rstest): add origin-aware import.meta.resolve hook by @9aoy in https://github.com/web-infra-dev/rspack/pull/16275
- feat(watch): support mixed ignored patterns by @Perfecto23 in https://github.com/web-infra-dev/rspack/pull/13795
- feat: support es2026 target by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16311
- feat(cache): expose newCache statistics in Stats JSON by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16282
- perf(size): box hot async entry futures to shrink binding size by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16085
- perf(sources): avoid retaining serialized source maps by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16072
- perf(loader): schedule loader chains as execution units by @intellild in https://github.com/web-infra-dev/rspack/pull/15401
- perf(loader-runner): read process.env.WASM once by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16127
- perf: avoid creating untouched loader buildInfo by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16077
- perf(resolver): prefer package directories in node_modules by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16154
- perf(watch): lazily convert native watcher time info by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16187
- perf(watcher): reuse directory analysis for unchanged subscriptions by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16180
- perf(core): emit ESM export value descriptors when safe by @patrickkunka in https://github.com/web-infra-dev/rspack/pull/15936
- perf: reuse residual SplitChunks candidates in place by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16081
- perf(core): scan inline named exports linearly by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16224
- perf(core): skip substring search when path has no fragment marker by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16223
- perf(split-chunks): match built-in cache group conditions once per compilation by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16129
- perf(sources): use slice iteration when parsing string arrays by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16283
- perf(sources): read source map fields from the JSON tape by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16297
- perf: avoid VLQ accumulation for single-sextet mapping values by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16298
- perf(binding): preserve native source graphs during asset updates by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16207
- fix: skip build dependency collection after fatal compilation errors by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16074
- fix(resolver): resolve tsconfig
extendsthrough the real path by @orgads in https://github.com/web-infra-dev/rspack/pull/15718 - fix(split-chunks): deduplicate remaining copies in named groups by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16075
- fix(css): align CSS Modules behavior with webpack css-loader fixtures by @intellild in https://github.com/web-infra-dev/rspack/pull/15816
- fix(tracing): convert JavaScript trace nanoseconds to microseconds by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16103
- fix: stabilize module rendering order across platforms by @hai-x in https://github.com/web-infra-dev/rspack/pull/16100
- fix(binding): avoid shared property leak warnings on process exit by @SoonIter in https://github.com/web-infra-dev/rspack/pull/16117
- fix: use the module exports argument for the AMD exports dependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16122
- fix: respect module arguments in AMD code generation by @hai-x in https://github.com/web-infra-dev/rspack/pull/16148
- fix(mf): make deterministic IDs independent of project paths by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16152
- fix(watch): make node watch time info entries deterministic by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16126
- fix(javascript): reuse parser source type by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16102
- fix: link import bindings inside define callbacks by @hai-x in https://github.com/web-infra-dev/rspack/pull/16159
- fix(javascript): respect block function scope by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16162
- fix(css): localize type-first nested selectors by @intellild in https://github.com/web-infra-dev/rspack/pull/16011
- fix(javascript): preserve legacy parser behavior by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16164
- fix(lazy-compilation): avoid barrel reloads on activation by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16026
- fix(split-chunks): support minRemainingSize by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15594
- fix: release updated allocative crates to resolve napi feature mismatch by @intellild in https://github.com/web-infra-dev/rspack/pull/16171
- fix(HMR): correct hot updated chunk path resolution in Node.js HMR by @hai-x in https://github.com/web-infra-dev/rspack/pull/16174
- fix(release): synchronize workspace versions and CLI peer dependencies by @intellild in https://github.com/web-infra-dev/rspack/pull/16181
- fix: inherit splitChunks request limits in cache groups by @hai-x in https://github.com/web-infra-dev/rspack/pull/16191
- fix(css): calculate CSS module hashes from graph dependencies by @intellild in https://github.com/web-infra-dev/rspack/pull/16120
- fix(core): preserve shorthand assignment keys in concatenation by @dajiaohuang in https://github.com/web-infra-dev/rspack/pull/16205
- fix(cache): unify snapshot path matching and package lookup by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16194
- fix(javascript): correct loose equality evaluation for nullish values by @NaamuKim in https://github.com/web-infra-dev/rspack/pull/16141
- fix(lazy-compilation): avoid reposting active ids on dispose by @dajiaohuang in https://github.com/web-infra-dev/rspack/pull/16200
- fix: allocative crate package names by @intellild in https://github.com/web-infra-dev/rspack/pull/16212
- fix(mf): support consumes runtime without chunk loading by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16209
- fix(mf): normalize single-item container share scopes by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16251
- fix(css): localize animation names before !important by @dajiaohuang in https://github.com/web-infra-dev/rspack/pull/16204
- fix(watcher): keep watching when unwatching a stale path fails by @sarankumar1325 in https://github.com/web-infra-dev/rspack/pull/16199
- fix(sri): generate integrity hashes for chunks that only contain extracted css by @ojj1123 in https://github.com/web-infra-dev/rspack/pull/15711
- fix: inherit sideEffects through nested package metadata by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15336
- fix(types): narrow EvalSourceMapDevToolPlugin options by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16265
- fix(css): keep media attribute of hot replaced stylesheets by @CyberAP in https://github.com/web-infra-dev/rspack/pull/16214
- fix(rsc): collect client components from all entry dependencies by @sarankumar1325 in https://github.com/web-infra-dev/rspack/pull/16254
- fix(watcher): invalidate on native watcher removals by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16284
- fix(watcher): report a removed file once when it stays a dependency by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16305
- fix: raise inherited SWC target cap to ES2024 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16314
- fix(css): preserve stylesheet attributes and state during HMR by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16287
- fix: update named chunks when merging or removing chunks by @hai-x in https://github.com/web-infra-dev/rspack/pull/16312
- fix(watcher): preserve native event delivery while JavaScript is blocked by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/16106
- fix: include module_id in chunk hashing by @hai-x in https://github.com/web-infra-dev/rspack/pull/16168
- fix(ci): update Dylint to 6.3.0 by @intellild in https://github.com/web-infra-dev/rspack/pull/16332
- refactor(binding): retain DependencyRef in JavaScript wrappers by @SyMind in https://github.com/web-infra-dev/rspack/pull/16061
- refactor(sources): use a source-wide UTF-16 index and remove object pool by @SyMind in https://github.com/web-infra-dev/rspack/pull/16083
- refactor(javascript): remove redundant ESTree AST wrappers by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16098
- refactor: reuse current module in dependency templates by @hai-x in https://github.com/web-infra-dev/rspack/pull/16149
- refactor(javascript): emit mangled destructuring keys as strings by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16147
- refactor(cache): reuse persistent cache options for newCache by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16160
- refactor(css): share CSS module graph traversal by @intellild in https://github.com/web-infra-dev/rspack/pull/16119
- refactor(css): query placeholders from compiled templates by @intellild in https://github.com/web-infra-dev/rspack/pull/16169
- refactor: remove unused __rspack_esm_id export from module chunks by @hai-x in https://github.com/web-infra-dev/rspack/pull/16193
- refactor(binding): use registered symbols across Rust and JS by @SyMind in https://github.com/web-infra-dev/rspack/pull/16210
- refactor: remove dead code and unused parameters by @hai-x in https://github.com/web-infra-dev/rspack/pull/16217
- refactor: reuse modules and connections already in hand by @hai-x in https://github.com/web-infra-dev/rspack/pull/16197
- refactor: use SIMD UTF-16 length for dependency locations by @SyMind in https://github.com/web-infra-dev/rspack/pull/15585
- refactor: reuse data already in hand instead of looking it up again by @hai-x in https://github.com/web-infra-dev/rspack/pull/16218
- docs: update renamed crates in project architecture by @Jarvis636431 in https://github.com/web-infra-dev/rspack/pull/16087
- docs: add parallel loader section to loader guide by @intellild in https://github.com/web-infra-dev/rspack/pull/16092
- docs: add memory diagnostics guide by @intellild in https://github.com/web-infra-dev/rspack/pull/16080
- docs: explain hot update manifest fields by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16114
- docs: clarify Rsdoctor capabilities and simplify setup guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16125
- docs(resolve): explain resolve.tsConfig.references matching rules by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16099
- docs: clarify Rsbuild and Rspack CLI in quick start by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16155
- docs: clarify loader code filters and add examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16182
- docs: clarify how to check tree shaking inputs by @MuslumYilmaz in https://github.com/web-infra-dev/rspack/pull/15830
- docs: clarify how loaders affect tree shaking by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16213
- docs: clarify project setup with Rsbuild, Rslib, and Rspack CLI by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16241
- docs: correct EvalSourceMapDevToolPlugin filters by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16243
- docs: clarify fully dynamic import behavior by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16245
- docs: clarify optimization defaults in none mode by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16244
- docs: correct HMR error callback information by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16246
- docs: clarify stats loggingDebug filtering by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16250
- docs: correct stats sorting defaults by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16247
- docs: correct stats detail defaults by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16248
- docs: distinguish stats JSON and text defaults by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16249
- docs: invite @hai-x to Rspack core team by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16264
- docs: clarify CSS Modules class names for SSR by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16257
- docs: clarify how rule conditions combine by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16260
- docs: explain HMR update propagation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16261
- docs: explain transpiling modern dependencies by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16256
- docs: document compilation module graph queries by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16259
- docs: explain passing loader data to plugins by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16258
- docs: explain runtime public paths inside workers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16262
- docs: document experiments.newCache by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16272
- docs: clarify asset processing before emit by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16269
- docs: clarify eager dynamic import behavior by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16267
- docs: correct asset module filenames and output conditions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16266
- docs: add runtime issues guide for chunk loading errors by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16270
- docs: demonstrate HMR cleanup and state preservation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16271
- docs: improve memory analysis and contribution guides by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16285
- docs: group built-in loaders in a dedicated section by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16286
- docs: correct publishing step in releasing guide by @hai-x in https://github.com/web-infra-dev/rspack/pull/16290
- docs: clarify HMR check and automatic application by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16299
- docs: clarify HMR invalidation and propagation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16300
- docs: troubleshoot automatic public path failures by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16301
- docs: explain chunk load errors after HTTP success by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16302
- docs: fix HMR examples and state descriptions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16303
- docs: clarify CSS entries and external resources by @intellild in https://github.com/web-infra-dev/rspack/pull/16306
- docs: use Tailwind CSS webpack loader for v4 by @intellild in https://github.com/web-infra-dev/rspack/pull/16309
- docs: add community loaders to the ecosystem page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16319
- docs: add community plugins to the ecosystem page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16320
- docs: add NestJS to the ecosystem page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16321
- docs: add Rstack CLI to toolchain listings by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16322
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16029
- chore(deps): upgrade swc-next to 0.2.4 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16094
- chore(deps): upgrade Rspress to 2.1.0-beta.1 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/16104
- chore(deps): update dependency acorn to ^8.19.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16030
- chore(docs): update Rsdoctor 2.0 usage guides by @yifancong in https://github.com/web-infra-dev/rspack/pull/16090
- chore(deps): upgrade swc-next to 0.3.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16113
- chore(deps): update dependency playwright to v1.64.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16031
- chore(deps): update swc by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16131
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16130
- chore(deps): update dependency ts-checker-rspack-plugin to ^1.7.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16137
- chore(deps): update dependency @swc/plugin-remove-console to v17 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16139
- chore(deps): update dependency happy-dom to v21 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16140
- chore(deps): update dependency cac to ^7.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16135
- chore(deps): update dependency mermaid to ^12.2.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16136
- chore(deps): update dependency watchpack to v2.6.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16138
- chore(deps): upgrade SWC Next to 0.3.1 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16151
- Revert "fix(mf): make deterministic IDs independent of project paths" by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16161
- test: stabilize lazy barrel cache restoration by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16173
- chore(deps): update dependency @ast-grep/napi to ^0.51.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16227
- chore(deps): update rust crate either to 1.19.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16234
- chore(deps): update dependency cspell to ^10.4.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16229
- chore(deps): update dependency core-js to v3.51.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16228
- chore(deps): update rust crate wasmtime to v36.0.19 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16238
- chore(deps): update rust crate hashlink to 0.12.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16235
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16226
- chore(deps): update rust crate ctor to 0.13.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16232
- Revert "fix: inherit splitChunks request limits in cache group" by @hai-x in https://github.com/web-infra-dev/rspack/pull/16273
- chore: mark allocative driver as private by @intellild in https://github.com/web-infra-dev/rspack/pull/16308
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16225
- chore: refine webpack gap tracker workflow by @intellild in https://github.com/web-infra-dev/rspack/pull/15362
- @orgads made their first contribution in https://github.com/web-infra-dev/rspack/pull/15718
- @Jarvis636431 made their first contribution in https://github.com/web-infra-dev/rspack/pull/16087
- @dajiaohuang made their first contribution in https://github.com/web-infra-dev/rspack/pull/16205
- @MuslumYilmaz made their first contribution in https://github.com/web-infra-dev/rspack/pull/15830
- @NaamuKim made their first contribution in https://github.com/web-infra-dev/rspack/pull/16141
- @patrickkunka made their first contribution in https://github.com/web-infra-dev/rspack/pull/15936
- @sarankumar1325 made their first contribution in https://github.com/web-infra-dev/rspack/pull/16199
- @ojj1123 made their first contribution in https://github.com/web-infra-dev/rspack/pull/15711
- @CyberAP made their first contribution in https://github.com/web-infra-dev/rspack/pull/16214
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.2.9...v2.3.0
v2.3.0-rc.0
- perf(watch): lazily convert native watcher time info by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16187
- perf(watcher): reuse directory analysis for unchanged subscriptions by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16180
- perf(core): emit ESM export value descriptors when safe by @patrickkunka in https://github.com/web-infra-dev/rspack/pull/15936
- perf: reuse residual SplitChunks candidates in place by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16081
- perf(core): scan inline named exports linearly by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16224
- perf(core): skip substring search when path has no fragment marker by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16223
- perf(split-chunks): match built-in cache group conditions once per compilation by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16129
- fix(core): preserve shorthand assignment keys in concatenation by @dajiaohuang in https://github.com/web-infra-dev/rspack/pull/16205
- fix(cache): unify snapshot path matching and package lookup by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16194
- fix(javascript): correct loose equality evaluation for nullish values by @NaamuKim in https://github.com/web-infra-dev/rspack/pull/16141
- fix(lazy-compilation): avoid reposting active ids on dispose by @dajiaohuang in https://github.com/web-infra-dev/rspack/pull/16200
- fix: allocative crate package names by @intellild in https://github.com/web-infra-dev/rspack/pull/16212
- fix(mf): support consumes runtime without chunk loading by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16209
- fix(mf): normalize single-item container share scopes by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16251
- fix(css): localize animation names before !important by @dajiaohuang in https://github.com/web-infra-dev/rspack/pull/16204
- fix(watcher): keep watching when unwatching a stale path fails by @sarankumar1325 in https://github.com/web-infra-dev/rspack/pull/16199
- fix(sri): generate integrity hashes for chunks that only contain extracted css by @ojj1123 in https://github.com/web-infra-dev/rspack/pull/15711
- refactor: remove unused __rspack_esm_id export from module chunks by @hai-x in https://github.com/web-infra-dev/rspack/pull/16193
- refactor(binding): use registered symbols across Rust and JS by @SyMind in https://github.com/web-infra-dev/rspack/pull/16210
- docs: clarify how to check tree shaking inputs by @MuslumYilmaz in https://github.com/web-infra-dev/rspack/pull/15830
- docs: clarify how loaders affect tree shaking by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16213
- docs: clarify project setup with Rsbuild, Rslib, and Rspack CLI by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16241
- docs: correct EvalSourceMapDevToolPlugin filters by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16243
- docs: clarify fully dynamic import behavior by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16245
- docs: clarify optimization defaults in none mode by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16244
- docs: correct HMR error callback information by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16246
- docs: clarify stats loggingDebug filtering by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16250
- docs: correct stats sorting defaults by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16247
- docs: correct stats detail defaults by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16248
- docs: distinguish stats JSON and text defaults by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16249
- docs: invite @hai-x to Rspack core team by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16264
- docs: clarify CSS Modules class names for SSR by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16257
- docs: clarify how rule conditions combine by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16260
- docs: explain HMR update propagation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16261
- docs: explain transpiling modern dependencies by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16256
- docs: document compilation module graph queries by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16259
- docs: explain passing loader data to plugins by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16258
- docs: explain runtime public paths inside workers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16262
- docs: document experiments.newCache by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16272
- chore(deps): update dependency @ast-grep/napi to ^0.51.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16227
- chore(deps): update rust crate either to 1.19.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16234
- chore(deps): update dependency cspell to ^10.4.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16229
- chore(deps): update dependency core-js to v3.51.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16228
- chore(deps): update rust crate wasmtime to v36.0.19 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16238
- chore(deps): update rust crate hashlink to 0.12.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16235
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16226
- chore(deps): update rust crate ctor to 0.13.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16232
- @dajiaohuang made their first contribution in https://github.com/web-infra-dev/rspack/pull/16205
- @MuslumYilmaz made their first contribution in https://github.com/web-infra-dev/rspack/pull/15830
- @NaamuKim made their first contribution in https://github.com/web-infra-dev/rspack/pull/16141
- @patrickkunka made their first contribution in https://github.com/web-infra-dev/rspack/pull/15936
- @ojj1123 made their first contribution in https://github.com/web-infra-dev/rspack/pull/15711
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.3.0-beta.1...v2.3.0-rc.0
v2.3.0-beta.1
Thefilter.code loader option (introduced in 2.3.0-beta.0) has been renamed tocodeFilter . If you are upgrading from 2.3.0-beta.0, replacefilter: { code: ... } withcodeFilter: ... in your loader config. No action is needed if you never usedfilter.code .
// 2.3.0-beta.0
{ loader: 'my-loader', filter: { code: 'customMacro(' } }
// 2.3.0-beta.1
{ loader: 'my-loader', codeFilter: 'customMacro(' }
- fix!: rename loader filter.code to codeFilter by @SyMind in https://github.com/web-infra-dev/rspack/pull/16184
- feat(create-rspack): display version in startup banner by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16167
- perf(resolver): prefer package directories in node_modules by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16154
- fix: release updated allocative crates to resolve napi feature mismatch by @intellild in https://github.com/web-infra-dev/rspack/pull/16171
- fix(HMR): correct hot updated chunk path resolution in Node.js HMR by @hai-x in https://github.com/web-infra-dev/rspack/pull/16174
- fix(release): synchronize workspace versions and CLI peer dependencies by @intellild in https://github.com/web-infra-dev/rspack/pull/16181
- fix: inherit splitChunks request limits in cache groups by @hai-x in https://github.com/web-infra-dev/rspack/pull/16191
- fix(css): calculate CSS module hashes from graph dependencies by @intellild in https://github.com/web-infra-dev/rspack/pull/16120
- refactor(css): share CSS module graph traversal by @intellild in https://github.com/web-infra-dev/rspack/pull/16119
- refactor(css): query placeholders from compiled templates by @intellild in https://github.com/web-infra-dev/rspack/pull/16169
- docs: clarify loader code filters and add examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16182
- test: stabilize lazy barrel cache restoration by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16173
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.3.0-beta.0...v2.3.0-beta.1
v2.3.0-beta.0
Rspack now uses SWC Next for JavaScript parsing. This beta also includes follow-up compatibility fixes for block-scoped functions, parser source types, and legacy parser behavior. See #16089.
The new loader filter.code option accepts a string or regular expression and checks the loader's current input before running its normal transform. Loaders can skip files that do not contain the syntax or markers they need to process, avoiding unnecessary transformation work. For example, a loader that transforms customMacro() calls can use filter: { code: 'customMacro(' } to skip inputs without that marker. Pitch functions are unaffected. See #16073.
Named cache groups now remove redundant module copies from source chunks connected to the same shared chunk, reducing duplicate code in affected builds. Rspack also supports splitChunks.minRemainingSize to avoid splits that leave undersized chunks, bringing JavaScript and extracted CSS output closer to webpack. For example, an affected asynchronous CSS import now retains its expected controls.css filename in production. See #16075 and #15594.
Native and Node watch file systems now expose watchpack-compatible getTimes(), getTimeInfoEntries(), and collectTimeInfoEntries() APIs. With experiments.nativeWatcher, compiler.fileTimestamps, compiler.contextTimestamps, and the watcher's getInfo() now return real timestamp entries, improving compatibility with plugins that rely on watch metadata, such as ts-loader, webpack-virtual-modules, and vue-loader. The Node watcher also merges time-info entries deterministically so directory timestamps are preserved regardless of dependency iteration order. See the WatchFileSystem API documentation, #15754 and #16126.
Rspack avoids retaining serialized source maps, reducing memory retained by source objects. Source handling also uses a source-wide UTF-16 index and removes its object pool. See #16072 and #16083.
New allocative-based memory diagnostics help identify which Rust data structures retain memory during builds and HMR updates. See the memory diagnostics guide to capture and analyze snapshots.
- feat: integrate allocative snapshots and profiling skill into Rspack by @intellild in https://github.com/web-infra-dev/rspack/pull/16046
- feat: support module.parser.javascript.dynamicUrl by @HashemKhalifa in https://github.com/web-infra-dev/rspack/pull/15933
- feat(watcher): expose watchpack times API on native and node watch file systems by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15754
- feat(javascript): migrate parser to SWC Next by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16089
- feat: add loader codeFilter prefilter by @SyMind in https://github.com/web-infra-dev/rspack/pull/16073
- perf(size): box hot async entry futures to shrink binding size by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16085
- perf(sources): avoid retaining serialized source maps by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16072
- perf(loader): schedule loader chains as execution units by @intellild in https://github.com/web-infra-dev/rspack/pull/15401
- perf(loader-runner): read process.env.WASM once by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16127
- perf: avoid creating untouched loader buildInfo by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16077
- fix: skip build dependency collection after fatal compilation errors by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16074
- fix(resolver): resolve tsconfig
extendsthrough the real path by @orgads in https://github.com/web-infra-dev/rspack/pull/15718 - fix(split-chunks): deduplicate remaining copies in named groups by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16075
- fix(css): align CSS Modules behavior with webpack css-loader fixtures by @intellild in https://github.com/web-infra-dev/rspack/pull/15816
- fix(tracing): convert JavaScript trace nanoseconds to microseconds by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16103
- fix: stabilize module rendering order across platforms by @hai-x in https://github.com/web-infra-dev/rspack/pull/16100
- fix(binding): avoid shared property leak warnings on process exit by @SoonIter in https://github.com/web-infra-dev/rspack/pull/16117
- fix: use the module exports argument for the AMD exports dependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16122
- fix: respect module arguments in AMD code generation by @hai-x in https://github.com/web-infra-dev/rspack/pull/16148
- fix(mf): make deterministic IDs independent of project paths by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16152
- fix(watch): make node watch time info entries deterministic by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16126
- fix(javascript): reuse parser source type by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16102
- fix: link import bindings inside define callbacks by @hai-x in https://github.com/web-infra-dev/rspack/pull/16159
- fix(javascript): respect block function scope by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16162
- fix(css): localize type-first nested selectors by @intellild in https://github.com/web-infra-dev/rspack/pull/16011
- fix(javascript): preserve legacy parser behavior by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16164
- fix(lazy-compilation): avoid barrel reloads on activation by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16026
- fix(split-chunks): support minRemainingSize by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15594
- refactor(binding): retain DependencyRef in JavaScript wrappers by @SyMind in https://github.com/web-infra-dev/rspack/pull/16061
- refactor(sources): use a source-wide UTF-16 index and remove object pool by @SyMind in https://github.com/web-infra-dev/rspack/pull/16083
- refactor(javascript): remove redundant ESTree AST wrappers by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16098
- refactor: reuse current module in dependency templates by @hai-x in https://github.com/web-infra-dev/rspack/pull/16149
- refactor(javascript): emit mangled destructuring keys as strings by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16147
- refactor(cache): reuse persistent cache options for newCache by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16160
- docs: update renamed crates in project architecture by @Jarvis636431 in https://github.com/web-infra-dev/rspack/pull/16087
- docs: add parallel loader section to loader guide by @intellild in https://github.com/web-infra-dev/rspack/pull/16092
- docs: add memory diagnostics guide by @intellild in https://github.com/web-infra-dev/rspack/pull/16080
- docs: explain hot update manifest fields by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16114
- docs: clarify Rsdoctor capabilities and simplify setup guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16125
- docs(resolve): explain resolve.tsConfig.references matching rules by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16099
- docs: clarify Rsbuild and Rspack CLI in quick start by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16155
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16029
- chore(deps): upgrade swc-next to 0.2.4 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16094
- chore(deps): upgrade Rspress to 2.1.0-beta.1 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/16104
- chore(deps): update dependency acorn to ^8.19.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16030
- chore(docs): update Rsdoctor 2.0 usage guides by @yifancong in https://github.com/web-infra-dev/rspack/pull/16090
- chore(deps): upgrade swc-next to 0.3.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16113
- chore(deps): update dependency playwright to v1.64.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16031
- chore(deps): update swc by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16131
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16130
- chore(deps): update dependency ts-checker-rspack-plugin to ^1.7.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16137
- chore(deps): update dependency @swc/plugin-remove-console to v17 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16139
- chore(deps): update dependency happy-dom to v21 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16140
- chore(deps): update dependency cac to ^7.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16135
- chore(deps): update dependency mermaid to ^12.2.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16136
- chore(deps): update dependency watchpack to v2.6.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16138
- chore(deps): upgrade SWC Next to 0.3.1 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16151
- Revert "fix(mf): make deterministic IDs independent of project paths" by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16161
- @orgads made their first contribution in https://github.com/web-infra-dev/rspack/pull/15718
- @Jarvis636431 made their first contribution in https://github.com/web-infra-dev/rspack/pull/16087
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.2.9...v2.3.0-beta.0
v2.2.9
Rspack's chunking algorithm has been improved to reduce duplicate modules across chunks. (#15885)
https://github.com/user-attachments/assets/0840ec5b-7eea-4d37-9053-cc5cef176103
Rspack upgrades browserslist-rs and enables deflate compression for its browser data, reducing native binary by 2.13 MB (3.08%). (#16009)
- feat: propagate available module growth during code splitting by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15885
- perf(binding): query compilation modules lazily by @SyMind in https://github.com/web-infra-dev/rspack/pull/15906
- perf: avoid transferring unused NormalModuleFactory dependencies by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15931
- perf(sources): compact retained source storage by @SyMind in https://github.com/web-infra-dev/rspack/pull/15944
- perf(stats): cache item type strings in StatsFactory by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15779
- perf: use a hash set to deduplicate extracted comments by @CoderSerio in https://github.com/web-infra-dev/rspack/pull/15967
- perf(watcher): avoid per-node concurrent sets in the root analyzer by @guru-irl in https://github.com/web-infra-dev/rspack/pull/15965
- perf: share Module and KnownBuildInfo accessors by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15883
- perf: optimize placeholder and Node external matching by @intellild in https://github.com/web-infra-dev/rspack/pull/15808
- perf(sources): profile allocations and trim source map capacity by @SyMind in https://github.com/web-infra-dev/rspack/pull/16014
- perf(sources): release generated value after static source map by @SyMind in https://github.com/web-infra-dev/rspack/pull/16022
- perf(core): cache assetEmitted source and content per info object by @guru-irl in https://github.com/web-infra-dev/rspack/pull/15963
- perf(binding): share NormalModule accessors by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16039
- perf: share equal factorize path lists by content by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16036
- perf(split-chunks): reuse function chunks filter results per chunk set by @guru-irl in https://github.com/web-infra-dev/rspack/pull/15964
- perf(binding): materialize module source maps lazily by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15882
- perf: share compilation log entry accessors by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16052
- perf(cache): restore cached modules off the make main task by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16050
- perf(core): share file counter dependency lists by interned content by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16043
- fix(types): allow void returns in needAdditionalPass hooks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15908
- fix(types): accept falsy loaders and child compiler plugins by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15912
- fix(types): allow single loader returns from rule use functions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15920
- fix: preserve interned path sharing in cache serialize by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15910
- fix(types): correct Compilation.getAsset return type by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15932
- fix(binding): scope importModule publicPath callbacks to compiler by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15928
- fix(binding): release transient TSFN callbacks by @SyMind in https://github.com/web-infra-dev/rspack/pull/15938
- fix(types): allow omitting child compiler plugins by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15948
- fix(css): load async stylesheets with a shared runtime by @intellild in https://github.com/web-infra-dev/rspack/pull/15869
- fix(deps): upgrade lightningcss to 1.0.0-alpha.72 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15991
- fix: propagate async status through lazy barrel re-exports by @dmchoi77 in https://github.com/web-infra-dev/rspack/pull/15905
- fix(copy): register a missing glob base dir as a missing dependency by @BleedingDev in https://github.com/web-infra-dev/rspack/pull/15901
- fix(css): end unterminated url() at EOF as a url token by @IShinji in https://github.com/web-infra-dev/rspack/pull/15911
- fix: preserve statement boundaries in modern-module output by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16008
- fix(ids): rehash identical keys in compact-hashed ids by @n0th1ng-else in https://github.com/web-infra-dev/rspack/pull/15915
- fix(deps): upgrade swc_core to 82.0.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16009
- fix: resolve aliases in import.meta.glob patterns by @aryan1306 in https://github.com/web-infra-dev/rspack/pull/15898
- fix: only source map JS and CSS assets from devtool, matching webpack by @Paca-Vaca in https://github.com/web-infra-dev/rspack/pull/16018
- fix: support deferred imports introduced by hot updates by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16015
- fix: concatenate empty CommonJS modules without export access by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15913
- fix(core): ignore source map directives in JavaScript strings by @Tiancheng-Xu in https://github.com/web-infra-dev/rspack/pull/15969
- fix(css-extract): preserve relative paths from publicPath callbacks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15923
- fix(lazy-compilation): keep import attributes and phase when building activated modules by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16023
- fix(lazy-compilation): keep activated modules across rebuilds by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15134
- fix(lazy-compilation): keep issuer and resolve options when building activated modules by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16024
- fix(watcher): report watched files inside directories that appear by @guru-irl in https://github.com/web-infra-dev/rspack/pull/15966
- fix(mf): honor singleton options for shared prefixes in manifests by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16012
- fix(watcher): report recreated files by their final state by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16040
- fix: preserve pure exports during module concatenation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16053
- fix(resolver): keep RegExp restrictions in ResolverFactory cache key by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16054
- docs: use synchronous tap in getStats example by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15981
- docs: fix CopyRspackPlugin patterns example by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15982
- docs: mark asynchronous compiler hook callbacks async by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15983
- docs: fix asset name in processAssets example by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15985
- docs: avoid duplicate declarations in resolver example by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15987
- docs: use supported compilation hooks in examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15984
- docs: clarify source map asset filtering by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15990
- docs: define RuntimeGlobals in addRuntimeModule example by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15986
- docs: register run examples on the run hook by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15989
- docs: await module rebuilds in finishModules example by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15988
- docs: clarify emitAsset filename conflicts by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15992
- docs: fix statsNormalize option assignment by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15994
- docs: document compilation hook factory parameters by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15998
- docs: document ignoring requests in afterResolve by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16001
- docs: call the runtime hash getter in example by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15996
- docs: clarify compilation hash properties by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15995
- docs: document compile hook parameters by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15997
- docs: document resolveForScheme hook map and return value by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16000
- docs: correct statsPreset hook map type by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15999
- docs: clarify child compiler inheritance by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15993
- docs: improve page descriptions for documentation discovery by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16004
- docs: clarify target defaults and Lightning CSS inheritance by @intellild in https://github.com/web-infra-dev/rspack/pull/15546
- docs: add RomeOS to homepage users by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16056
- docs: document SWC loader reactCompiler option by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16060
- docs: clarify Rspack-specific SWC loader options by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16062
- docs: fix missing imports and variables in config examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16063
- docs: fix SWC examples and simplify isolatedModules guidance by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16064
- test: migrate more configurations to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15919
- test: migrate nine more configurations to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15925
- test: migrate persistent caching example to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15937
- chore(deps): update rust crate swc_config to 6.0.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15954
- chore(deps): update dependency @shikijs/transformers to ^4.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15956
- chore(deps): update dependency enhanced-resolve to v5.26.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15957
- chore(deps): update dependency memfs to v4.80.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15958
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15953
- chore(deps): update dependency playwright to v1.63.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15959
- chore(deps): update rust crate xxhash-rust to v0.8.16 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15961
- chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15976
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15971
- chore(deps): update dependency ws to ^8.22.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15975
- chore(deps): update dependency tinypool to ^2.2.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15973
- chore(deps): update dependency mermaid to ^12.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15972
- chore(deps): update dependency webpack-sources to v3.6.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15974
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15645
- chore(deps): upgrade winnow to v1 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16003
- chore(deps): update Rstest to ^0.12.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16033
- chore(deps): update pnpm to v11.28.5 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16032
- chore(deps): update rust crate async-recursion to 1.2.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16034
- chore(ci): align Dylint with the project Rust toolchain by @intellild in https://github.com/web-infra-dev/rspack/pull/16042
- chore: disable resolve cache by default for new cache by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16055
- chore(deps): upgrade rstack to v0.8.3 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16059
- @dmchoi77 made their first contribution in https://github.com/web-infra-dev/rspack/pull/15905
- @IShinji made their first contribution in https://github.com/web-infra-dev/rspack/pull/15911
- @aryan1306 made their first contribution in https://github.com/web-infra-dev/rspack/pull/15898
- @Paca-Vaca made their first contribution in https://github.com/web-infra-dev/rspack/pull/16018
- @Tiancheng-Xu made their first contribution in https://github.com/web-infra-dev/rspack/pull/15969
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.2.8...v2.2.9
v2.2.8
- feat: support JavaScript URL entries with factory type probes by @intellild in https://github.com/web-infra-dev/rspack/pull/15666
- feat: resolver cache in the new cache system by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15839
- perf(core): box optional match resource data by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15831
- perf: reduce exports info and parser memory footprint by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15821
- perf(core): box optional RSC metadata by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15837
- perf(concatenated): store binding references as indices by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15834
- perf: reuse compilation dependency arrays and strings by @SyMind in https://github.com/web-infra-dev/rspack/pull/15763
- perf(core): box import attributes by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15844
- perf(core): shrink dependency location storage by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15849
- perf(core): store module requests as boxed strings by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15856
- perf: reduce retained dependency and source capacity by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15854
- perf(javascript): share the used-by-exports payload of a dependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15851
- perf: skip unused code splitting cache copies by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15867
- perf(stats): release handles per module while converting stats to JS by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15788
- fix(types): allow void context module waterfall callbacks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15832
- fix: revert "feat: support JavaScript URL entries with factory type probes" by @intellild in https://github.com/web-infra-dev/rspack/pull/15840
- fix: preserve deferred evaluation in modern-module output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15846
- fix(resolve): resolve relative tsconfig paths against cwd by @intellild in https://github.com/web-infra-dev/rspack/pull/15713
- fix(rstest): resolve mock APIs through the runtime registry by @9aoy in https://github.com/web-infra-dev/rspack/pull/15823
- fix: interrupt compaction at cache shutdown by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15850
- fix(types): make SharePlugin enhanced option optional by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15855
- fix(types): align externals function signatures by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15857
- fix(types): correct externals resolver overloads by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15863
- fix: reset MultiCompiler done state on watch restart by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15865
- fix(types): allow unnamed module federation consumers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15868
- fix: require a name for shared dependency tree shaking by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15872
- fix(types): allow stats printer hooks to return void by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15874
- fix(types): support custom stats fields in extract hooks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15880
- fix(types): allow shouldEmit hooks to return void by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15881
- fix(types): allow Node fs as intermediate file system by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15895
- fix(types): accept entry dependencies in ModuleGraph queries by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15896
- fix(cli): enable compile cache before loading CLI by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15903
- fix: respect CI=false and skip compile cache in CI by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15904
- fix(rstest): transform non-hoisted mock APIs in expression position by @fi3ework in https://github.com/web-infra-dev/rspack/pull/15877
- fix: avoid retaining source copies in RealContentHash by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15902
- fix(loader): avoid mutating lightningcss-loader options by @tiagovilasboas in https://github.com/web-infra-dev/rspack/pull/15900
- fix(loader): normalize builtin options for inline requests by @SoonIter in https://github.com/web-infra-dev/rspack/pull/15909
- docs: clarify externals usage and consolidate function reference by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15866
- chore(deps): upgrade Rstack to 0.8.0 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/15838
- chore(test): migrate 60 more configs to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15836
- test: migrate 47 more configs to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15843
- chore(test): migrate 20 cache and callback configs to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15852
- chore(deps): update dependency memfs to v4.79.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15891
- chore(deps): update rust crate swc_ecma_minifier to 61.0.9 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15890
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15889
- chore(deps): update dependency webpack-sources to v3.5.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15888
- test: migrate HTTP integrity configuration to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15892
- test: migrate five configurations to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15893
- @tiagovilasboas made their first contribution in https://github.com/web-infra-dev/rspack/pull/15900
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.2.7...v2.2.8
v2.2.7
The new optimization.splitChunks.dedupDepth option lets Rspack spend more build time finding shared code and reducing duplication, giving you more control over the balance between bundle size and build time. In one application with many routes, this option reduced total output size by 9.9%.
It defaults to 1 in production and 0 in development. #15497
This release reduces repeated work and allocations during chunk graph construction and CSS Modules class name generation. JavaScript loaders also avoid copying their input content on each invocation, further reducing processing overhead.
- Optimize chunk graph construction: #15278, #15805.
- Reuse metadata and template values when generating CSS Modules class names: #15783, #15804.
- Avoid cloning JavaScript loader content: #15817.
- feat(split-chunks): add configurable dedupDepth by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15497
- feat: file system info path classification by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15752
- feat: support nested async dependency blocks by @intellild in https://github.com/web-infra-dev/rspack/pull/15741
- feat: cache context modules with filesystem snapshots by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15790
- perf: reduce build chunk graph overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15278
- perf(css): avoid rebuilding local ident metadata per class name by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15783
- perf(resolver): memoize the interned package.json path by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15797
- perf(css): cache invariant local ident rendering values by @intellild in https://github.com/web-infra-dev/rspack/pull/15804
- perf: store runtime keys as SmolStr by @intellild in https://github.com/web-infra-dev/rspack/pull/15807
- perf: reduce build chunk graph code splitter overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15805
- perf(css-extract): avoid per-loader configuration callbacks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15812
- perf(loader): avoid cloning JS loader content by @SyMind in https://github.com/web-infra-dev/rspack/pull/15817
- perf(core): reuse module identifier for identical requests by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15820
- perf(loader): statically import worker_threads by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15825
- perf(core): reuse resource string for identical user requests by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15827
- fix: keep shadowing exports bindings in nested runtime deconfliction by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15742
- fix(binding): release loader TSFNs on compiler close by @SyMind in https://github.com/web-infra-dev/rspack/pull/15735
- fix: render CommonJS externals directly in modern-module output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15238
- fix: skip entry modules without JavaScript in the chunk startup by @cezaraugusto in https://github.com/web-infra-dev/rspack/pull/15767
- fix(html): keep the doctype when a comment is above it by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15778
- fix(types): allow RslibPlugin without options by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15801
- fix: ignore fragment-only CSS URL dependencies by @intellild in https://github.com/web-infra-dev/rspack/pull/15800
- fix(bench): exclude compiler teardown from runtime requirements by @intellild in https://github.com/web-infra-dev/rspack/pull/15813
- fix(types): declare code generation Sources.get and migrate configs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15814
- fix(types): allow RegExp resolve restrictions and migrate configs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15819
- fix(cli): initialize profiling once for multiple configs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15829
- docs: remove redundant CLAUDE.md setup tip by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15815
- docs: clarify default parallel loader worker count by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15824
- test: migrate inner-graph and HTTP test helpers to ESM by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15748
- test: migrate common test loaders to ESM by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15751
- ci: print ecosystem benchmark repository commit by @SyMind in https://github.com/web-infra-dev/rspack/pull/15746
- test: migrate test loaders, helpers and plugins to ESM by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15753
- test: migrate stateful and diagnostic loaders to ESM by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15758
- chore: add CLAUDE.md that imports AGENTS.md by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15760
- test: support TypeScript case configurations by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15761
- chore(deps): upgrade Rstack to 0.7.6 and Rstest to 0.12 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15762
- test: type-check case configs and migrate simple configs to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15765
- chore(deps): update dependency enhanced-resolve to v5.25.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15771
- test: migrate case configs to TypeScript (batch 1) by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15774
- test: migrate case configs to TypeScript (batch 2) by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15775
- test: migrate case configs to TypeScript (batch 3) by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15776
- test: migrate case configs to TypeScript (batch 4) by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15777
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15769
- chore(deps): update dependency jsdom to ^30.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/15772
- test: migrate more case configs to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15787
- chore: remove redundant CLAUDE.md by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15791
- test: migrate 32 configs to TypeScript and normalize spacing by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15789
- chore(deps): upgrade lite-tapable to v1.2.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15794
- test: migrate 77 configs and clean helpers to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15795
- test: migrate 61 configs and four helpers to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15803
- test: migrate more configs to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15806
- test: migrate more configs and helpers to TypeScript by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15811
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.2.6...v2.2.7