v2.0.4
-
Inline const with module declarations (#14032): Previously, Rspack only inlined constant exports from leaf modules in the module graph. Now constant exports from any module can be inlined, even when that module also imports or re-exports other modules. In rare circular-reference cases this can make a TDZ error disappear, but we do not expect real projects to rely on TDZ errors, so Rspack prioritizes the optimization.
// constants.js import './setup'; export const ENABLE_EXPERIMENT = false; // entry.js import { ENABLE_EXPERIMENT } from './constants'; if (ENABLE_EXPERIMENT) { runExperiment(); } // Before: constants.js is not a leaf module, so the branch could keep // reading the imported binding. if (ENABLE_EXPERIMENT) { runExperiment(); } // Now: the constant can still be inlined, so dead branches are easier // to remove. if (false) { runExperiment(); }
-
Tree shake namespace default reexport (#13980): Previously, the
import * as a from './a'; export default a;pattern did not tree-shakeathrough the default export. Now Rspack further analyzes the default-exported namespace object and can remove unused exports from the original namespace module.// a.js export function used() {} export function unused() {} // bridge.js import * as a from './a'; export default a; // app.js import a from './bridge'; a.used(); // Before: both used and unused could be kept in the bundle. // Now: unused can be tree-shaken.
-
CSS global module type (#13988):
css/globalis useful when most selectors in a stylesheet should stay global, but you still want CSS Modules features for selected local selectors. This makes it easier to migrate existing global CSS gradually without turning every class name into a local scoped name.export default { module: { rules: [{ test: /\.global\.css$/i, type: 'css/global' }], }, };
/* style.global.css */ .button { color: red; } :local(.title) { font-weight: 600; }
.buttonstays global, while.titleis renamed as a local class. -
CSS Modules local ident options (#14009): CSS Modules now support local ident hash options such as hash function, digest, digest length, and salt. These options make generated class names more configurable and better aligned with webpack-compatible CSS Modules setups.
export default { module: { rules: [{ test: /\.module\.css$/i, type: 'css/module' }], generator: { 'css/module': { localIdentName: '[name]__[local]__[hash]', localIdentHashFunction: 'xxhash64', localIdentHashDigest: 'hex', localIdentHashDigestLength: 8, localIdentHashSalt: 'my-salt', }, }, }, };
- feat(css): add support for css/global module type by @intellild in https://github.com/web-infra-dev/rspack/pull/13988
- feat: tree shake namespace default reexport by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13980
- feat: inline const with module declarations by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/14032
- feat(css): support CSS module local ident options by @intellild in https://github.com/web-infra-dev/rspack/pull/14009
- feat: circular modules info plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/14031
- perf: cache reserved name atom set by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14014
- perf: optimize flag dependency usage by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14052
- perf(cli): remove process title startup overhead by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14061
- perf(deps): unify duplicate Rust dependencies to reduce binary size by @intellild in https://github.com/web-infra-dev/rspack/pull/14012
- perf: improve split chunks cache group filtering by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14067
- perf: optimize mangle exports plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14048
- perf(cli): lazy load json stream helpers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14079
- perf: optimize named id assignment by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14075
- fix(rsc): skip client entry mismatch without injections by @SyMind in https://github.com/web-infra-dev/rspack/pull/14018
- fix(cli): write logger trace output to file by default by @hardfist in https://github.com/web-infra-dev/rspack/pull/14022
- fix(ci): repair broken rustup shim chain on macos-latest by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14040
- fix(stats): preserve sub-millisecond precision in logger time entries by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14049
- fix: import.meta.filename/dirname escape on windows by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/14050
- fix(rsc): group client chunks by server-entry ownership by @SyMind in https://github.com/web-infra-dev/rspack/pull/13880
- fix(rslib): emit type-only isolated dts dependencies by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/14037
- fix(copy-plugin): support JS input file system for glob copies by @intellild in https://github.com/web-infra-dev/rspack/pull/14023
- fix: keep buildHttp imports bundled for node target by @SyMind in https://github.com/web-infra-dev/rspack/pull/14086
- docs: update config option types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14060
- docs: update runtime plugin hooks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14069
- docs(plugin-api): document module factory hooks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14070
- docs(cli): update cli option descriptions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14071
- docs(website): update core team profile by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14093
- security(ci): remove PR title lint workflow by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14016
- chore: add local rust benchmark script by @hardfist in https://github.com/web-infra-dev/rspack/pull/14007
- chore(ci): replace archived actions-rs/cargo with bare cargo invocations by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14017
- chore: release version 2.0.3 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14015
- chore: add draft release notes skill by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14028
- chore(build): fix empty napi-binding.d.ts on subsequent builds by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14027
- chore: bump rslint to 0.5.3 by @fansenze in https://github.com/web-infra-dev/rspack/pull/14034
- chore(deps): update swc crates by @hardfist in https://github.com/web-infra-dev/rspack/pull/14036
- chore(skill): add rspack performance optimization skill by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14047
- chore: upgrade swc from 64 to 66 by @hardfist in https://github.com/web-infra-dev/rspack/pull/14059
- chore(deps): update dependency @codspeed/vitest-plugin to ^5.4.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/14057
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/14055
- chore(deps): update dependency @playwright/test to v1.60.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/14058
- chore: bump patch of swc_core and swc_typescript by @CPunisher in https://github.com/web-infra-dev/rspack/pull/14066
- test: add named ids codspeed benchmarks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14074
- chore(security): replace issues helper action by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14084
- chore(deps): bump rstack ecosystem ci action by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14092
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.3...v2.0.4
v2.0.3
- perf: reduce normal module creation and rule matching overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13926
- perf: disable perfetto tracing in release binding by @hardfist in https://github.com/web-infra-dev/rspack/pull/13932
- perf: reduce parser dependency bookkeeping overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13936
- perf: reduce code splitter allocation and lookup overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13968
- feat: expose dependency import attributes by @hardfist in https://github.com/web-infra-dev/rspack/pull/13947
- feat(rsc): support configurable CSS link props by @SyMind in https://github.com/web-infra-dev/rspack/pull/13945
- feat(externals): add modern-module externals type by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13861
- feat: support import.meta.rspackRsc by @SyMind in https://github.com/web-infra-dev/rspack/pull/13840
- feat: drop inactive branch dependencies for inlined booleans by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13863
- feat(sourcemap): support relative paths in inline source maps by @SyMind in https://github.com/web-infra-dev/rspack/pull/13974
- fix(cli): use rspack-merge for config extends by @intellild in https://github.com/web-infra-dev/rspack/pull/13869
- fix(deps): revert mimalloc update by @hardfist in https://github.com/web-infra-dev/rspack/pull/13942
- fix(hash): fix base64 digest and hash salt by @intellild in https://github.com/web-infra-dev/rspack/pull/13977
- fix: align sync module rule resource matching by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13981
- fix(ci): avoid browser e2e watcher by @hardfist in https://github.com/web-infra-dev/rspack/pull/13987
- refactor(rstest): expose injectDynamicImportOrigin.functionName and resolve callee once by @fi3ework in https://github.com/web-infra-dev/rspack/pull/13930
- refactor: use rspack util base64 by @intellild in https://github.com/web-infra-dev/rspack/pull/13978
- refactor(core): remove unused exports final name metadata by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14003
- docs: replace webpack-merge references with rspack-merge by @intellild in https://github.com/web-infra-dev/rspack/pull/13933
- docs: correct terminology spelling by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13964
- docs: update HTML plugin guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13970
- docs(externals): add modern-module externals example by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13979
- docs: update NestJS guide by @intellild in https://github.com/web-infra-dev/rspack/pull/13976
- docs: invite @intellild to Rspack core team by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13986
- docs: add Node app guide by @intellild in https://github.com/web-infra-dev/rspack/pull/13995
- chore: release v2.0.2 by @SyMind in https://github.com/web-infra-dev/rspack/pull/13922
- chore(benchmark): remove swc loader from threejs case by @hardfist in https://github.com/web-infra-dev/rspack/pull/13881
- ci: upload codspeed valgrind temp files by @hardfist in https://github.com/web-infra-dev/rspack/pull/13879
- chore: bump rslint to 0.5.2 by @fansenze in https://github.com/web-infra-dev/rspack/pull/13931
- chore: enable Rslint for more packages and fix lint issues by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13934
- chore: enable Rslint JS recommended rules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13938
- chore: disable renovate updates for mimalloc by @hardfist in https://github.com/web-infra-dev/rspack/pull/13949
- ci: remove unused team label workflow by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13950
- test: configure rayon for codspeed benchmarks by @hardfist in https://github.com/web-infra-dev/rspack/pull/13954
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13959
- chore(deps): update rust crate tokio to 1.52.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13961
- chore(deps): update pnpm to v10.33.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13960
- chore: enable tsgo for dts generation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13952
- test(benchmark): disable spawn blocking for codspeed by @hardfist in https://github.com/web-infra-dev/rspack/pull/13958
- chore: use mimalloc for codspeed benchmark allocator by @hardfist in https://github.com/web-infra-dev/rspack/pull/13966
- test: split compilation stage benchmarks by @hardfist in https://github.com/web-infra-dev/rspack/pull/13969
- test: split benchmark case entrypoints by @hardfist in https://github.com/web-infra-dev/rspack/pull/13971
- test: print benchmark compilation errors by @hardfist in https://github.com/web-infra-dev/rspack/pull/13984
- chore: bump swc from 65.0.1 to 65.0.4 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13985
- chore(deps): update dependency mermaid to v11.15.0 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13997
- chore(deps): tighten pnpm install safeguards by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14005
- security(release): drop .npmrc NPM_TOKEN write, rely on npm trusted publishing by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14011
- chore(ci): pin actions/{download,upload}-artifact to immutable SHAs by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14001
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.2...v2.0.3
v2.0.2
- perf(split-chunks): lazily precompute sorted modules for compare by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13854
- perf(split-chunks): batch split chunk runtime updates by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13859
- perf(split-chunks): optimize module chunk lookup by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13873
- perf(build): reduce binding size with size-optimized Wasmtime crates by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13877
- feat: add logging for persistent cache validation info by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13855
- feat(rslib): support emit isolated declarations by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13872
- feat(create-rspack): support rslint template mapping by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13882
- feat(rstest): inject source-module origin into dynamic imports by @fi3ework in https://github.com/web-infra-dev/rspack/pull/13849
- fix: handle weak dynamic imports without async chunks by @hardfist in https://github.com/web-infra-dev/rspack/pull/13848
- fix(source-maps): avoid loader request in lightningcss source maps by @zalishchuk in https://github.com/web-infra-dev/rspack/pull/13830
- fix(rsc): handle server component css by server entry scope by @SyMind in https://github.com/web-infra-dev/rspack/pull/13844
- fix: sort ConcatenatedModule export keys for deterministic builds by @mango766 in https://github.com/web-infra-dev/rspack/pull/13425
- fix: use index maps for concatenated export rendering by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13875
- fix(core): ignore optional hono type imports by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13883
- fix(rsc): scope server-entry CSS collection by entry by @SyMind in https://github.com/web-infra-dev/rspack/pull/13878
- fix(rslib): make isolated dts metadata relative by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13884
- fix(deps): update http-proxy-middleware to 4.0.0-beta.6 by @Darshan808 in https://github.com/web-infra-dev/rspack/pull/13909
- fix(plugin-library): skip unused exports in ModuleLibraryPlugin by @SAY-5 in https://github.com/web-infra-dev/rspack/pull/13920
- fix: expose numeric chunk ids in JS APIs by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13839
- fix(rsc): support void onServerComponentChanges callbacks by @SyMind in https://github.com/web-infra-dev/rspack/pull/13885
- fix: align module external remapping with webpack by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13802
- docs: Add Shakapacker to Ecosystem (Ruby on Rails) by @cody-elhard in https://github.com/web-infra-dev/rspack/pull/13866
- docs: sync Shakapacker ecosystem docs to zh by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13867
- docs: fix Modern.js links by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13868
- docs: add TanStack Router to ecosystem by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13870
- docs: sort config options sidebar by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13874
- docs(faq): remove outdated React Server Components support section by @lajczi in https://github.com/web-infra-dev/rspack/pull/13898
- docs: sync zh FAQ with RSC update by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13902
- docs: add webpack package replacements by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13910
- docs: replace storybook roadmap link with migration guide by @fi3ework in https://github.com/web-infra-dev/rspack/pull/13923
- docs: clarify splitChunks name function by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13928
- chore: move check source changed jobs to self-hosted runner by @hardfist in https://github.com/web-infra-dev/rspack/pull/13862
- chore: release version 2.0.1 by @intellild in https://github.com/web-infra-dev/rspack/pull/13860
- chore(benchmark): disable minimize for bundle codspeed by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13871
- chore(deps): update dependency happy-dom to ^20.9.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13833
- chore(deps): update dependency toml to v4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13892
- chore(deps): update dependency image-minimizer-webpack-plugin to v5 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13891
- chore(deps): update dependency lint-staged to ^16.4.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13887
- chore(deps): update dependency @module-federation/runtime-tools to v2.4.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13886
- chore(deps): update dependency cspell to v10 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13897
- chore(deps): update dependency @shikijs/transformers to v4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13896
- chore(deps): update dependency mermaid to ^11.14.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13894
- chore(deps): update dependency terser-webpack-plugin to ^5.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13889
- chore(deps): update dependency ws to ^8.20.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13895
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13900
- build: replace webpack-merge with rspack-merge by @intellild in https://github.com/web-infra-dev/rspack/pull/13907
- chore(deps): update rust crate rayon to 1.12.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13904
- chore(deps): update rust crate oneshot to 0.2.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13903
- chore(deps): update dependency exit-hook to v5 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13906
- chore(deps): update yarn to v4.14.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13905
- chore(deps): update dependency memfs to v4.57.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13888
- chore(deps): update dependency watchpack to v2.5.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13890
- chore(deps): update dependency axios to ^1.16.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13911
- chore(deps): update rust crate hashlink to 0.11.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13912
- chore(deps): update rust crate indexmap to 2.14.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13913
- chore(deps): remove http-proxy-middleware dts patch by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13919
- chore(deps): update dependency @discoveryjs/json-ext to v1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13916
- chore(deps): update napi by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13899
- @zalishchuk made their first contribution in https://github.com/web-infra-dev/rspack/pull/13830
- @cody-elhard made their first contribution in https://github.com/web-infra-dev/rspack/pull/13866
- @mango766 made their first contribution in https://github.com/web-infra-dev/rspack/pull/13425
- @lajczi made their first contribution in https://github.com/web-infra-dev/rspack/pull/13898
- @Darshan808 made their first contribution in https://github.com/web-infra-dev/rspack/pull/13909
- @SAY-5 made their first contribution in https://github.com/web-infra-dev/rspack/pull/13920
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.1...v2.0.2
v2.0.1
- perf(concatenate): optimize scope-hoisting build hot paths by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13759
- perf: reduce string churn across identifiers, ids, and runtime helpers by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13788
- perf: reuse cached module dependency lists in finish_modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13808
- perf: reduce code splitter and module reference overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13816
- perf: reduce split chunks allocation overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13842
- feat: rsc entry debug comments by @SyMind in https://github.com/web-infra-dev/rspack/pull/13812
- feat(pure-functions): accept any top-level binding and trust consumer-side hints by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13810
- fix: module hash exports type hash should stable by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13796
- fix: exports info update hash should stable by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13798
- fix(esm): rewrite evaluated in operator for externals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13803
- fix(cli): bundle published declaration files by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13807
- fix: align http-proxy-middleware with @rspack/dev-server by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13822
- fix(cli): respect devServer port in preview by @Sylar-W in https://github.com/web-infra-dev/rspack/pull/13838
- fix: enable module static cache in development by @hardfist in https://github.com/web-infra-dev/rspack/pull/13856
- refactor: make parser_and_generator readonly by @hardfist in https://github.com/web-infra-dev/rspack/pull/13785
- refactor: remove prefetch functions for exports info by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13817
- refactor: cache logging to use atomic logger counters by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13825
- docs(blog): add Rspack 2.0 release posts by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13703
- docs(blog): add Rsbuild 2.0 announcement links by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13789
- docs: enable announcement banner by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13790
- docs: refresh README docs and benchmark links by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13791
- docs(blog): upgrade rstack-doc-ui version by @SoonIter in https://github.com/web-infra-dev/rspack/pull/13792
- docs: update blog authors and member avatars by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13815
- docs: clarify resolve.roots migration guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13819
- docs: fix wrong nested module rule example for strict this context by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13824
- docs: clarify dev server usage by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13847
- docs: clarify externalsType defaults by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13845
- chore(watcher): log raw fs events from notify in disk watcher by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13778
- chore(deps): bump Rslint to 0.5.0 by @fansenze in https://github.com/web-infra-dev/rspack/pull/13793
- chore(ci): remove bench result check from CI by @hardfist in https://github.com/web-infra-dev/rspack/pull/13800
- ci: disable Windows CPU hogs to speed up CI by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13722
- test(bench): make fast_set synchronous under codspeed by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13811
- chore: document loader getOptions query string parsing by @hardfist in https://github.com/web-infra-dev/rspack/pull/13823
- chore(ci): add 40min timeout to ecosystem CI per commit job by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13809
- chore(deps): update pnpm to v10.33.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13829
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13828
- chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13826
- chore: Revert "chore: move check-changed job to namespace" by @hardfist in https://github.com/web-infra-dev/rspack/pull/13835
- chore: move wasm test to self-hosted runner by @hardfist in https://github.com/web-infra-dev/rspack/pull/13836
- chore: move bench job to github runner by @hardfist in https://github.com/web-infra-dev/rspack/pull/13837
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13831
- chore(deps): update dependency enhanced-resolve to v5.21.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13832
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13827
- chore: bump @rslint/core to 0.5.1 by @fansenze in https://github.com/web-infra-dev/rspack/pull/13850
- test: reduce persistent cache bench output variance by @hardfist in https://github.com/web-infra-dev/rspack/pull/13852
- chore: upgrade swc_core from 64 to 65 by @hardfist in https://github.com/web-infra-dev/rspack/pull/13857
- @Sylar-W made their first contribution in https://github.com/web-infra-dev/rspack/pull/13838
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0...v2.0.1
v2.0.0
- 🚀 Read our announcement blog post for new features, and highlights
- 🛠️ Check out the step-by-step migration guide for upgrading from v1 to v2
- feat!: remove
experiments.SubResourceIntegrityPluginby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12642 - feat!: remove
experiments.rspackFutureand movebundlerInfotooutputby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12654 - feat!: remove
experiments.parallelLoaderby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12658 - feat!: remove
profileandstats.profileby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12662 - feat!: enable
verbatimModuleSyntaxofbuiltin:swc-loaderby default by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12668 - feat!: remove
rspack.experiments.lazyCompilationMiddlewareby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12736 - feat!: remove deprecated WarnCaseSensitiveModulesPlugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12737
- feat!: remove deprecated draft option from LightningCSS minimizer by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12740
- feat!: remove deprecated cssHeadDataCompression option by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12741
- feat!: remove deprecated output library fields by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12745
- feat!: make @rspack/dev-server an optional peer dependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12750
- feat!: use rspackChunk as default value of chunkLoadingGlobal by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12779
- feat!: disable requireAsExpression by default by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12786
- feat!: use "rspack" as default trustedTypes policy name by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12799
- feat!: remove sri option of HtmlRspackPlugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12651
- feat!: remove
output.charsetby @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12660 - feat!: disable
.swcrcreading in JavaScript compiler by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12667 - feat!: remove deprecated getHooks method from plugins by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12738
- feat!: Rspack off modules and assets in normal stats by @SyMind in https://github.com/web-infra-dev/rspack/pull/12701
- feat!: default loader/plugin target by rspack target by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12752
- feat!: use rspackHotUpdate as default hotUpdateGlobal by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12774
- feat!: enable css by default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12744
- feat!: default targets for loader/plugin derived by rspack target, part 2 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12780
- feat!: do not expose EsmLibraryPlugin to user directly, use modern-module instead by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12792
- feat!: revert enable verbatimModuleSyntax by @hardfist in https://github.com/web-infra-dev/rspack/pull/12846
- feat!: remove experiments.outputModule config by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12912
- feat!: change default value for devtool by @SyMind in https://github.com/web-infra-dev/rspack/pull/12934
- feat!: default resolve roots to empty array by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13273
- feat!: remove .wasm from default js extensions by @hardfist in https://github.com/web-infra-dev/rspack/pull/13321
- feat!: remove 'webpack' from default CSS import conditions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13348
- feat!: change exports presence default to true by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13002
- feat!: Add
pnp_manifestoption to resolver by @smeng9 in https://github.com/web-infra-dev/rspack/pull/12417 - feat(swc-loader)!: move rspackExperiments.import to top-level transformImport by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13345
- feat(pnp)!: drop multi yarn pnp project resolving by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13389
- feat!: disable bundlerInfo force by default by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13599
- feat(progress-plugin)!: replace handler rest args with structured info object by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13049
- fix!: remove unsafe cache by @SyMind in https://github.com/web-infra-dev/rspack/pull/12892
- fix!: remove debug hash algorithm by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12951
- fix!: remove deprecated readResourceForScheme hook by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13027
- fix!: remove unconsumed useless
optimization.removeAvailableModulesconfig option by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13317 - refactor!: remove default exports in hot modules by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13213
- refactor!: drop support for Node 18 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12739
- refactor!: drop CommonJS build and transition to pure ESM package by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12733
- refactor!: move incremental option from experiments to top-level config by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12793
- refactor(browser)!: remove
rspack_browsercrate and require@rspack/browserto run in a Worker by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13712 - refactor!: use
strictThisContextOnImportsto control ns obj as this by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13234
- perf: remove ropey crate to reduce binary size by @SyMind in https://github.com/web-infra-dev/rspack/pull/12433
- perf: optimize require regex compilation using static LazyLock by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12944
- perf: try fix mf performance regression by @hardfist in https://github.com/web-infra-dev/rspack/pull/12958
- perf: Cache default context regexp for parser plugins by @hardfist in https://github.com/web-infra-dev/rspack/pull/13024
- perf: Enable more Clippy performance checks and reduce redundant clones by @hardfist in https://github.com/web-infra-dev/rspack/pull/13069
- perf: remove unused env call by @hardfist in https://github.com/web-infra-dev/rspack/pull/13080
- perf: use slotmap for scope info by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13101
- perf: optimize DependencyLocation computation with incremental caching by @SyMind in https://github.com/web-infra-dev/rspack/pull/13109
- perf: Convert dependent full hash hook to sync with rayon support by @hardfist in https://github.com/web-infra-dev/rspack/pull/13130
- perf: Replace OverlayMap with RollbackAtomMap in exports artifact by @hardfist in https://github.com/web-infra-dev/rspack/pull/13143
- perf: remove ProcessUnlazyDependenciesTask by @hardfist in https://github.com/web-infra-dev/rspack/pull/13151
- perf: reduce content hash and lazy filename tempate ctx compute by @SyMind in https://github.com/web-infra-dev/rspack/pull/13156
- perf: by json-escape-simd by @SyMind in https://github.com/web-infra-dev/rspack/pull/13183
- perf: Add smallvec-backed member chains by @hardfist in https://github.com/web-infra-dev/rspack/pull/13227
- perf: improve find_new_name by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13209
- perf(regex): enable case-insensitive endsWith fast path by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13232
- perf: reduce replace source string alloc by @SyMind in https://github.com/web-infra-dev/rspack/pull/13150
- perf: improve data structure by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13259
- perf(core): cache ModuleId hash by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13264
- perf: use UkeySet or IdentifierSet for graph and plugin collections by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13266
- perf: remove ukey collections by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13309
- perf: replace unnecessary usize and u64 with u32 by @hardfist in https://github.com/web-infra-dev/rspack/pull/13338
- perf: dyn lint for default hash by @SyMind in https://github.com/web-infra-dev/rspack/pull/13346
- perf: parser hook plugins by @SyMind in https://github.com/web-infra-dev/rspack/pull/13373
- perf(esm-lib): optimize ESM library rendering performance by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13334
- perf(build_chunk_graph): optimize data structures in code splitter by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13403
- perf: rspack_storage parallel write by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13407
- perf(core): reduce target resolution overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13513
- perf(javascript): cache non-nested export target lookups by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13545
- perf(rspack-sources): perf potential tokens and source map to json by @SyMind in https://github.com/web-infra-dev/rspack/pull/13497
- perf: modules should use IdentifierHasher by @SyMind in https://github.com/web-infra-dev/rspack/pull/13601
- perf(code-splitting): reuse side effects evaluation state by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13668
- perf: trace hook interception only pays off once global tracing is already on by @SyMind in https://github.com/web-infra-dev/rspack/pull/13689
- perf: Replace parser hook dispatch SmallVecs with bitmasks by @hardfist in https://github.com/web-infra-dev/rspack/pull/13774
- feat: improve external module rendering by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12813
- feat: builtin react server component by @SyMind in https://github.com/web-infra-dev/rspack/pull/12012
- feat: expose dependency loc to js by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12840
- feat: add cache.portable configuration by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12842
- feat: support
import.defer()for statical path by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12900 - feat(rstest): only handle global variables when globals is true by @9aoy in https://github.com/web-infra-dev/rspack/pull/12921
- feat: add
beforeModuleIdshook by @hamlim in https://github.com/web-infra-dev/rspack/pull/12809 - feat: support
import.defer()for context module by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12938 - feat: support MF share treeshake by @2heal1 in https://github.com/web-infra-dev/rspack/pull/12250
- feat: make license banner comment more concise by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12960
- feat: preserve tla expr for EsmLibrary by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12942
- feat: add support for readonly persistent cache by @cellison-figma in https://github.com/web-infra-dev/rspack/pull/12902
- feat(css): introduce
resolveImportparser option for css parser to choose whether to resolve@importsyntax by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12672 - feat: add the map of json data size to rspack_plugin_rsdoctor for use rsdoctor by @yifancong in https://github.com/web-infra-dev/rspack/pull/12950
- feat: splitChunks for EsmLibraryPlugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12521
- feat: automatically split runtime chunk by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13123
- feat: optimize star exports from externals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13050
- feat: optimize dyn import for esm output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13121
- feat: making RSC compatible with lazy compilation by @SyMind in https://github.com/web-infra-dev/rspack/pull/13136
- feat: cjs require destructuring assignment tree shaking by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13149
- feat: keep unknown import.meta properties by @intellild in https://github.com/web-infra-dev/rspack/pull/12796
- feat(javascript): align scope termination and DCE with webpack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13147
- feat: support strict this context on imports by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13169
- feat: rsdoctor support the side effects infos by @yifancong in https://github.com/web-infra-dev/rspack/pull/12983
- feat(javascript): improve const eval by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13167
- feat(stats): enable stats.colors by default when environment supports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13161
- feat(esm-library): auto-name unnamed dynamic import chunks with deterministic module name by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13172
- feat(deps): update @rspack/dev-server to 2.0.0-beta.1 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13205
- feat: cjs require variable property access tree shaking by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13155
- feat: enable mangle exports for cjs full require by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13212
- feat(esm-library): deduplicate non-concatenated external modules after scope hoisting by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13210
- feat(esm): optimize dynamic import exports for namespace and tree-shaking by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13211
- feat: support regex flags and JavaScript lookaheads in extractComments condition by @Copilot in https://github.com/web-infra-dev/rspack/pull/12990
- feat(mf): shareScope support array type by @2heal1 in https://github.com/web-infra-dev/rspack/pull/13107
- feat: add Node.js version check during initialization by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13261
- feat: rsc support disable client api checks by @SyMind in https://github.com/web-infra-dev/rspack/pull/13263
- feat: update
devServertypes for@rspack/dev-serverv2 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13278 - feat(create-rspack): add Rstest as an optional tool by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13300
- feat: support rsc manifest callback by @SyMind in https://github.com/web-infra-dev/rspack/pull/13277
- feat: rspack_plugin_rsdoctor add collect connections function by @yifancong in https://github.com/web-infra-dev/rspack/pull/13181
- feat: tree shaking for inlined members access dynamic import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13381
- feat: add EsmNodeTargetPlugin for ESM-aware node builtin externals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13370
- feat(rsdoctor): add support for dependency connections by @yifancong in https://github.com/web-infra-dev/rspack/pull/13384
- feat: enable mangle exports for cjs reexport by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13413
- feat(rstest): support unmockRequire methods by @9aoy in https://github.com/web-infra-dev/rspack/pull/13412
- feat(create-rspack): update typescript to v6 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13445
- feat(swc-loader): add detectSyntax option to infer parser by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13467
- feat: support
import.meta.mainby @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13489 - feat: support expression in
import.meta.resolveargument by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13523 - feat: add ModuleGraph.getUsedExports to ModuleGraph by @SyMind in https://github.com/web-infra-dev/rspack/pull/13519
- feat: Implement HashedModuleIdsPlugin by @aancuta in https://github.com/web-infra-dev/rspack/pull/13197
- feat: add TryFutureConsumer with short-circuit cancellation by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13554
- feat(binding): add active-related APIs to ModuleGraphConnection by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13548
- feat: support optimize side effects free function calls by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12559
- feat(node-binding): add external wasm debug info for wasm dwarf debugging by @hardfist in https://github.com/web-infra-dev/rspack/pull/13638
- feat(create-rspack): modernize starter template configs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13645
- feat(split-chunks): support enforceSizeThreshold option by @jaehafe in https://github.com/web-infra-dev/rspack/pull/13576
- feat(resolve): support
#/subpath alias import by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13633 - feat(create-rspack): reuse rspack config in rstest templates by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13666
- feat: enforce macro-generated implemented_hooks in debug builds by @SyMind in https://github.com/web-infra-dev/rspack/pull/13677
- feat: only apply require-* parser plugins to js-auto/js-dynamic by @SyMind in https://github.com/web-infra-dev/rspack/pull/13678
- feat: skip building side-effect-only imports in make by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13688
- feat: add compiler.hooks.shouldRecord for NoEmitOnErrorsPlugin by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13630
- feat(cli): use jiti to load typescript config by @hardfist in https://github.com/web-infra-dev/rspack/pull/13690
- feat: expose jsonp template plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13700
- feat(config): update default performance budgets by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13717
- feat: support relative output.path relative to context by @hardfist in https://github.com/web-infra-dev/rspack/pull/13718
- feat(create-rspack): add optional agent skills by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13729
- feat: persistent cache for swc js minimizer plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13706
- feat(cli): add --open / --no-open to rspack dev / serve by @mvanhorn in https://github.com/web-infra-dev/rspack/pull/13777
- fix: failed to resolve 'browserslist-load-config' module by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12767
- fix: correct watchpack require path by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12771
- fix(browser): fix
@rspack/browserfailure after pure esm transformation by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12781 - fix(mf): async startup e2e test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12808
- fix(template): add @rspack/dev-server to dev dependencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12821
- fix: normalize paths for extract source map by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12825
- fix(mf): use dynamic exports type for MF modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12841
- fix: should not panic when access slate stats by @SyMind in https://github.com/web-infra-dev/rspack/pull/12839
- fix(mf): prevent entry-specific chunks from polluting manifest assets and refactor manifest generation by @2heal1 in https://github.com/web-infra-dev/rspack/pull/12836
- fix: enable panic backtrace for release-debug profile by @Copilot in https://github.com/web-infra-dev/rspack/pull/12856
- fix(mf): respect request changes in shared plugins by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12863
- fix: prevent panic on template literals with invalid escape sequences by @Copilot in https://github.com/web-infra-dev/rspack/pull/12867
- fix: rsc should handle concat module in build server manifest by @SyMind in https://github.com/web-infra-dev/rspack/pull/12859
- fix: fix used exports for global entry that inject to async entrypoints by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12883
- fix: should render export name when re-export from different modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12886
- fix: unsafe cache cannot watch symlink by @SyMind in https://github.com/web-infra-dev/rspack/pull/12885
- fix: prevent server actions from being removed in production build by @SyMind in https://github.com/web-infra-dev/rspack/pull/12898
- fix(rstest):
rstest.importActualnot work when imported from@rstest/coreby @9aoy in https://github.com/web-infra-dev/rspack/pull/12908 - fix: build_chunk_graph recover logic by @hardfist in https://github.com/web-infra-dev/rspack/pull/12920
- fix: rsc plugin stats should use AtomicRefCell by @SyMind in https://github.com/web-infra-dev/rspack/pull/12923
- fix: context dependencies hash calculation use cache.snapshot configuration by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12937
- fix: RSC fails to properly handle Windows paths by @SyMind in https://github.com/web-infra-dev/rspack/pull/12969
- fix: webpack_chunk_load api compile wrong by @SyMind in https://github.com/web-infra-dev/rspack/pull/12971
- fix: Replace AtomicRefCell with Mutex in RSC Coordinator by @SyMind in https://github.com/web-infra-dev/rspack/pull/12972
- fix: port webpack fix for webpack_module name collision by @Copilot in https://github.com/web-infra-dev/rspack/pull/12956
- fix: preserve import external without modify mg by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12973
- fix: allow to export the same name of same local, fix entry splitting algorithm by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13000
- fix(esm-lib-plugin): support inline export for dyn import by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12949
- fix: enable requireAsExpression by default again and not to throw warning when requireAlias is disabled by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12998
- fix: prevent module point to wild pointer by @SyMind in https://github.com/web-infra-dev/rspack/pull/13021
- fix(core): missing @rspack/lite-tapable types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13031
- fix: allow both 0.24+ and 2.0+ of @module-federation/runtime-tools by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13039
- fix: infinite loop in
is_available_chunkwhen chunk groups form a cycle by @SyMind in https://github.com/web-infra-dev/rspack/pull/13042 - fix: normalize file dependencies paths in CopyPlugin to prevent incorrect rebuild triggers by @SyMind in https://github.com/web-infra-dev/rspack/pull/13043
- fix(module-federation): encode runtime data URI and support named wrappers by @BleedingDev in https://github.com/web-infra-dev/rspack/pull/12982
- fix: generating correct types for
@rspack/lite-tapableby @colinaaa in https://github.com/web-infra-dev/rspack/pull/13048 - fix(rstest): hoist importActual ESM imports by @9aoy in https://github.com/web-infra-dev/rspack/pull/13025
- fix(rstest): replace
mockRequiretorstest_mock_requireby @9aoy in https://github.com/web-infra-dev/rspack/pull/13056 - fix: compile document fragments in HtmlRspackPlugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13103
- fix: should not treat module with module variable as esm compatible by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13129
- fix: preserve optional chaining in CommonJS self-reference expressions by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13132
- fix(core): type issues when skipLibCheck is disabled by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13138
- fix: skip SRI for external URLs not under publicPath by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13134
- fix: remove useless dyn_refs by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13148
- fix: when there are 2+ dep targets in the same chunk, create facade chunks for all of them by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13154
- fix(html): handle html fragments and diagnostics by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13178
- fix: try catch return statement DCE by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13179
- fix: revert lastCompilation check for stats by @hardfist in https://github.com/web-infra-dev/rspack/pull/13214
- fix(esm-library): fix dynamic import of same-chunk concatenated modules and external name deconfliction by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13220
- fix: Fix stats artifact fallback warning test to use stale stats by @hardfist in https://github.com/web-infra-dev/rspack/pull/13219
- fix: Remove DerefMut impl from ArcPath by @hardfist in https://github.com/web-infra-dev/rspack/pull/13235
- fix(defaults): make module rules regex case-sensitive by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13238
- fix: dup external module declarations by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13231
- fix: merge exports info when merging external modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13257
- fix(create-rspack): update @rspack/dev-server to 2.0.0-beta.4 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13268
- fix: avoid import duplicate identifiers by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13267
- fix: restore panic backtrace for macOS arm64 bindings by @hardfist in https://github.com/web-infra-dev/rspack/pull/13283
- fix(collections): use FxHasher for Ukey by @hardfist in https://github.com/web-infra-dev/rspack/pull/13293
- fix(esm-lib): tree-shake unused exports, fix property_access name collision and get_binding panic by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13288
- fix: cjs tree shaking used with named export by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13303
- fix: huge file dependencies cause range error by @SyMind in https://github.com/web-infra-dev/rspack/pull/13305
- fix: dynamic import tree shaking used with named export by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13307
- fix: correct dev server types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13313
- fix(rstest): prevent the re-exports optimization for mocked modules by @9aoy in https://github.com/web-infra-dev/rspack/pull/13262
- fix(esm-lib): render init fragments after import source by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13308
- fix: normal runtime use should not contains require function by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13190
- fix: strict this context for dynamic import and cjs require by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13328
- fix(javascript): preserve live code after labeled breaks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13325
- fix: WorkerPlugin should be inherented in children compiler by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13310
- fix(parser): avoid treating require.resolve chains as require by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13341
- fix(esm-lib): avoid exporting webpack_require and useless runtime when runtimeChunk is false by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13374
- fix: optimize concatenated module code generation hot paths by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13375
- fix: avoid analyze cjs tree shaking for user defined require by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13401
- fix(esm-lib): replace panics in get_module_chunk with Result-based error handling by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13396
- fix(rsc): should compile css without use server-entry by @SyMind in https://github.com/web-infra-dev/rspack/pull/13402
- fix: deduplicate source name stable by @SyMind in https://github.com/web-infra-dev/rspack/pull/13416
- fix(esm-library): deduplicate external module import identifiers in ESM output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13418
- fix(esm-lib): use package name for node_modules short name in dynamic imports by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13406
- fix: add coverage for esm library linking, and fix linking errors by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13424
- fix: should enforce orphan:false for concatenated module by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10317
- fix: lightningcss with previous loader source maps by @SyMind in https://github.com/web-infra-dev/rspack/pull/13436
- fix: duplicate-sources-order by @SyMind in https://github.com/web-infra-dev/rspack/pull/13438
- fix(core): implement new Map methods on Compilation.entries by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13444
- fix(core): preserve external namespace access in esm externals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13442
- fix: keep empty entry runtime chunk for modern-module render by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13452
- fix(esm-library): support star reexport namespaces by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13448
- fix(core): bump rslib and fix type related issues by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13376
- fix: use Symbol.for() for shared symbol identity in module bindings by @tryggvigy in https://github.com/web-infra-dev/rspack/pull/13457
- fix(rsc): tree shaking client barrel by @SyMind in https://github.com/web-infra-dev/rspack/pull/13472
- fix:
import.meta.resolve()and add tests by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13469 - fix(rstest): resolve manual mock targets with resolver by @9aoy in https://github.com/web-infra-dev/rspack/pull/13439
- fix(esm-library): avoid duplicate webpack_require export by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13483
- fix: improve pure comment matching by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13498
- fix(esm): deconflict external bindings in module output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13466
- fix(watcher): rename typo
recursiron_directoriestorecurse_parent_directoriesby @jaehafe in https://github.com/web-infra-dev/rspack/pull/13510 - fix: avoid spreading huge dependency iterables by @SyMind in https://github.com/web-infra-dev/rspack/pull/13517
- fix(types): allow partial jsc.parser config when detectSyntax is auto by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13531
- fix(swc-loader): fallback detectSyntax auto for virtual modules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13529
- fix: reset chunk.rendered in incremental build by @hardfist in https://github.com/web-infra-dev/rspack/pull/13544
- fix(cli): surface fatal errors and unhandled rejections on process exit by @briansilah in https://github.com/web-infra-dev/rspack/pull/13506
- fix: multicompiler devServer false support in serve by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13572
- fix(cli): bundle lazy-loaded helper deps by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13587
- fix: cjs self reference mangle exports by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13588
- fix(esm-library): emit empty export for empty node chunks by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13462
- fix(wasm): avoid blocking-thread work under node:wasi by @hardfist in https://github.com/web-infra-dev/rspack/pull/13598
- fix(core): move connection states to ModuleGraphConnection by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13624
- fix(side-effects): respect DefinePlugin purity evaluation by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13628
- fix(externals): correct external type for aliased node builtin externals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13627
- fix(browser): import napi symbols from binding by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13641
- fix(core): fix cjs export function tree shaking by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13643
- fix(config): tighten rule loader/use typings by @kyungilcho in https://github.com/web-infra-dev/rspack/pull/13514
- fix: add
@emnapi/coreand@emnapi/runtimeas dependencies by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13665 - fix(loader): preserve additionalData in builtin loaders by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13661
- fix(cli): disable hmr in preview by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13669
- fix(hash): keep fullhash in sync with css-only content changes by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/13491
- fix(watcher): flush pending events on unpause to prevent stuck files_data by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13603
- fix(watcher): filter stale FSEvents with mtime baseline comparison by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13610
- fix(rstest): respect importFunctionName when importDynamic is disabled by @9aoy in https://github.com/web-infra-dev/rspack/pull/13673
- fix: fix flaky wasm tests by @hardfist in https://github.com/web-infra-dev/rspack/pull/13655
- fix: support module external type in array externals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13663
- fix(mf): resolve version from parent package for secondary entry points by @davidfestal in https://github.com/web-infra-dev/rspack/pull/13636
- fix(wasm): fix browser e2e timeout by running @rspack/browser builds in a worker by @hardfist in https://github.com/web-infra-dev/rspack/pull/13687
- fix: Revert rstest importFunctionName feature when importDynamic is disabled by @9aoy in https://github.com/web-infra-dev/rspack/pull/13699
- fix: escape invalid chars anywhere in to_identifier_with_escaped by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13707
- fix: correct app type constraint in DevServerOptions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13711
- fix(esm-library): deconflict module external helper names by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13695
- fix: render numeric chunk IDs as number literals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13604
- fix: align logger timing with webpack by @hardfist in https://github.com/web-infra-dev/rspack/pull/13721
- fix(esm_library): extract TLA shared modules to break circular dependency by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13606
- fix: rsc plugins dead lock by @SyMind in https://github.com/web-infra-dev/rspack/pull/13736
- fix: rspack sources cache save and recovery by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13731
- fix(css-extract): propagate css loading runtime requirements by @SyMind in https://github.com/web-infra-dev/rspack/pull/13746
- fix(rstest): avoid async wrapper for sync mock factories by @9aoy in https://github.com/web-infra-dev/rspack/pull/13764
- fix(esm-library): handle CSS modules in preserveModules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13670
- fix(mf): remove debug assertions from collect_expose_requirements function by @2heal1 in https://github.com/web-infra-dev/rspack/pull/13773
- fix(rsc): render client component CSS as stylesheet resources by @SyMind in https://github.com/web-infra-dev/rspack/pull/13769
- fix(test-tools): move wast-loader to dependencies by @colinaaa in https://github.com/web-infra-dev/rspack/pull/13782
- fix(rstest): preserve mock hoist positions in cache by @9aoy in https://github.com/web-infra-dev/rspack/pull/13775
- refactor: use EsmLibraryPlugin for modern-module library type by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12712
- refactor: align IncrementalPass with rspack hooks naming by @hardfist in https://github.com/web-infra-dev/rspack/pull/12817
- refactor: remove misleadning naming and adjust cache call place by @hardfist in https://github.com/web-infra-dev/rspack/pull/12818
- refactor: unify persistent_cache and memory_cache recover logic by @hardfist in https://github.com/web-infra-dev/rspack/pull/12829
- refactor: additional chunk runtime requirements hook use readonly compilation ref by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12828
- refactor: move recover build_chunk_graph into artifact by @hardfist in https://github.com/web-infra-dev/rspack/pull/12835
- refactor: collect module runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12843
- refactor: use runtime module for optimized deferred module by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12884
- refactor: optimize RuntimeGlobals definition with auto-inc macro by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12889
- refactor: enable rule for all crates by @hardfist in https://github.com/web-infra-dev/rspack/pull/12893
- refactor: enable more perf rule by @hardfist in https://github.com/web-infra-dev/rspack/pull/12901
- refactor: incremental.buildChunkGraph works only for skip building chunk graph by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12845
- refactor: collect runtime module runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12890
- refactor: introduce PassExt trait by @hardfist in https://github.com/web-infra-dev/rspack/pull/12896
- refactor: runtime requirements in parser by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12928
- refactor: improve runtime module macro by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12941
- refactor: make lazy compilation active request meaningful by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12887
- refactor: move build_chunk_graph result to build_chunk_graph_artifact by @hardfist in https://github.com/web-infra-dev/rspack/pull/12917
- refactor: using sync hook for dependency_referenced_exports hook by @hardfist in https://github.com/web-infra-dev/rspack/pull/12963
- refactor: use runtime template for context module codegen by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12957
- refactor: rename derefOption to stealCell and migrate atomicRefCell to Stealcell by @hardfist in https://github.com/web-infra-dev/rspack/pull/12974
- refactor: wrap artifact in StealCell by @hardfist in https://github.com/web-infra-dev/rspack/pull/12979
- refactor: Replace artifact default initialization with explicit new by @hardfist in https://github.com/web-infra-dev/rspack/pull/13005
- refactor: Ensure each crate enables workspace clippy lint by @hardfist in https://github.com/web-infra-dev/rspack/pull/12995
- refactor: improve runtime code template architecture by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12954
- refactor: improve rspack_plugin_esm_library code style by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13009
- refactor: move exports info out of module graph by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13055
- refactor: Bind ImportedByDeferModulesArtifact to optimize chunk modules pass by @hardfist in https://github.com/web-infra-dev/rspack/pull/13059
- refactor: make finishModules readonly for compilation by @hardfist in https://github.com/web-infra-dev/rspack/pull/13058
- refactor: Add iterators to module graph helpers to avoid cloning by @hardfist in https://github.com/web-infra-dev/rspack/pull/13067
- refactor: replace collect api with iterator api by @hardfist in https://github.com/web-infra-dev/rspack/pull/13095
- refactor: make compilation readonly for CompilationSeal hook by @hardfist in https://github.com/web-infra-dev/rspack/pull/13060
- refactor: Refactor Compilation runtime requirement hook by @hardfist in https://github.com/web-infra-dev/rspack/pull/13116
- refactor: replace compiler.webpack references with rspack by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13166
- refactor: remove impl in pass by @hardfist in https://github.com/web-infra-dev/rspack/pull/13168
- refactor: using namespace object for dynamic import by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13170
- refactor: return empty artifact when access stats during artifact mutation by @hardfist in https://github.com/web-infra-dev/rspack/pull/13196
- refactor: cache regex patterns for performance by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13217
- refactor: remove &mut Compilation in CompilationAddEntry hook by @hardfist in https://github.com/web-infra-dev/rspack/pull/13251
- refactor:
SourceSizeCachefor module size cache by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13258 - refactor(core): reduce identifier hashing in hot paths by @hardfist in https://github.com/web-infra-dev/rspack/pull/13269
- refactor: specialize overlay map hashers by @hardfist in https://github.com/web-infra-dev/rspack/pull/13291
- refactor: better task loop scheduler by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13280
- refactor: use enum payload for
BasicEvaluatedExpressionby @CPunisher in https://github.com/web-infra-dev/rspack/pull/13265 - refactor(ids): reduce string cloning in named module ids by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13281
- refactor(core): batch runtime spec key updates by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13316
- refactor: remove Ukey DataBase abstraction by @hardfist in https://github.com/web-infra-dev/rspack/pull/13339
- refactor: persistent cache storage v2 by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13292
- refactor(core): reduce exports info overhead in esm import checks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13383
- refactor: flush storage when compiler close by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13395
- refactor: remove
swc_node_commentsby @CPunisher in https://github.com/web-infra-dev/rspack/pull/13470 - refactor(split-chunks): optimize get_combs lookups by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13532
- refactor: rename rspack_futures to rspack_parallel by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13547
- refactor: Refactor build chunk graph artifact render state reset by @hardfist in https://github.com/web-infra-dev/rspack/pull/13569
- refactor(split-chunks): reduce module group allocation churn by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13560
- refactor(watcher): clean up stale entries from watch_patterns after unwatch by @jaehafe in https://github.com/web-infra-dev/rspack/pull/13511
- refactor(storage): db switch to readonly mode when save failed by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13584
- refactor: persistent cache remove lock by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13589
- refactor: improve persistent cache load error handling by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13608
- refactor(concatenated-module): reduce clone overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13642
- refactor: replace expect("TODO") with descriptive error messages by @jaehafe in https://github.com/web-infra-dev/rspack/pull/13685
- refactor: cacheable_dyn macro support crate args by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13776
- docs: remove deprecated parallelCodeSplitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12751
- docs: add missing documentation for JavascriptParserOptions by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12748
- docs: update bundlerInfo version and formatting by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12772
- docs: fix typo in CSS docs by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12784
- docs: update externals function callback about
booleantype by @9aoy in https://github.com/web-infra-dev/rspack/pull/12824 - docs: add tip for devtool's cheap modifier in production build by @SyMind in https://github.com/web-infra-dev/rspack/pull/12849
- docs: correct plugin hook in SRI plugin by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12935
- docs: add guide for React Server Components by @SyMind in https://github.com/web-infra-dev/rspack/pull/12919
- docs: remove experimental outputModule configuration by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12952
- docs: move deprecated options to dedicated page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12953
- docs: add docs about using module external with defer import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12965
- docs: update doc links for Rspack versions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12985
- docs: update import defer supported syntax by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12987
- docs(config): clarify output.uniqueName default value and usage by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12993
- docs: remove meaningless comments from config examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12994
- docs(agents): clarify semver commit requirements by @hardfist in https://github.com/web-infra-dev/rspack/pull/12996
- docs: sort config option sections alphabetically by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12999
- docs(ecosystem): add Meteor to ecosystem page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13004
- docs(module-federation): improve plugin documentation for clarity by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12997
- docs: add cache.readonly doc by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12991
- docs: fix various documentation links and typos by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13013
- docs: improve performance configuration documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13015
- docs(config): add examples module rules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13016
- docs: improve
optimization.mangleExportsdocs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13018 - docs: add Rspack 1.x to 2.0 migration guide by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12826
- docs: improve migration guide content and structure by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13040
- docs: standardize heading case in documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13051
- docs: fix for words without space between them in the Introduction section by @arijitpatra in https://github.com/web-infra-dev/rspack/pull/13094
- docs: add agent skills section to migration guide and readme by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13124
- docs: update webpack migration guide for Rspack 2.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13141
- docs: move Hana from Core team to Emeriti members by @Copilot in https://github.com/web-infra-dev/rspack/pull/13159
- docs(config): clarify array entry behavior and add polyfill example by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13162
- docs: update node imports to use node: protocol by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13163
- docs: update examples to use esm syntax by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13165
- docs: update node version requirements for v2 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13180
- docs: fix html-rspack-plugin hook types of beforeEmit and afterEmit by @Gehbt in https://github.com/web-infra-dev/rspack/pull/13184
- docs: update devServer.proxy documentation for v2 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13206
- docs: update webpack migration guide for minimizers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13250
- docs(dev-server): improve static files configuration documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13253
- docs: update descriptions to reflect refined webpack API by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13254
- docs: add AI documentation by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13323
- docs: update devtool default value changes in migration guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13326
- docs(config): clarify default mode behavior by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13330
- docs: update dev server documentation for v2 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13331
- docs: fix formatting in SKILL.md by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13333
- docs: clarify JSON.stringify usage in DefinePlugin by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13337
- docs: docs for strict this context on imports by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13340
- docs: clarify merge rules and extensions behavior in resolve config by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13347
- docs: unify website description by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13349
- docs: update benchmark data by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13357
- docs: migration guide for
readResourceForSchemehook by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13365 - docs: add mf optional deps migration docs by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13367
- docs: correct the migration docs for
builtin:swc-loaderby @CPunisher in https://github.com/web-infra-dev/rspack/pull/13366 - docs: correct mf runtime tools to optional peer dependency by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13368
- docs: update migration guide for dev server changes by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13369
- docs: sync en v1-to-v2 migration guide with zh by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13371
- docs(migration): clarify async webassembly defaults by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13372
- docs: generate description for all documentations by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13377
- docs: remove useless placeholder comments by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13378
- docs: remove EsmLibraryPlugin documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13386
- docs(split-chunks): refine production guidance and FAQ by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13451
- docs: recommand avoid using require paramter of require.ensure by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13453
- docs(migration): add transformImport upgrade notes by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13473
- docs: invite @fansenze to Rspack core team by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13475
- docs: removed module.unsafeCache in rspack_1.x.mdx by @SyMind in https://github.com/web-infra-dev/rspack/pull/13476
- docs(migration): simplify v2 experimental changes by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13479
- docs: improve docs for worker custom syntax by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13552
- docs: improve
import.metadocs by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13574 - docs: update image-minimizer-webpack-plugin compatibility status to compatible by @jaehafe in https://github.com/web-infra-dev/rspack/pull/13618
- docs: update import for React Refresh plugin by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13632
- docs: clarify v2 migration package upgrades by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13664
- docs: supplement preserveModules documentation by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13659
- docs: use detectSyntax in swc-loader examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13672
- docs: document package.json imports resolution by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13686
- docs: clarify externals configuration by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13692
- docs: correct several config option types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13694
- docs: improve library.type and ESM output docs by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13648
- docs(config): replace generic webpack references with Rspack by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13719
- docs: improve persistent cache documentation by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13720
- docs: clarify compiler target documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13766
- docs: update import.meta documentation for clarity by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13771
- docs(blog): add blog list component by @SoonIter in https://github.com/web-infra-dev/rspack/pull/13770
- docs: update roadmap by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13779
- docs: document CLI --open flags for dev server by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13783
- docs: refine pureFunctions and splitChunks config refs by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13772
- docs: normalize experiments config line endings by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13784
- chore: update main by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12760
- chore: update main by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12776
- chore: update main by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12803
- chore: update main by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12814
- release: version 2.0.0-alpha.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12815
- chore(ci): read size limit threshold from env variable by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12822
- chore(deps): update dependency lodash-es to v4.17.23 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12833
- chore(test): exclude flaky native watch test case by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12837
- chore: run workflow for v1.x branch by @SyMind in https://github.com/web-infra-dev/rspack/pull/12855
- chore: release 2.0.0-alpha.1 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12860
- chore(build): remove banner plugin for CommonJS default export workaround by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12869
- chore(deps): update dependency lodash to v4.17.23 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12832
- test: use tapAsyc api to wait server to close by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12870
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12871
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12872
- chore: move agents folder to .agents and add rspack-perf-profiling skill by @hardfist in https://github.com/web-infra-dev/rspack/pull/12880
- chore(ci): update diff action commit id by @yifancong in https://github.com/web-infra-dev/rspack/pull/12881
- chore: update Rspress to v2 and enable llms by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12907
- chore: add rspack-sftrace skill by @quininer in https://github.com/web-infra-dev/rspack/pull/12911
- chore: bump swc_core from 55 to 56 and swc-experimental from 0.4.1 to 0.5.0 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12906
- chore(test): remove rust flaky test by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12914
- chore: gracefully explain unsupported interfaces by @martinjlowm in https://github.com/web-infra-dev/rspack/pull/12782
- chore: release 2.0.0-beta.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12926
- chore(deps): update babel to ^7.29.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12932
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12930
- chore(deps): update rust crate bytes to v1.11.1 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12931
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12929
- chore(test): unref makes the server garbage unstable by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12936
- chore(core): move @rspack/lite-tapable to dev dependencies by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12939
- chore(build): remove 'module.exports' export from dts for backward compatibility of TS < 5.6.2 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12948
- test: bump rstest 0.8.3 by @9aoy in https://github.com/web-infra-dev/rspack/pull/12959
- chore: remove color-backtrace and enable panic backtrace for ci profile by @hardfist in https://github.com/web-infra-dev/rspack/pull/12967
- chore: use httpClient to mock test server by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12962
- chore(test): show cli test stdout/err when child proceess killed by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12913
- chore(ci): keep debug info in CI profile by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12981
- chore: bump @rslint/core to 0.2.1 by @fansenze in https://github.com/web-infra-dev/rspack/pull/13003
- chore(deps): update dependency axios to v1.13.5 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13014
- chore: Add build_module_graph benchmark in codspeed suite by @hardfist in https://github.com/web-infra-dev/rspack/pull/13012
- chore: remove rspackExperiments.collectTypeScriptInfo related code by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13026
- chore: release v2.0.0-beta.1 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13023
- chore(test): use seperate test config for native watcher test project by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13029
- chore(deps): update dependency @swc/plugin-remove-console to ^12.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13038
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13034
- chore(deps): update dependency @shikijs/transformers to ^3.22.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13037
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13035
- chore: release v2.0.0-beta.2 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13041
- chore(workflow): remove API check from pre commit by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13044
- chore(deps): remove simd-adler32 crate patch by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13045
- chore(ci): remove setting mirror by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13057
- chore(deps): update dependency prettier to v3.8.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13065
- chore(deps): update dependency rspack-vue-loader to ^17.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13066
- chore(deps): update dependency core-js to v3.48.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13062
- chore(deps): update dependency create-rstack to v1.8.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13063
- chore(deps): update dependency enhanced-resolve to v5.19.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13064
- chore(deps): update dependency @playwright/test to v1.58.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12874
- chore: update sftrace skill by @hardfist in https://github.com/web-infra-dev/rspack/pull/13078
- chore(deps): update dependency terser to v5.46.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13076
- chore(deps): update dependency mini-css-extract-plugin to ^2.10.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13075
- chore(deps): update dependency markdown-to-jsx to ^9.7.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13073
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13084
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13083
- chore(deps): update dependency @microsoft/api-extractor to v7.56.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13036
- chore(deps): update dependency webpack-sources to v3.3.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13082
- chore(deps): update dependency ws to ^8.19.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13089
- chore(deps): update dependency acorn to ^8.16.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13088
- chore(deps): update dependency check-dependency-version-consistency to v6 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13092
- chore(deps): update dependency @actions/core to v3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13090
- chore(ci): don't cancel diff CI task on main branch by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13099
- test: update imports to use rspack instead of webpack by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13100
- chore(deps): update dependency @biomejs/biome to ^2.4.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13085
- chore: remove api change and doc coverage checks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13102
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13110
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13111
- chore: Add benchmark for module graph API by @hardfist in https://github.com/web-infra-dev/rspack/pull/13112
- chore: release 2.0.0-beta.3 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13115
- chore: print better backtrace for wasm by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13122
- chore: remove
-productionbench cases by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13125 - chore(deps): upgrade sugar path to 2.0.1 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13113
- release: 2.0.0-beta.4 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13140
- chore(ci): add bench runner label input in CI by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13127
- chore(ci): add timeout for benchmark action by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13146
- chore: switch to mimalloc crate by @hardfist in https://github.com/web-infra-dev/rspack/pull/13160
- chore: bump
swc_corefrom 56 to 58 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13164 - chore: use new rule to generate crate version by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13175
- chore: release 2.0.0-beta.5 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13176
- chore(deps): update dependency @ast-grep/napi to ^0.41.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13188
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13186
- chore(ci): update rsdoctor actions by @yifancong in https://github.com/web-infra-dev/rspack/pull/13192
- chore: update codeowners and teams by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13207
- chore(deps): update dependency @module-federation/runtime-tools to v2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13091
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13185
- chore: remove unused dependencies from root package.json by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13236
- test: remove defaults base snapshot alignment by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13239
- chore(deps): update dependency cspell to ^9.7.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13246
- chore(deps): update dependency lint-staged to ^16.3.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13247
- chore(deps): update dependency case-police to ~2.2.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13245
- chore(deps): update rust crate cargo_toml to 0.22.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12538
- chore(deps): update rust crate oneshot to v0.1.12 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12857
- chore: remove cargo build warning by @hardfist in https://github.com/web-infra-dev/rspack/pull/13255
- chore: lock file maintenance by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13256
- chore(ci): use cnpm mirror to setup node in self hosted mac by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13233
- chore(deps): update dependency @rstest/core to ^0.9.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13244
- chore: release 2.0.0 beta.6 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13282
- chore: update @rspack/dev-server to 2.0.0-beta.5 and update docs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13286
- chore(ai): add rspack pgo skill by @hardfist in https://github.com/web-infra-dev/rspack/pull/13284
- chore(deps): update dependency @rslib/core to v0.20.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13298
- chore(deps): update dependency enhanced-resolve to v5.20.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13299
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13295
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13296
- chore: docs for config rsc build entries by @SyMind in https://github.com/web-infra-dev/rspack/pull/13289
- chore(deps): update rust crate rspack_resolver to 0.6.8 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13187
- chore: rm unused rsc client entry loader by @SyMind in https://github.com/web-infra-dev/rspack/pull/13312
- chore: lock emnapi by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13329
- chore: introduce polars for sftrace skill by @quininer in https://github.com/web-infra-dev/rspack/pull/13324
- chore(ci): run wasm test in github runner by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13252
- chore(deps): update dependency webpack to v5.104.1 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12966
- chore(deps): update dependency @rslint/core to v0.2.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13294
- ci: simplify lint workflow and remove redundant checks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13335
- chore(defaults): remove obsolete IGNORE comments by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13336
- chore(ci): eco benchmark compare using by commits perf data by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13315
- chore(deps): update dependency cac to v7 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13355
- chore(deps): update dependency pretty-format to v30.3.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13353
- chore(deps): update dependency terser-webpack-plugin to ^5.4.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13354
- ci(workflow): add condition to only run canary release in main by @wChenonly in https://github.com/web-infra-dev/rspack/pull/13359
- chore: enable enableGlobalVirtualStore for pnpm by @hardfist in https://github.com/web-infra-dev/rspack/pull/13363
- chore(ci): eco benchmark compare base optimize by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13360
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13350
- chore: release 2.0.0-beta.7 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13385
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13393
- chore: bump rslint to 0.3.1 & migrate rslint.json to rslint.config.ts by @fansenze in https://github.com/web-infra-dev/rspack/pull/13398
- chore: remove old deprecated code of ModernModuleLibraryPlugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13318
- chore(deps): update dependency less to v4.6.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13351
- chore(deps): update dependency @ast-grep/napi to ^0.42.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13394
- chore(ci): switch wasm test runner back to self hosted by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13414
- chore: upgrade path-serializer 0.6.0 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13411
- chore: renovate ignore linting crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13391
- chore: Add memory codspeed benchmarks by @hardfist in https://github.com/web-infra-dev/rspack/pull/13017
- chore: bump napi dependencies by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13362
- chore: bump
swc_corefrom 58 to 59 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13434 - chore: use ci profile for windows by @hardfist in https://github.com/web-infra-dev/rspack/pull/13441
- chore(ci): fix taplo wrong parameters by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13449
- chore: release v2.0.0-beta.8 by @SyMind in https://github.com/web-infra-dev/rspack/pull/13447
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13456
- chore(deps): update dependency @rslint/core to v0.3.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13458
- chore: fix local website build by @hardfist in https://github.com/web-infra-dev/rspack/pull/13455
- chore(deps): update dependency @module-federation/runtime-tools to v2.2.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13460
- chore(deps): update dependency mermaid to ^11.13.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13352
- chore(deps): update rust crate itoa to 1.0.18 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13459
- ci: update ecosystem CI suite by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13463
- chore: pin rspack_resolver version to exact =0.7.0 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13433
- chore(deps): update dependency core-js to v3.49.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13461
- chore: use pre-built codspeed by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13426
- chore(ci): remove stale miri config by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13465
- chore(workflow): simplify JavaScript linters by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13477
- chore: remove stale devcontainer files by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13480
- chore: add walltime support by @hardfist in https://github.com/web-infra-dev/rspack/pull/13446
- test: use html-rspack-plugin in test cases by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13481
- chore: switch to github runner for bench by @hardfist in https://github.com/web-infra-dev/rspack/pull/13486
- chore: rm rspack_collection_hasher to improve ci speed by @SyMind in https://github.com/web-infra-dev/rspack/pull/13482
- ci: remove pnpm cache and simplify pnpm install steps by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13487
- chore(ci): split binding and rust benchmarks by @hardfist in https://github.com/web-infra-dev/rspack/pull/13492
- chore: try namespace runner by @hardfist in https://github.com/web-infra-dev/rspack/pull/13484
- chore: move check-changed job to namespace by @hardfist in https://github.com/web-infra-dev/rspack/pull/13496
- chore: update cargo shear and fix issues by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13503
- test(benchmark): add codspeed cases for compilation stages by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13499
- chore: try namespace runner for wasm test by @hardfist in https://github.com/web-infra-dev/rspack/pull/13500
- release: 2.0.0-beta.9 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13502
- chore(ci): move renovate schedule to saturday by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13512
- chore: bump emnapi from 1.8.1 to 1.9.1 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13516
- test(benchmark): add split chunks codspeed case by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13520
- chore(deps): bump @rslib/core to 0.20.2 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13525
- chore: split wasm browser ci by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13504
- chore: adds
-Zfmt-debug=nonefor non-browser wasm target by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13527 - chore: remove
-Zfmt-debug=noneby @CPunisher in https://github.com/web-infra-dev/rspack/pull/13540 - chore:
useNapiCrossfor x64 linux gnu compilation by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13539 - chore(crates): use OIDC to publish crates by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13543
- chore(release): release 2.0.0-rc.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13537
- chore(security): use rspack scoped mocked react by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13551
- chore: Update AGENTS concurrency guidance by @hardfist in https://github.com/web-infra-dev/rspack/pull/13553
- chore: Remove chunk graph DOT generation logic by @hardfist in https://github.com/web-infra-dev/rspack/pull/13549
- chore(deps): update dependency @rslint/core to v0.3.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13561
- chore(deps): update dependency @module-federation/runtime-tools to v2.3.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13562
- test: format rspack test configs with prettier by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13571
- chore: run
@rspack/cli,@rspack/teststests sequentially in wasm by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13557 - chore(deps): update dependency lodash-es to v4.18.1 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13585
- chore: switch codspeed official action by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13582
- chore(deps): update dependency lodash to v4.18.1 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13586
- chore: Update emnapi dependencies to 1.9.2 by @hardfist in https://github.com/web-infra-dev/rspack/pull/13590
- test: fix try_future_consumer test unstable by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13592
- chore(ci): migrate ecosystem CI to central rstack-ecosystem-ci repository by @fi3ework in https://github.com/web-infra-dev/rspack/pull/13522
- test(benchmark): add persistent cache codspeed cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13594
- chore: bump
swc_corefrom 59 to 62 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13602 - ci: add contents:read permission for ecosystem CI commit comments by @fi3ework in https://github.com/web-infra-dev/rspack/pull/13605
- ci: use contents:write permission for ecosystem CI commit comments by @fi3ework in https://github.com/web-infra-dev/rspack/pull/13611
- chore(deps): update napi by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13614
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13615
- chore(deps): update dependency @playwright/test to v1.59.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13616
- chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13613
- chore: upgrade node to 24 while releasing by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13639
- chore: release 2.0.0-rc.1 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13625
- chore(ci): reduce Linux Node.js matrix to save CI resources by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13657
- chore: bump @rslint/core to 0.4.0 by @fansenze in https://github.com/web-infra-dev/rspack/pull/13658
- chore(deps): update Rslib 0.21.0 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13650
- chore(ci): add node 24 to release canary and debug workflows by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13656
- chore: using codspeed bench scan dependencies by @SyMind in https://github.com/web-infra-dev/rspack/pull/13400
- feat: Add support for assigning numbers in
beforeModuleIdshook by @hamlim in https://github.com/web-infra-dev/rspack/pull/13222 - test(swc-loader): use detectSyntax auto in test configs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13667
- chore(ci): use unique job IDs in bench workflows to avoid CodSpeed data loss by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13542
- chore(deps): update dependency create-rstack to v1.9.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13676
- chore(deps): update dependency axios to ^1.15.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13675
- chore(deps): update dependency cspell to ^9.8.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13682
- chore(deps): update dependency heading-case to ^1.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13683
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13681
- chore(deps): update taiki-e/install-action digest to 0abfcd5 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13679
- chore(deps): update dependency jest-diff to ^30.3.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13684
- chore(deps): update dependency @rslint/core to v0.4.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13680
- chore(release): release 2.0.0-rc.2 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13697
- chore: enable pnpm dedupe peers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13713
- chore(deps): update dependency lodash-es to ^4.18.1 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13715
- test(benchmark): add compilation stage benchmark cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13702
- chore: update rust toolchain from nightly-2025-11-13 to nightly-2026-04-16 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13723
- chore: remove stale ts-node config remnants by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13698
- chore(ci): use ci profile for binary size-limit job to speed up build by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13726
- chore(release): release 2.0.0-rc.3 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13735
- chore(ci): run size limit on main by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13740
- chore(skill): add rspack release PR skill by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13739
- chore(ci): revert run size limit on main by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13745
- chore(deps): update dependency @codspeed/vitest-plugin to ^5.3.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13752
- chore(deps): update dependency @rslint/core to v0.4.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13747
- chore: bump emnapi from
1.9.2to1.10.0by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13744 - chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13750
- chore(deps): update dependency typescript to ^6.0.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13748
- chore(deps): update dependency tinypool to v2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13755
- chore(deps): update rust crate tokio to 1.52.1 - autoclosed by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13754
- chore(deps): update napi by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13749
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13751
- chore(deps): update github-actions (major) by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13756
- chore(ci): eco benchmark record ci/release binary size by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13742
- chore: update @rspack/dev-server to v2.0.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13757
- chore: bump swc_core from 62 to 64 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13760
- chore: limit tokio worker nums for all benchmarks by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13761
- test: write test summaries to GITHUB_STEP_SUMMARY by @9aoy in https://github.com/web-infra-dev/rspack/pull/13763
- @martinjlowm made their first contribution in https://github.com/web-infra-dev/rspack/pull/12782
- @cellison-figma made their first contribution in https://github.com/web-infra-dev/rspack/pull/12902
- @BleedingDev made their first contribution in https://github.com/web-infra-dev/rspack/pull/12982
- @smeng9 made their first contribution in https://github.com/web-infra-dev/rspack/pull/12417
- @arijitpatra made their first contribution in https://github.com/web-infra-dev/rspack/pull/13094
- @tryggvigy made their first contribution in https://github.com/web-infra-dev/rspack/pull/13457
- @jaehafe made their first contribution in https://github.com/web-infra-dev/rspack/pull/13510
- @briansilah made their first contribution in https://github.com/web-infra-dev/rspack/pull/13506
- @aancuta made their first contribution in https://github.com/web-infra-dev/rspack/pull/13197
- @kyungilcho made their first contribution in https://github.com/web-infra-dev/rspack/pull/13514
- @davidfestal made their first contribution in https://github.com/web-infra-dev/rspack/pull/13636
- @mvanhorn made their first contribution in https://github.com/web-infra-dev/rspack/pull/13777
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.7.11...v2.0.0
v2.0.0-rc.3
- feat: expose jsonp template plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13700
- feat(config): update default performance budgets by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13717
- feat: support relative output.path relative to context by @hardfist in https://github.com/web-infra-dev/rspack/pull/13718
- feat(create-rspack): add optional agent skills by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13729
- feat: persistent cache for swc js minimizer plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13706
- fix: escape invalid chars anywhere in to_identifier_with_escaped by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13707
- fix: correct app type constraint in DevServerOptions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13711
- fix(esm-library): deconflict module external helper names by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13695
- fix: render numeric chunk IDs as number literals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13604
- fix: align logger timing with webpack by @hardfist in https://github.com/web-infra-dev/rspack/pull/13721
- refactor(browser)!: remove
rspack_browsercrate and require@rspack/browserto run in a Worker by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13712
- docs(config): replace generic webpack references with Rspack by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13719
- docs: improve persistent cache documentation by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13720
- chore: enable pnpm dedupe peers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13713
- chore(deps): update dependency lodash-es to ^4.18.1 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13715
- test(benchmark): add compilation stage benchmark cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13702
- chore: update rust toolchain from nightly-2025-11-13 to nightly-2026-04-16 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13723
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0-rc.2...v2.0.0-rc.3
v2.0.0-rc.2
- perf(code-splitting): reuse side effects evaluation state by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13668
- perf: trace hook interception only pays off once global tracing is already on by @SyMind in https://github.com/web-infra-dev/rspack/pull/13689
- feat(create-rspack): modernize starter template configs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13645
- feat(split-chunks): support enforceSizeThreshold option by @jaehafe in https://github.com/web-infra-dev/rspack/pull/13576
- feat(resolve): support
#/subpath alias import by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13633 - feat(create-rspack): reuse rspack config in rstest templates by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13666
- feat: enforce macro-generated implemented_hooks in debug builds by @SyMind in https://github.com/web-infra-dev/rspack/pull/13677
- feat: only apply require-* parser plugins to js-auto/js-dynamic by @SyMind in https://github.com/web-infra-dev/rspack/pull/13678
- feat: skip building side-effect-only imports in make by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13688
- feat: add compiler.hooks.shouldRecord for NoEmitOnErrorsPlugin by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13630
- feat(cli): use jiti to load typescript config by @hardfist in https://github.com/web-infra-dev/rspack/pull/13690
- fix(browser): import napi symbols from binding by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13641
- fix(core): fix cjs export function tree shaking by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13643
- fix(config): tighten rule loader/use typings by @kyungilcho in https://github.com/web-infra-dev/rspack/pull/13514
- fix: add
@emnapi/coreand@emnapi/runtimeas dependencies by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13665 - fix(loader): preserve additionalData in builtin loaders by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13661
- fix(cli): disable hmr in preview by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13669
- fix(hash): keep fullhash in sync with css-only content changes by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/13491
- fix(watcher): flush pending events on unpause to prevent stuck files_data by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13603
- fix(watcher): filter stale FSEvents with mtime baseline comparison by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13610
- fix(rstest): respect importFunctionName when importDynamic is disabled by @9aoy in https://github.com/web-infra-dev/rspack/pull/13673
- fix: fix flaky wasm tests by @hardfist in https://github.com/web-infra-dev/rspack/pull/13655
- fix: support module external type in array externals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13663
- fix(mf): resolve version from parent package for secondary entry points by @davidfestal in https://github.com/web-infra-dev/rspack/pull/13636
- fix(wasm): fix browser e2e timeout by running @rspack/browser builds in a worker by @hardfist in https://github.com/web-infra-dev/rspack/pull/13687
- fix: Revert rstest importFunctionName feature when importDynamic is disabled by @9aoy in https://github.com/web-infra-dev/rspack/pull/13699
- refactor(concatenated-module): reduce clone overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13642
- refactor: replace expect("TODO") with descriptive error messages by @jaehafe in https://github.com/web-infra-dev/rspack/pull/13685
- docs: clarify v2 migration package upgrades by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13664
- docs: supplement preserveModules documentation by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13659
- docs: use detectSyntax in swc-loader examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13672
- docs: document package.json imports resolution by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13686
- docs: clarify externals configuration by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13692
- docs: correct several config option types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13694
- docs: improve library.type and ESM output docs by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13648
- chore: release 2.0.0-rc.1 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13625
- chore(ci): reduce Linux Node.js matrix to save CI resources by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13657
- chore: bump @rslint/core to 0.4.0 by @fansenze in https://github.com/web-infra-dev/rspack/pull/13658
- chore(deps): update Rslib 0.21.0 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13650
- chore(ci): add node 24 to release canary and debug workflows by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13656
- chore: using codspeed bench scan dependencies by @SyMind in https://github.com/web-infra-dev/rspack/pull/13400
- feat: Add support for assigning numbers in
beforeModuleIdshook by @hamlim in https://github.com/web-infra-dev/rspack/pull/13222 - test(swc-loader): use detectSyntax auto in test configs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13667
- chore(ci): use unique job IDs in bench workflows to avoid CodSpeed data loss by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13542
- chore(deps): update dependency create-rstack to v1.9.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13676
- chore(deps): update dependency axios to ^1.15.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13675
- chore(deps): update dependency cspell to ^9.8.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13682
- chore(deps): update dependency heading-case to ^1.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13683
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13681
- chore(deps): update taiki-e/install-action digest to 0abfcd5 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13679
- chore(deps): update dependency jest-diff to ^30.3.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13684
- chore(deps): update dependency @rslint/core to v0.4.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13680
- @kyungilcho made their first contribution in https://github.com/web-infra-dev/rspack/pull/13514
- @davidfestal made their first contribution in https://github.com/web-infra-dev/rspack/pull/13636
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0-rc.1...v2.0.0-rc.2
v2.0.0-rc.1
Rspack can now detect side-effect-free function calls through the #__NO_SIDE_EFFECTS__ notation and manual pureFunctions hints. With support for exported functions and cross-module analysis, unused calls can be identified more reliably, improving tree shaking results and making it easier to optimize both application code and third-party dependencies.
// lib.js
/*@__NO_SIDE_EFFECTS__*/
export function call() {
console.log('hi')
}
// barrel.js
import { call } from './lib'
const value = call()
// if value is unused, call can be removed
export { value }
- feat!: disable bundlerInfo force by default by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13599
- perf(javascript): cache non-nested export target lookups by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13545
- perf(rspack-sources): perf potential tokens and source map to json by @SyMind in https://github.com/web-infra-dev/rspack/pull/13497
- perf: modules should use IdentifierHasher by @SyMind in https://github.com/web-infra-dev/rspack/pull/13601
- feat: Implement HashedModuleIdsPlugin by @aancuta in https://github.com/web-infra-dev/rspack/pull/13197
- feat: add TryFutureConsumer with short-circuit cancellation by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13554
- feat(binding): add active-related APIs to ModuleGraphConnection by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13548
- feat: support optimize side effects free function calls by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12559
- feat(node-binding): add external wasm debug info for wasm dwarf debugging by @hardfist in https://github.com/web-infra-dev/rspack/pull/13638
- fix(cli): surface fatal errors and unhandled rejections on process exit by @briansilah in https://github.com/web-infra-dev/rspack/pull/13506
- fix: multicompiler devServer false support in serve by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13572
- fix(cli): bundle lazy-loaded helper deps by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13587
- fix: cjs self reference mangle exports by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13588
- fix(esm-library): emit empty export for empty node chunks by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13462
- fix(wasm): avoid blocking-thread work under node:wasi by @hardfist in https://github.com/web-infra-dev/rspack/pull/13598
- fix(core): move connection states to ModuleGraphConnection by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13624
- fix(side-effects): respect DefinePlugin purity evaluation by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13628
- fix(externals): correct external type for aliased node builtin externals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/13627
- refactor: rename rspack_futures to rspack_parallel by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13547
- refactor: Refactor build chunk graph artifact render state reset by @hardfist in https://github.com/web-infra-dev/rspack/pull/13569
- refactor(split-chunks): reduce module group allocation churn by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13560
- refactor(watcher): clean up stale entries from watch_patterns after unwatch by @jaehafe in https://github.com/web-infra-dev/rspack/pull/13511
- refactor(storage): db switch to readonly mode when save failed by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13584
- refactor: persistent cache remove lock by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13589
- refactor: improve persistent cache load error handling by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13608
- docs: improve docs for worker custom syntax by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13552
- docs: improve
import.metadocs by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13574 - docs: update image-minimizer-webpack-plugin compatibility status to compatible by @jaehafe in https://github.com/web-infra-dev/rspack/pull/13618
- docs: update import for React Refresh plugin by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13632
- chore(release): release 2.0.0-rc.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13537
- chore(security): use rspack scoped mocked react by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13551
- chore: Update AGENTS concurrency guidance by @hardfist in https://github.com/web-infra-dev/rspack/pull/13553
- chore: Remove chunk graph DOT generation logic by @hardfist in https://github.com/web-infra-dev/rspack/pull/13549
- chore(deps): update dependency @rslint/core to v0.3.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13561
- chore(deps): update dependency @module-federation/runtime-tools to v2.3.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13562
- test: format rspack test configs with prettier by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13571
- chore: run
@rspack/cli,@rspack/teststests sequentially in wasm by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13557 - chore(deps): update dependency lodash-es to v4.18.1 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13585
- chore: switch codspeed official action by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13582
- chore(deps): update dependency lodash to v4.18.1 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13586
- chore: Update emnapi dependencies to 1.9.2 by @hardfist in https://github.com/web-infra-dev/rspack/pull/13590
- test: fix try_future_consumer test unstable by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/13592
- chore(ci): migrate ecosystem CI to central rstack-ecosystem-ci repository by @fi3ework in https://github.com/web-infra-dev/rspack/pull/13522
- test(benchmark): add persistent cache codspeed cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13594
- chore: bump
swc_corefrom 59 to 62 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13602 - ci: add contents:read permission for ecosystem CI commit comments by @fi3ework in https://github.com/web-infra-dev/rspack/pull/13605
- ci: use contents:write permission for ecosystem CI commit comments by @fi3ework in https://github.com/web-infra-dev/rspack/pull/13611
- chore(deps): update napi by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13614
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13615
- chore(deps): update dependency @playwright/test to v1.59.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13616
- chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/13613
- chore: upgrade node to 24 while releasing by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13639
- @briansilah made their first contribution in https://github.com/web-infra-dev/rspack/pull/13506
- @aancuta made their first contribution in https://github.com/web-infra-dev/rspack/pull/13197
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0-rc.0...v2.0.0-rc.1
v1.7.11
- feat: rsdoctor support the side effects infos by @yifancong in https://github.com/web-infra-dev/rspack/pull/13405
- chore: release v1.7.10 by @SyMind in https://github.com/web-infra-dev/rspack/pull/13443
- chore: lock rspack-resolver by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13432
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.7.10...v1.7.11
v2.0.0-rc.0
- perf(core): reduce target resolution overhead by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13513
- feat: support
import.meta.mainby @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13489 - feat: support expression in
import.meta.resolveargument by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/13523 - feat: add ModuleGraph.getUsedExports to ModuleGraph by @SyMind in https://github.com/web-infra-dev/rspack/pull/13519
- fix(watcher): rename typo
recursiron_directoriestorecurse_parent_directoriesby @jaehafe in https://github.com/web-infra-dev/rspack/pull/13510 - fix: avoid spreading huge dependency iterables by @SyMind in https://github.com/web-infra-dev/rspack/pull/13517
- fix(types): allow partial jsc.parser config when detectSyntax is auto by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13531
- fix(swc-loader): fallback detectSyntax auto for virtual modules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13529
- fix: reset chunk.rendered in incremental build by @hardfist in https://github.com/web-infra-dev/rspack/pull/13544
- refactor(split-chunks): optimize get_combs lookups by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13532
- docs(migration): simplify v2 experimental changes by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13479
- chore: update cargo shear and fix issues by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13503
- test(benchmark): add codspeed cases for compilation stages by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13499
- chore: try namespace runner for wasm test by @hardfist in https://github.com/web-infra-dev/rspack/pull/13500
- release: 2.0.0-beta.9 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13502
- chore(ci): move renovate schedule to saturday by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/13512
- chore: bump emnapi from 1.8.1 to 1.9.1 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13516
- test(benchmark): add split chunks codspeed case by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/13520
- chore(deps): bump @rslib/core to 0.20.2 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/13525
- chore: split wasm browser ci by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13504
- chore: adds
-Zfmt-debug=nonefor non-browser wasm target by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13527 - chore: remove
-Zfmt-debug=noneby @CPunisher in https://github.com/web-infra-dev/rspack/pull/13540 - chore:
useNapiCrossfor x64 linux gnu compilation by @CPunisher in https://github.com/web-infra-dev/rspack/pull/13539 - chore(crates): use OIDC to publish crates by @stormslowly in https://github.com/web-infra-dev/rspack/pull/13543
- @jaehafe made their first contribution in https://github.com/web-infra-dev/rspack/pull/13510
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0-beta.9...v2.0.0-rc.0