PackageTrack

npm Β· #4399

@rspack/binding-linux-x64-gnu

2.2.0web-infra-dev/rspack β†—

Node binding for rspack

Release timeline

1117 releases since 2022
2023202420252026

Releases

  1. 1.6.79 Dec 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.6.7 -->

    Highlights πŸ’‘

    πŸŽ‰ Support for import.meta.filename, import.meta.dirname, and import.meta.resolve

    Rspack now supports the import.meta.filename, import.meta.dirname, and import.meta.resolve meta properties in ESM modules. These properties provide a standardized way to access file and directory paths in ES modules, similar to the CommonJS __filename and __dirname variables:

    // Get the absolute path of the current module file
    console.log(import.meta.filename);
    // e.g., "/path/to/project/src/index.js"
    
    // Get the directory path of the current module
    console.log(import.meta.dirname);
    // e.g., "/path/to/project/src"
    
    // Resolve a module specifier to an absolute URL
    const resolvedPath = import.meta.resolve('./utils.js');
    

    Thanks to @magic-akari for this contribution!

    What's Changed

    New Features πŸŽ‰

    • feat: update resolver error messages to use colored output by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12348
    • feat: Support import.meta.filename/dirname/resolve by @magic-akari in https://github.com/web-infra-dev/rspack/pull/12317
    • feat: support [relative-resource-path] in moduleFilenameTemplate by @SyMind in https://github.com/web-infra-dev/rspack/pull/12370

    Bug Fixes 🐞

    • fix(diagnostic): dim gutter and loader info for better visual hierarchy by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12341
    • fix: avoid conflict for inlined const identifier by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12347
    • fix(rstest): dedicated to hoist @rstest/core declaration by @fi3ework in https://github.com/web-infra-dev/rspack/pull/12302
    • fix: don't use sync fs api by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12353
    • fix: should use sourceOrder to sort module outgoing in buildChunkGraph by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12351
    • fix(rstest): always hoist @rstest/core init fragment by @fi3ework in https://github.com/web-infra-dev/rspack/pull/12363
    • fix: extracted comments should be behind the shebang by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12380
    • fix: persistent cache save lazy barrel affected modules by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12384
    • fix: prevent URLPlugin from parsing new URL(import.meta.url) by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12386
    • fix: typo in preload runtime of CssExtractPlugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12387

    Refactor πŸ”¨

    • refactor: rename module arguments to rspack specific by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12350
    • refactor: cache test case support NEXT_MOVE_DIR_START by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12359
    • refactor: side effect optimize artifacts to deref option by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12334
    • refactor: render runtime module identifier by runtime template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12360
    • refactor: recalculate all chunk ids with cache by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12374
    • refactor: render javascript runtime globals according to compiler options by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12371
    • refactor: optimize runtime multiple line string literal by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12381
    • refactor: support .rspack[...] syntax and rebrand CSS extract plugin internals by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12385

    Other Changes

    • chore(workflow): run diff CI on push events by @yifancong in https://github.com/web-infra-dev/rspack/pull/12346
    • chore: release v1.6.6 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12345
    • chore: fix taplo format script by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12349
    • ci: remove legacy ecosystem CI yaml by @fi3ework in https://github.com/web-infra-dev/rspack/pull/12352
    • chore(deps): update dependency @shikijs/transformers to ^3.18.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12357
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12355
    • chore(deps): bump Rslib v0.18.3 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12362
    • chore(deps): update dependency prebundle to ^1.6.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12327
    • chore(deps): update pnpm to v10.24.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12328
    • chore(deps): update dependency @playwright/test to v1.57.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12356
    • chore(deps): pin action dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12354
    • chore(deps): update dependency react to ^19.2.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12364
    • chore: add napi::tokio_runtime::block_on by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12358
    • chore(ci): move rust-cache Action to rspack-contrib by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12368
    • test: split Config, Watch and NativeWatcher tests into 3 parts for better parallelization by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12379
    • test: bump Rstest to v0.7.1 by @9aoy in https://github.com/web-infra-dev/rspack/pull/12390

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.6.6...v1.6.7

    Open source β†’
  2. 1.6.62 Dec 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.6.6 -->

    Highlights πŸ’‘

    Compact module factories

    Rspack now generates a more compact module factory format that trims the wrapper function. Benchmarks show this reduces bundle size by about 1% before gzip.

    <img width="500" height="902" alt="image" src="https://github.com/user-attachments/assets/4228b6c4-c3eb-47a1-8b0c-54ce8db67322" />

    What's Changed

    Performance Improvements ⚑

    • perf: disable output.pathinfo by default by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12306

    New Features πŸŽ‰

    • feat: support shorthand function for module factory to reduce bundle size by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12226
    • feat(loader-runner): Allow limiting worker pool size for parallel loaders by @Pablinho in https://github.com/web-infra-dev/rspack/pull/12277
    • feat: do not render js output if ref module is only css source type by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12329
    • feat: supports async modules for EsmLibraryPlugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12338

    Bug Fixes 🐞

    • fix(plugin): remove duplicated chunks in html scripts by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12304
    • fix: should generate sri hash for chunks that only have concatenated modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12310
    • fix: persistent cache watch context dependencies changes by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12309
    • fix: should set interop2_used to true if namespace import default-only by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12316
    • fix: check unused class names should check all conventions by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12336

    Refactor πŸ”¨

    • refactor: render dependency template with runtime template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12280
    • refactor: render __webpack_require__ in static code by runtime template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12284
    • refactor: refactor incremental using internal mutation by @hardfist in https://github.com/web-infra-dev/rspack/pull/12288
    • refactor: split module_graph_mut by @hardfist in https://github.com/web-infra-dev/rspack/pull/12295
    • refactor: render HMR runtime by runtime template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12297
    • refactor: render mf runtime by runtime template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12298
    • refactor: render runtime root variables by runtime template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12308
    • refactor: refactor collect_build_module_graph_effects using artifact by @hardfist in https://github.com/web-infra-dev/rspack/pull/12287
    • refactor: render runtime module variables by runtime template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12315

    Document Updates πŸ“–

    • docs: update Data URI sub-title by @9aoy in https://github.com/web-infra-dev/rspack/pull/12282
    • docs: add filename placeholders documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12301
    • docs: update plugin support status by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12314
    • docs: improve output.environment configuration by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12312
    • docs: polish phrasing in code splitting guides by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12321
    • docs(loader): update Rule.use.parallel to include maxWorkers option by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12322
    • docs: polish introduction wording by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12325
    • docs: fix the misstatements in the lazy compilation documentation by @Sunny-117 in https://github.com/web-infra-dev/rspack/pull/12330

    Other Changes

    • chore: release v1.6.5 by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12278
    • chore(deps): update dependency @ast-grep/napi to ^0.40.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12290
    • chore(deps): update dependency @microsoft/api-extractor to v7.55.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12291
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12289
    • chore(deps): update dependency @microsoft/api-extractor-model to v7.32.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12292
    • chore: add import_meta_property_in_destructuring parser hook by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12255
    • chore(workflow): update node version to 22 in ci and nvm configuration by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12320
    • chore: add Rsdoctor diff action by @yifancong in https://github.com/web-infra-dev/rspack/pull/12264
    • test: bump rstest to show relevant running tests by @9aoy in https://github.com/web-infra-dev/rspack/pull/12323
    • ci: add ecosystem CI based on rstack-ecosystem-ci by @fi3ework in https://github.com/web-infra-dev/rspack/pull/12318
    • ci(ecosystem): do not need to clone ecosystem ci repo to sub folder by @fi3ework in https://github.com/web-infra-dev/rspack/pull/12339
    • chore(CI): replace the rspack diff demos by @yifancong in https://github.com/web-infra-dev/rspack/pull/12337

    New Contributors

    • @Pablinho made their first contribution in https://github.com/web-infra-dev/rspack/pull/12277

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.6.5...v1.6.6

    Open source β†’
  3. 1.6.525 Nov 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.6.5 -->

    What's Changed

    New Features πŸŽ‰

    • feat: support prefetch and preload in css extract plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12237
    • feat: support SRI with experiments.css and CssExtractRspackPlugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12239

    Bug Fixes 🐞

    • fix: should inject prefetch startup in entry chunk instead of runtime chunk by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12233
    • fix: persistent cache watch missing dependencies changes by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12228
    • fix: generate stable extract css runtime by sorting css chunks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12246
    • fix(create-rspack): use current package manager in templates by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12248
    • fix: inline enum module should populate its collected_typescript_info by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12252
    • fix: buildDependency resolver add more file extensions by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12260
    • fix: should not panic when SRI options is invalid by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12259
    • fix: not try to add integrity to tags with remote url by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12262
    • fix(cli): devServer.hot: false not work by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12261
    • fix: use modern syntax for reexport runtime by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12268
    • fix: should match protocol-relative url of public path and tag src in SRI plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12265
    • fix: track package.json files in node_modules as build dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12274

    Refactor πŸ”¨

    • refactor: processing more string concatenation in runtime template part 2 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12235
    • refactor: rename webpack imported vars to rspack format by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12245
    • refactor: rename webpack external vars to rspack format by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12249
    • refactor: rename webpack default export var to rspack format by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12257
    • refactor: rename webpack reexport vars to Rspack format by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12263
    • refactor: use chunk id as the placeholder when calculating content-hash by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12271
    • refactor: render runtime globals by runtime template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12272

    Document Updates πŸ“–

    • docs(config): improve node options docs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12236

    Other Changes

    • test: maxConcurrency and testTimeout should be configurable via cli options by @9aoy in https://github.com/web-infra-dev/rspack/pull/12231
    • test: should wait until async startup chunk dependencies loaded by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12234
    • chore: release v1.6.4 by @SyMind in https://github.com/web-infra-dev/rspack/pull/12229
    • chore: update rspack resolver to v0.6.6 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12149
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12242
    • chore: disable Rslint warnings by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12243
    • chore: bump rstest to support show slow-running tests by @9aoy in https://github.com/web-infra-dev/rspack/pull/12247
    • chore(deps): update dependency @rslib/core to v0.18.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12269
    • chore(deps): update dependency core-js to v3.47.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12270
    • chore(deps): bump Rslib 0.18.1 and remove unnecessary build config by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/12273

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.6.4...v1.6.5

    Open source β†’
  4. 1.6.418 Nov 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.6.4 -->

    What's Changed

    New Features πŸŽ‰

    • feat: support arrow function in on_chunks_loaded callback by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12193
    • feat(rslib): handle hashbang / react directives natively by @fi3ework in https://github.com/web-infra-dev/rspack/pull/12168

    Bug Fixes 🐞

    • fix: should transform output.path while emitting assets by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12181
    • fix: should not transform [name]/[file] in wasm filename template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12184
    • fix: missing type of http proxy middleware options by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12188
    • fix: json module size by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12189
    • fix: triple with windows-msvc doesn't support -Cforce-unwind-tables=no by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12196
    • fix: target should use includes windows-msvc instead of startsWith by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12198
    • fix: should handle loader error with empty stack trace by @SyMind in https://github.com/web-infra-dev/rspack/pull/12213
    • fix: system library name by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12215
    • fix: should handle name convention of css compose by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12202
    • fix: swc-loader should not respect .swcrc by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12222
    • fix(types): use namespace imports for Node.js built-in modules by @SyMind in https://github.com/web-infra-dev/rspack/pull/12232

    Refactor πŸ”¨

    • refactor: move code splitting cache into artifact by @hardfist in https://github.com/web-infra-dev/rspack/pull/12164
    • refactor: split make phase by @hardfist in https://github.com/web-infra-dev/rspack/pull/12186
    • refactor: split module_graph into ModuleGraphRef and ModuleGraphMut by @hardfist in https://github.com/web-infra-dev/rspack/pull/12199
    • refactor: processing more string concatenation in runtime template part 1 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12225

    Document Updates πŸ“–

    • docs: upgrade to Rspress V2 new UI by @SoonIter in https://github.com/web-infra-dev/rspack/pull/12201
    • docs: improve section headers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12216
    • docs: update editLink config by @SoonIter in https://github.com/web-infra-dev/rspack/pull/12220
    • docs: remove HomeBackground and navTransparent hack by @SoonIter in https://github.com/web-infra-dev/rspack/pull/12224
    • docs(config): improve module.defaultRules documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12230

    Other Changes

    • chore(release): fix debug package release failure by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12182
    • chore: release v1.6.3 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12180
    • chore: bump rust toolchain by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12183
    • test(native-watcher): init native watcher tests by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/12185
    • chore(ci): support force use github artifacts by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12187
    • test: rename test script from 'test:rstest' to 'test:base' by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12194
    • ci(native-watcher): test multiple platforms by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/12197
    • chore(deps): update dependency case-police to ~2.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12206
    • chore(deps): update dependency markdown-to-jsx to v8 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12208
    • chore(deps): update rust crate fast-glob to v1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12209
    • chore(deps): update dependency emnapi to ^1.7.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12157
    • test: test suite name should include base path by @9aoy in https://github.com/web-infra-dev/rspack/pull/12214
    • test: disable iconv-lite decode warning in test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12217
    • chore(deps): update rust crate rayon to 1.11.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12129
    • chore(deps): update dependency glob to v11.1.0 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12223

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.6.3...v1.6.4

    Open source β†’
  5. 1.6.313 Nov 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.6.3 -->

    What's Changed

    New Features πŸŽ‰

    • feat: export ErrorData from rspack_error crate by @ityuany in https://github.com/web-infra-dev/rspack/pull/12166

    Bug Fixes 🐞

    • fix: image source should be buffer by @SyMind in https://github.com/web-infra-dev/rspack/pull/12176

    Document Updates πŸ“–

    • docs(split-chunks): update module federation compatibility note by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12178

    Other Changes

    • chore: simplify import comment style in output code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12163
    • chore(deps): update dependency @rspack/lite-tapable to v1.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12156
    • chore(ci): revert cache action version by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12170
    • chore(ci): fix artifacts slow download by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12171
    • test: can not handle uncaughtException correctly by @9aoy in https://github.com/web-infra-dev/rspack/pull/12179

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.6.2...v1.6.3

    Open source β†’
  6. 1.6.212 Nov 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.6.2 -->

    What's Changed

    Performance Improvements ⚑

    • perf: replace source and cached source by @SyMind in https://github.com/web-infra-dev/rspack/pull/12110

    New Features πŸŽ‰

    • feat(mf): support manifest by @2heal1 in https://github.com/web-infra-dev/rspack/pull/11846
    • feat: add Tracy profiler support by @hardfist in https://github.com/web-infra-dev/rspack/pull/12048
    • feat(react-refresh-loader): generate more compact runtime code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12160

    Bug Fixes 🐞

    • fix: should generate correct relative path for context modules in sourcemap by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12078
    • fix: render external re-exports by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12089
    • fix: support import.meta.url as the only param of new Worker() by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12095
    • fix: inject global entry to async entrypoints by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12096
    • fix(rstest): should only handles JavaScript module by @fi3ework in https://github.com/web-infra-dev/rspack/pull/12068
    • fix: should rename global in node by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12102
    • fix: should add file dependencies in loaderContext.resolve by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12107
    • fix: inner graph class static block usage by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12114
    • fix: should not inject CSS prefetch/preload runtime when only prefetch/preload JS chunks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12112
    • fix: keep entry chunk signature by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12133
    • fix: use real resource when exporting from external by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12136
    • fix: loader order of nested rules by @nilptr in https://github.com/web-infra-dev/rspack/pull/12132
    • fix: mf container entry use startup to load initial chunks by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12142
    • fix: should not panic if ref-cjs is removed by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12147
    • fix: should export external aliased right by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12143
    • fix: should have JS entry for importModule assets and rslib by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12167

    Refactor πŸ”¨

    • refactor: remove support for nested importModule usage by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12111
    • refactor: render runtime globals with runtime template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12144
    • refactor: rename some classes and static variables by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12145
    • refactor: move compilation.rs to the compilation folder by @hardfist in https://github.com/web-infra-dev/rspack/pull/12159
    • refactor: move build_chunk_graph into compilation by @hardfist in https://github.com/web-infra-dev/rspack/pull/12162

    Other Changes

    • test: custom resource loader of test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12091
    • chore(deps): update dependency lint-staged to v16 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12098
    • chore(deps): update github-actions (major) by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12099
    • chore(deps): update rust crate swc_core to 46.0.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12085
    • test: enable more watch cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12106
    • chore: remove webpackBootstrap comment from output by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12108
    • chore: remove divider comment from output by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12109
    • chore(deps): update dependency terser to v5.44.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12117
    • chore(deps): update dependency cspell to ^9.3.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12115
    • chore(deps): update dependency prebundle to ^1.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12116
    • chore(deps): update dependency @shikijs/transformers to ^3.15.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12119
    • chore(deps): update dependency axios to ^1.13.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12120
    • chore(deps): update pnpm to v10.20.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12118
    • chore(deps): update dependency @microsoft/api-extractor to v7.54.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12088
    • chore(deps): update rust crate tokio to 1.48.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12123
    • chore(deps): update rust crate regex to 1.12.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12122
    • chore(deps): update rust crate notify to 8.2.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12121
    • docs: document global entry behavior in EntryPlugin by @Copilot in https://github.com/web-infra-dev/rspack/pull/12105
    • chore(deps): update rust crate either to 1.15.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12128
    • chore(deps): update rust crate camino to 1.2.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12127
    • test: migrate rspack wasm test to rstest by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11990
    • test: rename toMatchFileSnapshot to toMatchFileSnapshotSync by @9aoy in https://github.com/web-infra-dev/rspack/pull/12139
    • test: remove jest script by @9aoy in https://github.com/web-infra-dev/rspack/pull/12150
    • chore(deps): update dependency iconv-lite to ^0.7.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12158
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12153
    • chore: deprecate experiments.parallelCodeSplitting by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12169
    • revert: refactor: remove support for nested importModule usage (#12111) by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12165

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.6.1...v1.6.2

    Open source β†’
  7. 1.6.15 Nov 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at release/1.6.1 -->

    What's Changed

    Highlights πŸ’‘

    In Rspack 1.6.1, the source map implementation in the rspack-sources crate has been optimized, improving source map generation performance by roughly 30%.

    <img width="600" alt="image" src="https://github.com/user-attachments/assets/f7e55200-120f-4cdb-a7d6-85e857c46015" />

    Performance Improvements ⚑

    • perf: rspack sources memory by @SyMind in https://github.com/web-infra-dev/rspack/pull/12038

    Bug Fixes 🐞

    • fix: use match resource first when generating css local ident name by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12040
    • fix: should export named webpack_require from runtime chunk by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12045
    • fix: should increase the counter of sized in mangle exports plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12044
    • fix: compatibility __non_webpack_require__ with es modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12052
    • fix: get chunk filename with dependOn by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12053
    • fix: remove redundant OutputFileSystem.createReadStream by @colinaaa in https://github.com/web-infra-dev/rspack/pull/12059
    • fix(config): validate output.path must be absolute by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12061
    • fix: should disable default splitChunks rules for EsmLibraryPlugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12047
    • fix: should handle require ensure with error function by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12054
    • fix: should parse webpackExports with empty array by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12066
    • fix: use correct Cell for EsmLibraryPlugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12067
    • fix: properties of build meta should be optional when sending to dll plugin from javascript by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12070
    • fix: treat HMR's warnUnexpectedRequire as undefined module factory by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12016
    • fix: defer import and dynamic exportsType default export mixed by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12082
    • fix: new URL("", import.meta.url) should be pure by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12076

    Refactor πŸ”¨

    • refactor: import external should not create needless external module by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12064

    Document Updates πŸ“–

    • docs: add 1.6.0 release blog by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12019
    • docs: improve English clarity in documentation by @Copilot in https://github.com/web-infra-dev/rspack/pull/12060
    • docs: move deprecated experimental options to the bottom by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12049
    • docs(quick-start): update non-interactive mode section by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12083

    Other Changes

    • chore: release 1.6.0 by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12042
    • chore(deps): update dependency core-js to v3.46.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12057
    • chore(deps): update dependency @rslib/core to v0.17.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12056
    • chore(deps): update dependency @biomejs/biome to ^2.3.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12055
    • chore(renovate): disable lockFileMaintenance by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12063
    • chore: improve struct type and remove some useless fields by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12071
    • chore: ensure that prettier can format all markdown and JSON files by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12075
    • chore(deps): update dependency @babel/preset-react to ^7.28.5 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12087
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12084

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.6.0...v1.6.1

    Open source β†’
  8. 1.6.030 Oct 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.6.0 -->

    πŸŽ‰ See Announcing Rspack 1.6 for more details.

    What's Changed

    Performance Improvements ⚑

    • perf(browser): minor performance optimization for @rspack/browser by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11795
    • perf(swc_plugin_import): replace handlebars with custom template engine by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11852
    • perf(cli): switch to cac and refactor code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11893
    • perf: replace graceful-fs with node:fs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11894
    • perf: remove JS side config validation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11897
    • perf(core): adjust default_blocking_threads to 4 in linux with slower fs by @hardfist in https://github.com/web-infra-dev/rspack/pull/11908
    • perf: add support for module.unsafeCache configuration by @SyMind in https://github.com/web-infra-dev/rspack/pull/11898
    • perf: don't drop rust compiler instance in non-watch mode by @hardfist in https://github.com/web-infra-dev/rspack/pull/11920
    • perf: move crypto imports to lazy require calls by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11930
    • perf: replace node:assert with explicit error checks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11928
    • perf(cli): replace colorette with picocolors by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11932
    • perf: lazy load node:worker_threads to improve startup time by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11931
    • perf(cli): simplify ESM file detection by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11946
    • perf: use ustr for resource_identifier to avoid multiple copies by dependencies by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12036

    New Features πŸŽ‰

    • feat(mf): runtimePlugins support pass params by @2heal1 in https://github.com/web-infra-dev/rspack/pull/11818
    • feat(browser): support modules in BrowserRequirePlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11822
    • feat(mf): support lazy compilation by @2heal1 in https://github.com/web-infra-dev/rspack/pull/11779
    • feat: enable lazy barrel by default by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11841
    • feat: rslib supports add shims for js/esm by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11840
    • feat: eval simple expression for enum member by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11859
    • feat: implement extractSourceMap option by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11814
    • feat(esm): remove empty unneeded runtime chunks by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11892
    • feat(create-rspack): add type annotations to JS configs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11896
    • feat: support defer import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11871
    • feat: EsmLibraryPlugin supports preserveModules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11921
    • feat: introduce allocative by @quininer in https://github.com/web-infra-dev/rspack/pull/11927
    • feat(browser): re-export memfs by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11942
    • feat: handle renamed webpack_require by compatibility plugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11975
    • feat(browser): support CORS worker and custom wasm url by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11996
    • feat(create-rspack): add AGENTS.md by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12002
    • feat: if no commonjs specific syntax detected, treat module as esm by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12008
    • feat: support ignoreList option in SourceMapDevToolPlugin by @SyMind in https://github.com/web-infra-dev/rspack/pull/12029
    • feat: EsmLibraryPlugin can override invalid user config by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12028

    Bug Fixes 🐞

    • fix(loader-runner): add missing break statements in switch cases by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11794
    • fix: revert "fix: remove serde feature of lightningcss (#11706)" by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11796
    • fix: correct stats.color type to include fine-grained options by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11797
    • fix: export interop default symbol and ensure import required chunks by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11793
    • fix: should re-export real exportInfo when export dynamic js by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11776
    • fix: should process runtime chunk after normal chunks of same chunk group by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11778
    • fix: should use external source as name hint by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11825
    • fix(swc_plugin_import): fix panic and optimize diagnostic logs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11862
    • fix: distinguish external modules when there are import attributes by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11845
    • fix: should render default exports for cjs entry and json entry by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11860
    • fix: should export from entry chunk for cjs reexport default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11884
    • fix: should not cache dependency instance in DynamicEntryPlugin by @SyMind in https://github.com/web-infra-dev/rspack/pull/11888
    • fix: updated dependencies sync to persistent cache by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11910
    • fix: no need to create compiler instance when closing compiler by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11923
    • fix: should allow override can_inline_use in flag dependency usage plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11934
    • fix: perf regression caused by is_deferred by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11944
    • fix(create-rspack): polish README and configurations by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11953
    • fix(mf): federation modules plugin hooks leak by @quininer in https://github.com/web-infra-dev/rspack/pull/11929
    • fix(swcLoader): should correctly generate the default value of env_na… by @Zeahan in https://github.com/web-infra-dev/rspack/pull/11906
    • fix(types): add createReadStream to OutputFileSystem interface by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11963
    • fix: improve type safety for MultiStats options by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11964
    • fix: should support entries() for compilation.chunks by @SyMind in https://github.com/web-infra-dev/rspack/pull/11971
    • fix: esm output chunk module missing load dependent chunks by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11945
    • fix: inline value for multiple runtime by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11983
    • fix: unknown defined properties for exported enum by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11992
    • fix: compilation.*_dep.added should not contains updated files by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11991
    • fix: side effects optimize panic when remove lib file by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11939
    • fix: should only top-level require wrapped modules for import side-effect specifier by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11997
    • fix: use asset resource module as entry by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11993
    • fix: Remove some unnecessary unsafe by @quininer in https://github.com/web-infra-dev/rspack/pull/12006
    • fix: type definitions for devtool module filename templates by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12013
    • fix: incremental wrong provided exports results caused panic when delete module by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12009
    • fix: rayon iterator.consume will block in WASM by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12022
    • fix: calculate side effects of call exprs in seq expr by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12017
    • fix: should remove related correctly in compilation.updateAsset by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12031
    • fix: should resplace resource query in context replacement plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12033
    • fix(wasm): add another SharedArrayBuffer instance check by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12037

    Refactor πŸ”¨

    • refactor: update type definitions to fix Rslint issues by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11798
    • refactor: remove experiments.layers by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11819
    • refactor: output.charset false by default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11837
    • refactor: make artifact collect affected dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11905
    • refactor: clean up default stats plugins by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11904
    • refactor: consolidate ModuleError and ModuleWarning classes by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11935
    • refactor(watcher): split watcher from rspack_fs by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11948
    • refactor(core): Convert BoxModule from type alias to newtype struct by @kdy1 in https://github.com/web-infra-dev/rspack/pull/11978
    • refactor: normal module build by @SyMind in https://github.com/web-infra-dev/rspack/pull/11973
    • refactor: side effects parser plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12014
    • refactor: source return string or buffer by @SyMind in https://github.com/web-infra-dev/rspack/pull/12023
    • refactor: EsmLibraryPlugin should hold itself lock of data by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12035

    Document Updates πŸ“–

    • docs: improve documentation for stats properties by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11792
    • docs: explain how resolve.alias affects package resolution by @SyMind in https://github.com/web-infra-dev/rspack/pull/11799
    • docs(browser): add usage of useInputFileSystem to "In-Memory File system" section by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11833
    • docs(browser): Add compatibility with resolve.alias description for BrowserHttpImportEsmPlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11838
    • docs(config): optimization.chunkIds update by @vsn4ik in https://github.com/web-infra-dev/rspack/pull/11900
    • docs: add guide for setting thread pool size via environment variable by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11912
    • docs: fix zh readme miss two line in credits by @WuMingDao in https://github.com/web-infra-dev/rspack/pull/11917
    • docs: sync zh and en readme by @WuMingDao in https://github.com/web-infra-dev/rspack/pull/11918
    • docs: add layer feature guide doc by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11985
    • docs: update roadmap content for Rspack 2.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11994
    • docs: update team members list by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12000
    • docs: update webpack loader repository links by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12010
    • docs: add docs for experiements.deferImport by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12018
    • docs: add Cloudflare and YouMind logos to who is using by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12039

    Other Changes

    • test: run webpack multi compiler test cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11787
    • test: fix hot update loader by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11774
    • chore: rspack_plugin_esm_library should have description by @SyMind in https://github.com/web-infra-dev/rspack/pull/11789
    • chore: upgrade mf runtime tools to v0.19.1 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11788
    • test: run webpack stats cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11791
    • chore(deps): update dependency @rslib/core to v0.15.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11748
    • chore(deps): lock file maintenance by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11783
    • chore(deps): update dependency typescript to ^5.9.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11802
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11801
    • chore(deps): update dependency memfs to v4.48.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11807
    • chore(deps): update dependency zx to v8.8.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11811
    • test: run webpack example cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11820
    • test: run webpack watch cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11821
    • chore(deps): update dependency @microsoft/api-extractor-model to v7.31.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11816
    • chore(deps): update pnpm to v10.18.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11812
    • test: skip flaky test cases by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11827
    • test: run webpack hot cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11826
    • test: add type of test config files by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11831
    • test: add missing await in basic tests by @deepcoldy in https://github.com/web-infra-dev/rspack/pull/11824
    • test: align more test cases with webpack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11834
    • chore(wasm): bump and fix @napi-rs/wasm-runtime by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11836
    • test: run webpack error cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11839
    • chore: avoid lazy compilation mf e2e flaky by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11843
    • test: remove webpack tests by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11842
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11806
    • ci: fix lazy-compilation persistent cache e2e case by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11844
    • chore: fix Node typeless warning when building packages by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11847
    • chore: clean up TODO comments and simplify code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11848
    • test: sync webpack config test cases to rspack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11853
    • test: inject test and rspack pathes by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11856
    • test: remove legacy builtin configuration of builtin test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11857
    • chore: fix invalid lint:rs script in package.json by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11863
    • test: rename all webpack config files to rspack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11864
    • test: remove template.md and readme.md in webpack-examples by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11865
    • test: move test scripts to test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11866
    • chore(swc_plugin_import): inherit workspace lint config by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11867
    • test: remove legacy supports checker and test filter by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11868
    • test: use new hot update plugin to run legacy hot cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11870
    • chore: avoid using BROWSER env by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11855
    • test: use promise instead of done callback by @9aoy in https://github.com/web-infra-dev/rspack/pull/11872
    • chore(deps): update pnpm to v10.18.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11875
    • chore: enable some Rslint rules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11869
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11874
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11873
    • chore: remove outdated OTP release scripts by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11885
    • chore(deps): update dependency @playwright/test to v1.56.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11876
    • chore: eliminate pnpm install platform warnings by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11889
    • chore: clean up unused dependencies in test tools package by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11886
    • chore(deps): update dependency react-refresh to ^0.18.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11810
    • test(normalCases): use promise instead of done callback by @9aoy in https://github.com/web-infra-dev/rspack/pull/11879
    • chore(deps): upgrade zod from v3 to v4 and update imports by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11883
    • chore: Using env to enable sftrace by @quininer in https://github.com/web-infra-dev/rspack/pull/11880
    • test: rewrite hot test cases with NEXT_HMR by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11882
    • test: migrate config tests to rstest by @9aoy in https://github.com/web-infra-dev/rspack/pull/11895
    • test: use jsdom runner to run most cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11901
    • test: Revert 'migrate config tests to rstest (#11895)' by @9aoy in https://github.com/web-infra-dev/rspack/pull/11902
    • test: add warn while closing compiler with failure by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11909
    • test: migrate config tests to rstest by @9aoy in https://github.com/web-infra-dev/rspack/pull/11911
    • ci: fix lazy-compilation/persistent-cache ci failed by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11926
    • test: use jsdom runner to run all cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11924
    • chore: enable Rslint rule: no-empty-interface by @shuga2704 in https://github.com/web-infra-dev/rspack/pull/11915
    • chore: switch to self-hosted macOS runners by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11925
    • chore: fix rustflags not work for dev profile by @quininer in https://github.com/web-infra-dev/rspack/pull/11936
    • test: display error location in jsdom by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11937
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11957
    • chore(deps): update dependency @arco-design/web-react to ^2.66.6 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11958
    • chore(deps): update dependency @module-federation/runtime-tools to v0.21.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11959
    • chore(deps): update crates swc_core to v45.0.1 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11951
    • test: enable hideSkippedTests option by @9aoy in https://github.com/web-infra-dev/rspack/pull/11952
    • chore(deps): update dependency @rslib/core to v0.16.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11960
    • test: migrate more tests to rstest by @9aoy in https://github.com/web-infra-dev/rspack/pull/11947
    • test: remove runtime diff test tool by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11968
    • test: remove types of test tools that related to webpack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11970
    • chore(ci): fix flaky mf container-1-5 test cases by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11954
    • test: no need to support multiples scope in one test case by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11972
    • test: use rstest's default reporters in CI by @9aoy in https://github.com/web-infra-dev/rspack/pull/11981
    • chore(ci): set timeout for pnpm setup action by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11976
    • chore(deps): bump Rslib 0.16.1 to use better browserlist for es6 syntax by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/11984
    • chore(build): add missing type declaration for rslib config by @situ2001 in https://github.com/web-infra-dev/rspack/pull/11982
    • test: add debug mode of test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11987
    • chore: enable Rslint rule: @typescript-eslint/no-redundant-type-constituents by @json-q in https://github.com/web-infra-dev/rspack/pull/11986
    • test: fix rstest tests not found in windows by @9aoy in https://github.com/web-infra-dev/rspack/pull/11995
    • test: migrate cli tests to rstest by @9aoy in https://github.com/web-infra-dev/rspack/pull/11989
    • chore(ci): improve window cache speed with zstd by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11961
    • chore: remove injected test code in diff test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12001
    • chore: rspack-resolver bump to 0.6.4 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12004
    • test: should not panic for mf sharing asset modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12003
    • test: bump rstest to fix RSTEST_WORKER_ID by @9aoy in https://github.com/web-infra-dev/rspack/pull/12011
    • chore: rm unsued cached source by @SyMind in https://github.com/web-infra-dev/rspack/pull/11754
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12026
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12027
    • test: enable more cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12021
    • test: migrate more jest tests to rstest by @9aoy in https://github.com/web-infra-dev/rspack/pull/12030
    • test: migrate jest lazy tests to rstest by @9aoy in https://github.com/web-infra-dev/rspack/pull/12034
    • chore(deps)!: bump swc_core to v46 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12032

    New Contributors

    • @deepcoldy made their first contribution in https://github.com/web-infra-dev/rspack/pull/11824
    • @WuMingDao made their first contribution in https://github.com/web-infra-dev/rspack/pull/11917
    • @shuga2704 made their first contribution in https://github.com/web-infra-dev/rspack/pull/11915
    • @Zeahan made their first contribution in https://github.com/web-infra-dev/rspack/pull/11906
    • @situ2001 made their first contribution in https://github.com/web-infra-dev/rspack/pull/11982
    • @json-q made their first contribution in https://github.com/web-infra-dev/rspack/pull/11986

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.8...v1.6.0

    Open source β†’
  9. 1.6.0-beta.122 Oct 2025pre-release
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.6.0-beta.1 -->

    What's Changed

    Highlights πŸ’‘

    EsmLibraryPlugin supports preserveModules

    EsmLibraryPlugin now provides experimental support for the preserveModules feature. This allows you to maintain your source code structure as is while bundling all libraries within the node_modules folder. You can try it out using the following configuration example:

    Feel free to copy and use it!

    import { rspack } from "@rspack/core";
    import path from 'node:path'
    
    export default{
      entry: "./index.js",
      output: {
        chunkFormat: false,  // required, EsmLibraryPlugin handles how chunk renders 
        chunkLoading: 'import',  // required, using es module dynamic import syntax to load other chunks
      },
      optimization: {
        runtimeChunk: true,  // recommended if you have async chunks
        concatenateModules: false,  // required, EsmLibraryPlugin handles scope hoisting
      },
      plugins: [
        new rspack.experiments.EsmLibraryPlugin({
          preserveModules: path.resolve(__dirname, './src')
        })
      ],
    };
    

    Experimental supports for defer import

    Rspack now supports defer import, you can enable it by experiments.deferImport = true. It is worth noting that we currently only support import defer, import.defer() will be implemented in the near future.

    export default {
      experiments: {
        deferImport: true
      }
    }
    

    Performance Improvements ⚑

    • perf(cli): switch to cac and refactor code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11893
    • perf: replace graceful-fs with node:fs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11894
    • perf: remove JS side config validation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11897
    • perf(core): adjust default_blocking_threads to 4 in linux with slower fs by @hardfist in https://github.com/web-infra-dev/rspack/pull/11908
    • perf: add support for module.unsafeCache configuration by @SyMind in https://github.com/web-infra-dev/rspack/pull/11898
    • perf: don't drop rust compiler instance in non-watch mode by @hardfist in https://github.com/web-infra-dev/rspack/pull/11920
    • perf: move crypto imports to lazy require calls by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11930
    • perf: replace node:assert with explicit error checks by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11928
    • perf(cli): replace colorette with picocolors by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11932
    • perf: lazy load node:worker_threads to improve startup time by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11931

    New Features πŸŽ‰

    • feat(esm): remove empty unneeded runtime chunks by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11892
    • feat(create-rspack): add type annotations to JS configs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11896
    • feat: support defer import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11871
    • feat: EsmLibraryPlugin supports preserveModules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11921

    Bug Fixes 🐞

    • fix: should export from entry chunk for cjs reexport default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11884
    • fix: should not cache dependency instance in DynamicEntryPlugin by @SyMind in https://github.com/web-infra-dev/rspack/pull/11888
    • fix: updated dependencies sync to persistent cache by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11910
    • fix: no need to create compiler instance when closing compiler by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11923
    • fix: should allow override can_inline_use in flag dependency usage plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11934
    • fix: perf regression caused by is_deferred by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11944

    Refactor πŸ”¨

    • refactor: make artifact collect affected dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11905
    • refactor: clean up default stats plugins by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11904
    • refactor: consolidate ModuleError and ModuleWarning classes by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11935

    Document Updates πŸ“–

    • docs(config): optimization.chunkIds update by @vsn4ik in https://github.com/web-infra-dev/rspack/pull/11900
    • docs: add guide for setting thread pool size via environment variable by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11912
    • docs: fix zh readme miss two line in credits by @WuMingDao in https://github.com/web-infra-dev/rspack/pull/11917
    • docs: sync zh and en readme by @WuMingDao in https://github.com/web-infra-dev/rspack/pull/11918

    Other Changes

    • test: use promise instead of done callback by @9aoy in https://github.com/web-infra-dev/rspack/pull/11872
    • chore(deps): update pnpm to v10.18.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11875
    • chore: enable some Rslint rules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11869
    • chore: release v1.6.0-beta.0 by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11830
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11874
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11873
    • chore: remove outdated OTP release scripts by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11885
    • chore(deps): update dependency @playwright/test to v1.56.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11876
    • chore: eliminate pnpm install platform warnings by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11889
    • chore: clean up unused dependencies in test tools package by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11886
    • chore(deps): update dependency react-refresh to ^0.18.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11810
    • test(normalCases): use promise instead of done callback by @9aoy in https://github.com/web-infra-dev/rspack/pull/11879
    • chore(deps): upgrade zod from v3 to v4 and update imports by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11883
    • chore: Using env to enable sftrace by @quininer in https://github.com/web-infra-dev/rspack/pull/11880
    • test: rewrite hot test cases with NEXT_HMR by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11882
    • test: migrate config tests to rstest by @9aoy in https://github.com/web-infra-dev/rspack/pull/11895
    • test: use jsdom runner to run most cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11901
    • test: Revert 'migrate config tests to rstest (#11895)' by @9aoy in https://github.com/web-infra-dev/rspack/pull/11902
    • test: add warn while closing compiler with failure by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11909
    • test: migrate config tests to rstest by @9aoy in https://github.com/web-infra-dev/rspack/pull/11911
    • ci: fix lazy-compilation/persistent-cache ci failed by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11926
    • test: use jsdom runner to run all cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11924
    • chore: enable Rslint rule: no-empty-interface by @shuga2704 in https://github.com/web-infra-dev/rspack/pull/11915
    • chore: switch to self-hosted macOS runners by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11925
    • chore: fix rustflags not work for dev profile by @quininer in https://github.com/web-infra-dev/rspack/pull/11936
    • test: display error location in jsdom by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11937
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11957
    • chore(deps): update dependency @arco-design/web-react to ^2.66.6 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11958
    • chore(deps): update dependency @module-federation/runtime-tools to v0.21.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11959
    • chore(deps): update crates swc_core to v45.0.1 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11951

    New Contributors

    • @WuMingDao made their first contribution in https://github.com/web-infra-dev/rspack/pull/11917
    • @shuga2704 made their first contribution in https://github.com/web-infra-dev/rspack/pull/11915

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.6.0-beta.0...v1.6.0-beta.1

    Open source β†’
  10. 1.6.0-beta.015 Oct 2025pre-release
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.6.0-beta.0 -->

    πŸ§ͺ Enhanced ESM library output (experimental)

    Rspack now provides a new ESM library output that is cleaner, statically analyzable, and supports custom chunk splitting.

    This new output format is fully independent of the existing chunk loading logic β€” each chunk can be used in isolation, and all exports are placed at the top level instead of being wrapped inside the __webpack_modules__ closure.

    • Before:
    exports.modules = { 
      "src/async-module.js": function(exports) {
        __webpack_require__.d(exports, {
          foo: () => foo
        })
        const foo = 42
      }
    }
    
    • After:
    // src/async-module.js
    const foo = 42
    
    export { foo }
    

    If you'd like to try this now, follow this example:

    import { rspack } from "@rspack/core";
    
    export default{
      entry: "./index.js",
      output: {
        chunkFormat: false,  // required, EsmLibraryPlugin handles how chunk renders 
        chunkLoading: 'import',  // required, using es module dynamic import syntax to load other chunks
      },
      optimization: {
        runtimeChunk: true,  // recommended if you have async chunks
        concatenateModules: false,  // required, EsmLibraryPlugin handles scope hoisting
      },
      plugins: [new rspack.experiments.EsmLibraryPlugin()],
    };
    

    We'll make this out-of-box in Rslib soon.

    See EsmLibraryPlugin for more.

    🎯 Layers is now stable

    The layer feature is now enabled by default - you no longer need to enable it manually using the experiments.layer option.

    Layers is a feature that helps you group certain modules and their dependencies, allowing you to bundle them using different transforms.

    For example, you can generate both ES5 and ES2015 outputs in one compilation by assigning different layers to different entries with the following configuration:

    export default {
      entry: {
        legacy: {
          import: "./index.js",
          layer: "es5",
        },
        modern: {
          import: "./index.js",
          layer: "es6",
        },
      },
      module: {
        rules: [
          {
            test: /\.js$/,
            oneOf: [
              {
                issuerLayer: "es5",
                use: [
                  {
                    loader: "builtin:swc-loader",
                    options: {
                      jsc: {
                        target: "es5",
                        // ...
                      },
                    },
                  },
                ],
              },
              {
                issuerLayer: "es6",
                use: [
                  {
                    loader: "builtin:swc-loader",
                    options: {
                      jsc: {
                        target: "es2015",
                        // ...
                      },
                    },
                  },
                ]
              },
            ],
          },
        ],
      },
    };
    

    πŸ“„ Extract existing source maps

    Rspack now supports extracting existing source map data from files (from their //# sourceMappingURL comment) via Rule.extractSourceMap. This feature is particularly useful for preserving source maps provided by third-party libraries, ensuring that debugging information remains accurate even when those libraries are bundled or transformed.

    It was originally introduced in webpack v5.102.0 as a built-in replacement for the source-map-loader plugin, offering better performance and tighter integration with the build process.

    export default {
      // ...
      module: {
        rules: [
          {
            test: /\.m?js$/,
            extractSourceMap: true,
          },
        ],
      },
    };
    

    βœ… Lazy barrel enabled by default

    Since Rspack v1.5 introduced experimental barrel file optimization, it has been enabled by default in Rsbuild to collect early feedback.

    After extensive usage and validation within Rsbuild, we now consider lazyBarrel stable, and it is enabled by default in Rspack as well.

    What's Changed

    Performance Improvements ⚑

    • perf(browser): minor performance optimization for @rspack/browser by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11795
    • perf(swc_plugin_import): replace handlebars with custom template engine by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11852

    New Features πŸŽ‰

    • feat(mf): runtimePlugins support pass params by @2heal1 in https://github.com/web-infra-dev/rspack/pull/11818
    • feat(browser): support modules in BrowserRequirePlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11822
    • feat(mf): support lazy compilation by @2heal1 in https://github.com/web-infra-dev/rspack/pull/11779
    • feat: enable lazy barrel by default by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11841
    • feat: rslib supports add shims for js/esm by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11840
    • feat: eval simple expression for enum member by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11859
    • feat: implement extractSourceMap option by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11814

    Bug Fixes 🐞

    • fix(loader-runner): add missing break statements in switch cases by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11794
    • fix: revert "fix: remove serde feature of lightningcss (#11706)" by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11796
    • fix: correct stats.color type to include fine-grained options by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11797
    • fix: export interop default symbol and ensure import required chunks by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11793
    • fix: should re-export real exportInfo when export dynamic js by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11776
    • fix: should process runtime chunk after normal chunks of same chunk group by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11778
    • fix: should use external source as name hint by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11825
    • fix(swc_plugin_import): fix panic and optimize diagnostic logs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11862
    • fix: distinguish external modules when there are import attributes by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11845
    • fix: should render default exports for cjs entry and json entry by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11860

    Refactor πŸ”¨

    • refactor: update type definitions to fix Rslint issues by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11798
    • refactor: remove experiments.layers by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11819
    • refactor: output.charset false by default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11837

    Document Updates πŸ“–

    • docs: improve documentation for stats properties by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11792
    • docs: explain how resolve.alias affects package resolution by @SyMind in https://github.com/web-infra-dev/rspack/pull/11799
    • docs(browser): add usage of useInputFileSystem to "In-Memory File system" section by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11833
    • docs(browser): Add compatibility with resolve.alias description for BrowserHttpImportEsmPlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11838

    Other Changes

    • test: run webpack multi compiler test cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11787
    • test: fix hot update loader by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11774
    • chore: rspack_plugin_esm_library should have description by @SyMind in https://github.com/web-infra-dev/rspack/pull/11789
    • chore: upgrade mf runtime tools to v0.19.1 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11788
    • test: run webpack stats cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11791
    • chore(deps): update dependency @rslib/core to v0.15.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11748
    • chore(deps): lock file maintenance by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11783
    • chore(deps): update dependency typescript to ^5.9.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11802
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11801
    • chore(deps): update dependency memfs to v4.48.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11807
    • chore(deps): update dependency zx to v8.8.4 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11811
    • test: run webpack example cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11820
    • test: run webpack watch cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11821
    • chore(deps): update dependency @microsoft/api-extractor-model to v7.31.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11816
    • chore(deps): update pnpm to v10.18.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11812
    • test: skip flaky test cases by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11827
    • test: run webpack hot cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11826
    • test: add type of test config files by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11831
    • test: add missing await in basic tests by @deepcoldy in https://github.com/web-infra-dev/rspack/pull/11824
    • test: align more test cases with webpack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11834
    • chore(wasm): bump and fix @napi-rs/wasm-runtime by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11836
    • test: run webpack error cases with test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11839
    • chore: avoid lazy compilation mf e2e flaky by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11843
    • test: remove webpack tests by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11842
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11806
    • ci: fix lazy-compilation persistent cache e2e case by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11844
    • chore: fix Node typeless warning when building packages by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11847
    • chore: clean up TODO comments and simplify code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11848
    • test: sync webpack config test cases to rspack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11853
    • test: inject test and rspack pathes by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11856
    • test: remove legacy builtin configuration of builtin test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11857
    • chore: fix invalid lint:rs script in package.json by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11863
    • test: rename all webpack config files to rspack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11864
    • test: remove template.md and readme.md in webpack-examples by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11865
    • test: move test scripts to test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11866
    • chore(swc_plugin_import): inherit workspace lint config by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11867
    • test: remove legacy supports checker and test filter by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11868
    • test: use new hot update plugin to run legacy hot cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11870
    • chore: avoid using BROWSER env by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11855

    New Contributors

    • @deepcoldy made their first contribution in https://github.com/web-infra-dev/rspack/pull/11824

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.8...v1.6.0-beta.0

    Open source β†’
  11. 1.5.829 Sept 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.8 -->

    Highlights πŸ’‘

    Enhanced Tree Shaking for Nested Exports in Destructuring

    Rspack now supports more precise tree shaking for nested exports accessed through destructuring assignments.

    // lib.js
    export * as a from "./a";
    export * as b from "./b";
    
    // index.js
    import * as lib from "./lib";
    // Before: All exports under `lib.a` were retained, only `lib.b` was tree-shaken
    // Now: Only the specific property `inner` from `lib.a` is kept; everything else is removed
    const { a: { inner } } = lib;
    

    What's Changed

    Performance Improvements ⚑

    • perf: rspack sources buffer function by @SyMind in https://github.com/web-infra-dev/rspack/pull/11749
    • perf: avoid unnecessary source map creation by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11773

    New Features πŸŽ‰

    • feat: should retain source error name by @SyMind in https://github.com/web-infra-dev/rspack/pull/11762
    • feat(parser): add commonjs options by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11744
    • feat: transform url in new URL without runtime by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11765
    • feat: add experimental EsmLibraryPlugin for better esm output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10350
    • feat: tree shaking nested exports for destructuring assignment by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11781

    Bug Fixes 🐞

    • fix: cjs export require tree shaking by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11758
    • fix: should always walk import then arguments by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11760
    • fix: should update alias resolution when a higher-priority file is created in watch mode by @SyMind in https://github.com/web-infra-dev/rspack/pull/11643
    • fix: should analyze correct variable for dynamic import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11768
    • fix: URLPlugin in child compiler by @SyMind in https://github.com/web-infra-dev/rspack/pull/11785

    Refactor πŸ”¨

    • refactor: remove unused parameters and clean up code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11756
    • refactor: file counter save the resource id which used the file by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11757

    Document Updates πŸ“–

    • docs: add commonjsMagicComments docs by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11752
    • docs: document parser jsx option by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11767
    • docs: add Snap to who is using section by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11777
    • docs(style): remove unexpected borders on code block focus by @ritoban23 in https://github.com/web-infra-dev/rspack/pull/11784

    Other Changes

    • test: remove simple tester by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11751
    • chore(deps): update dependency memfs to v4.46.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11721
    • test: close compiler by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11764
    • chore(deps): lock file maintenance by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11726
    • test: add persistent cache symlink test case by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11769
    • chore(deps): update swc by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11747

    New Contributors

    • @ritoban23 made their first contribution in https://github.com/web-infra-dev/rspack/pull/11784

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.7...v1.5.8

    Open source β†’
  12. 1.5.724 Sept 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.7 -->

    Highlights πŸ’‘

    Improved Tree Shaking for Dynamic Import .then()

    This release enhances tree shaking capabilities specifically for the .then() callbacks of dynamic imports. Rspack can now statically analyze and eliminate unused exports when destructuring is performed on the resolved module within promise chains:

    // Tree shaking now works for destructuring in .then() callbacks
    import('./utils').then(module => {
      const { usedFunction } = module; // Only usedFunction will be included
      usedFunction();
      // unusedFunction will be tree-shaken out
    });
    

    JSX Preserve Support

    Rspack now supports parsing and preserving JSX syntax. This allows JSX syntax to be parsed without transformation, making it compatible with external JSX transformers.

    // rspack.config.js
    export default {
      module: {
        parser: {
          javascript: {
            jsx: true // Enable JSX parsing
          }
        },
        rules: [
          {
            test: /\.jsx?$/,
            use: {
              loader: 'swc-loader',
              options: {
                jsc: {
                  parser: { jsx: true },
                  transform: {
                    // Preserve JSX syntax
                    react: { runtime: 'preserve' }
                  }
                }
              }
            }
          }
        ]
      }
    };
    

    What's Changed

    New Features πŸŽ‰

    • feat: static analyze destructuring assignment dynamic import variable for tree shaking by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11731
    • feat: parser support jsx by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11664

    Bug Fixes 🐞

    • fix: correct infrastructureLog type and add documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11742
    • fix: inline enum not only properties used by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11740
    • fix: mf should correctly hoist modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11743

    Document Updates πŸ“–

    • docs: improve Web Workers documentation with more details by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11737

    Other Changes

    • test: refactor processor by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11732
    • test: rename config files by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11733
    • test: remove processor by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11738
    • test: remove runner factory by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11741
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11746
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11680

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.6...v1.5.7

    Open source β†’
  13. 1.5.622 Sept 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.6 -->

    What's Changed

    Performance Improvements ⚑

    • perf: IndexSet for ArcPath by @SyMind in https://github.com/web-infra-dev/rspack/pull/11727

    New Features πŸŽ‰

    • feat: rspack_cacheable add custom with wrapper by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11711
    • feat: persistent cache save ModuleProfiler by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11715
    • feat: static analyse import then for tree shaking by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11665
    • feat: support webpackIgnore in commonjs require by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11704

    Bug Fixes 🐞

    • fix: align context module element dependence resource identifer with webpack by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11674
    • fix: inline value condition connection active for re-export by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11701
    • fix: support non-ascii paths in dirname by @hardfist in https://github.com/web-infra-dev/rspack/pull/11686
    • fix(rslib): only treat "module" as normal variable when module have ESM syntax by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11634
    • fix: remove serde feature of lightningcss by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11706
    • fix(browser): inject Buffer by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11714

    Refactor πŸ”¨

    • refactor: rspack_cacheable owned_or_ref implement rkyv macro by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11708
    • refactor: rspack module profiler by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11712

    Document Updates πŸ“–

    • docs: update test path by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11690
    • docs(resolve): clarify mainFields behavior and exports precedence by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11696
    • docs: update join-us page content and structure by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11700

    Other Changes

    • chore: release v1.5.5 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11688
    • ci: fix build-dependencies-resolve test case by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11692
    • test: use case directory name as case names to match the filter by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11699
    • test: refactor runner by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11705
    • test: split snapshots to the case directories by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11707
    • chore(deps): update crate swc_core to v42.0.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11702
    • test: enable lazyBarrel and inlineConst for rspack-test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11710
    • chore(deps): update swc plugins and crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11602
    • chore(deps): update dependency case-police to v2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11719
    • chore(deps): update dependency heading-case to v1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11720
    • chore(deps): update dependency cross-env to v10 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11722
    • chore(deps): update dependency cspell to v9 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11723
    • chore(website): Add link for the positions in position-information by @danpeen in https://github.com/web-infra-dev/rspack/pull/11728

    New Contributors

    • @danpeen made their first contribution in https://github.com/web-infra-dev/rspack/pull/11728

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.5...v1.5.6

    Open source β†’
  14. 1.5.517 Sept 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.5 -->

    What's Changed

    Bug Fixes 🐞

    • fix: should walk call member chain args for dynamic import referenced by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11661
    • fix(core): support NAPI_RS_NATIVE_LIBRARY_PATH by @hardfist in https://github.com/web-infra-dev/rspack/pull/11670
    • fix: inline value condition for namespace import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11679
    • fix: allow Infinity for stats space options by @hardfist in https://github.com/web-infra-dev/rspack/pull/11685
    • fix: inline value with export as by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11687

    Document Updates πŸ“–

    • docs: remove incorrect emitRecords compiler hook by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11671
    • docs: improve resolve.extensions configuration by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11672
    • docs: fix esm document example errors by @lzxb in https://github.com/web-infra-dev/rspack/pull/11673

    Other Changes

    • test: run webpack normal test cases with rspack test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11660
    • chore: deprecate copilot-instruction.md in favor of AGHENTS.md by @hardfist in https://github.com/web-infra-dev/rspack/pull/11669
    • test: run webpack normal hot test cases with rspack test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11662
    • chore(refactor): inline base64 utilities into rspack_util by @hardfist in https://github.com/web-infra-dev/rspack/pull/11668
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11297
    • test: run webpack compiler test cases with rspack test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11676
    • chore(deps): bump rspack-resolver to v0.6.3 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11639
    • chore: add setup script and update AGENTS.md by @hardfist in https://github.com/web-infra-dev/rspack/pull/11684

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.4...v1.5.5

    Open source β†’
  15. 1.5.415 Sept 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.4 -->

    What's Changed

    Performance Improvements ⚑

    • perf: fix drop regression by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11649
    • perf: introduce pre-computed hashing for ArcPath by @SyMind in https://github.com/web-infra-dev/rspack/pull/11651

    New Features πŸŽ‰

    • feat: add inline value condition for reexport by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11628
    • feat: throw specified error to indicate undefined factory case in HMR by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11584

    Bug Fixes 🐞

    • fix: e2e lazy-compialtion/default-prefix flasky by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11610
    • fix: no mangle for enum member value by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11629
    • fix: revert "fix(rslib): treat module identifier as normal (#11588)" by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11630
    • fix: webpackexports comment by @zhangyuang in https://github.com/web-infra-dev/rspack/pull/11597
    • fix: mark import.meta.webpackHot type as optional by @yf-yang in https://github.com/web-infra-dev/rspack/pull/11638
    • fix: persistent cache update issuer is updated modules by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11633
    • fix: using tokens from parser to handle asi by @hardfist in https://github.com/web-infra-dev/rspack/pull/11577
    • fix: ensure resource data always have resource path by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11632

    Refactor πŸ”¨

    • refactor: remove expect for lazy barrel pending forwarded ids by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11646
    • refactor: use temporary data to replace unsupported Module by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11652

    Document Updates πŸ“–

    • docs: remove Preview with stackblitz section by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11614
    • docs(browser): update BrowserHttpImportEsmPlugin and add "Using Module Federation" by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11640
    • docs: correct dynamic call to writeModule example by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11650

    Other Changes

    • test: move rspack test cases to tests/rspack-test by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11617
    • test: fix concurrent of config cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11618
    • chore(deps): update dependency @rslib/core to v0.13.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11624
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11623
    • chore(deps): update dependency postcss-loader to ^8.2.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11604
    • chore(deps): update dependency create-rstack to v1.6.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11625
    • chore(deps): update dependency emnapi to ^1.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11626
    • chore: enable canary nightly release by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11627
    • chore: make @rspack/tests private by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11636
    • chore(ci): add fallback value for scheduled workflow run by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11641
    • chore(deps): update dependency axios to v1.12.0 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11653
    • chore(deps): update pnpm to v10.16.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11605
    • test: run webpack config test cases with rspack test tools by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11645
    • chore(ci): add rstest to ecosystem-ci by @9aoy in https://github.com/web-infra-dev/rspack/pull/11657

    New Contributors

    • @zhangyuang made their first contribution in https://github.com/web-infra-dev/rspack/pull/11597
    • @yf-yang made their first contribution in https://github.com/web-infra-dev/rspack/pull/11638

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.3...v1.5.4

    Open source β†’
  16. 1.5.39 Sept 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.3 -->

    Highlights πŸ’‘

    Advanced tree-shaking

    Rspack v1.5.3 ships advanced tree-shaking for dynamic imports via member expression analysis.

    Ongoing improvements are in progress, and upcoming releases will continue to improve static analysis to cover more syntax patterns, such as dynamic import with a subsequent .then().

    <img width="700" height="1048" alt="image" src="https://github.com/user-attachments/assets/024a8bf4-5d6d-46d8-beca-90c43530e4f7" />

    What's Changed

    Performance Improvements ⚑

    • perf: improve bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11556
    • perf: improve for each runtime by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11573
    • perf: improve exports info by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11524
    • perf: improve deterministic chunk ids by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11575
    • perf: improve get chunk modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11579
    • perf: improve create hash by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11598
    • perf: drop some big data in rayon by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11611

    New Features πŸŽ‰

    • feat(browser): support ModuleFederationPlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11558
    • feat: simplify mock logic, dynamic import based hoist by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11521
    • feat: add css field support in Experiments configuration by @ityuany in https://github.com/web-infra-dev/rspack/pull/11548
    • feat: add start time parameter to NativeWatcher by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11570
    • feat: tree shake statically analyse-able dynamic import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11457
    • feat: static analyze in operator for esm import specifier by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11613
    • feat(browser): add postprocess and ResolvedRequest to BrowserHttpImportEsmPlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11571

    Bug Fixes 🐞

    • fix: don't throw error when browserslist config is resolved from env var by @Themezv in https://github.com/web-infra-dev/rspack/pull/11528
    • fix: use stable swc lexer for correct asi by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11555
    • fix: mf hoist should record mutation by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11560
    • fix: respect to jsc.output.charset in swc loader by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11568
    • fix: BuildDependencies resolve exports_fields incorrectly by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11576
    • fix(types): correct the source map type for loaders by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11574
    • fix: only enable inline const in production by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11591
    • fix(rslib): treat module identifier as normal by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11588
    • fix: css-chunking-plugin for global css by @SyMind in https://github.com/web-infra-dev/rspack/pull/11592
    • fix: flaky css chunking test case by @SyMind in https://github.com/web-infra-dev/rspack/pull/11608
    • fix: swc wasmtime cache corruption by @quininer in https://github.com/web-infra-dev/rspack/pull/11607

    Refactor πŸ”¨

    • refactor: use for_name for cjs import parser plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11569
    • refactor: rspack error by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11500
    • refactor: Dependency remove source_map field by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11582
    • refactor: private javascript parser dependencies by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11587
    • refactor: lazy compilation stop cache create_data by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11612
    • refactor: remove wasm plugin useless code by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11615

    Document Updates πŸ“–

    • docs: add tree shaking blog to the blog list by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11561
    • docs(loader-api): add new sections for handling source maps by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11585
    • docs: fix esm syntax error by @lzxb in https://github.com/web-infra-dev/rspack/pull/11601

    Other Changes

    • chore(deps): update dependency @rsbuild/plugin-sass to ^1.4.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11564
    • chore(deps): update dependency @shikijs/transformers to ^3.12.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11566
    • chore(deps): update dependency @rspack/plugin-react-refresh to ^1.5.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11565
    • chore: use pnpm in package.json scripts by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11520
    • chore: use local package for scripts by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11572
    • chore(workflow): allow renovate to update SWC related crates by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11580
    • chore(deps): update crate swc_core to v38.0.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11586
    • chore: update Rspress to beta.31 to use JSON schemas by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11596
    • chore(deps): update dependency memfs to v4.38.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11603
    • chore(deps): update swc (major) by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11606

    New Contributors

    • @Themezv made their first contribution in https://github.com/web-infra-dev/rspack/pull/11528

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.2...v1.5.3

    Open source β†’
  17. 1.5.21 Sept 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.2 -->

    What's Changed

    Performance Improvements ⚑

    • perf: revert runtime key to string by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11522

    New Features πŸŽ‰

    • feat(wasm): add webcontainer fallback by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11526

    Bug Fixes 🐞

    • fix: enhance PathManager to handle relative paths and set base directory by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11516
    • fix: import.meta.prop with define plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11525
    • fix: incremental not update exports info when lazyBarrel enabled by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11539
    • fix: css infinite reload when module chunk enabled by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11536
    • fix: should handle import.meta.webpackHot in production by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11546
    • fix: should update initial css link with correct url by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11544
    • fix: should check http url using link.href for extract-css runtime by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11547
    • fix: extend modify event handling to include metadata changes by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11519
    • fix: should not lazy-barrel import-then-export by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11550

    Refactor πŸ”¨

    • refactor: disable incremental buildChunkGraph by default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11533
    • refactor: use real_hi for evaluation range by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11549

    Document Updates πŸ“–

    • docs(browser): add docs for response header settings and known issues by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11523

    Other Changes

    • chore(deps): update rust crate tracing-subscriber to v0.3.20 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11542

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.1...v1.5.2

    Open source β†’
  18. 1.5.128 Aug 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.1 -->

    What's Changed

    Performance Improvements ⚑

    • perf(browser): disable ProgressPlugin, RsdoctorPlugin and RstestPlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11484
    • perf: improve data structures of bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11506

    Bug Fixes 🐞

    • fix: build chunk graph when dynamic entry with depend-on chain by @SyMind in https://github.com/web-infra-dev/rspack/pull/11486
    • fix: wrong match object logic in SwcJsMinimizerRspackPlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11496
    • fix: asset info related source map can set null by @SyMind in https://github.com/web-infra-dev/rspack/pull/11497
    • fix: source map sources in node modules should convert to absolute path by @SyMind in https://github.com/web-infra-dev/rspack/pull/11501
    • fix: add tsEnumIsMutable option to SWC loader schema by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11499
    • fix: inline value with properties access by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11508
    • fix(types): allow async loader to return void by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11511
    • fix: code splitting incremental missing module to update by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11510

    Refactor πŸ”¨

    • refactor: commonjs export parser plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11488
    • refactor: use Module.needBuild to trigger lazy modules compile by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11507

    Document Updates πŸ“–

    • docs: 1.5.0 announcement blog by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11448
    • docs: update TypeScript config file guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11495
    • docs(config): update Rule.type with more details by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11503

    Other Changes

    • chore: release 1.5.0 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11485
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11489
    • chore(deps): update SWC related crates to v37.0.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11505
    • chore(deps): update dependency @playwright/test to v1.55.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11492

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.0...v1.5.1

    Open source β†’
  19. 1.5.026 Aug 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.0 --> <img width="4060" height="1050" alt="rspack-banner-v1-5" src="https://github.com/user-attachments/assets/2da71274-f227-4de6-8dc2-238eff8d76bd" />

    πŸŽ‰ See Announcing Rspack 1.5 for more details.

    What's Changed

    Breaking changes πŸ’‘

    • feat!: update minimum Node.js version to 18.12.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11338

    Performance Improvements ⚑

    • perf: align number hash algorithm with webpack by @nilptr in https://github.com/web-infra-dev/rspack/pull/10643
    • perf: improve bundle splitting part 2 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11233
    • perf: improve process runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11259
    • perf: improve process concatenated configurations by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11264
    • perf: improve try_to_add of module concatenation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11279
    • perf: improve add concatenated modules by parallelizing conneciton modifications by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11286
    • perf: parallel mangle exports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10877
    • perf: Update swc and switch to wasmtime by @quininer in https://github.com/web-infra-dev/rspack/pull/11303
    • perf: cache concatenated imports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11334
    • perf: Replace hot regex with parser by @quininer in https://github.com/web-infra-dev/rspack/pull/11341
    • perf: use new swc lexer for asi by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11357
    • perf: improve bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11364
    • perf(browser): remove tracing by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11436
    • perf(browser): set fmt_debug to none by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11439
    • perf: improve concatenated plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11434
    • perf: reuse plugin hooks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11449
    • perf: not to call module graph modules multiple times by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11455
    • perf: improve bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11465
    • perf: add fast path for get_scheme by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11475
    • perf: replace Mutex<Option<T>> with OnceLock<T> by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11480

    New Features πŸŽ‰

    • feat(cli): use SWC to do TS config transformamation by @hardfist in https://github.com/web-infra-dev/rspack/pull/11411
    • feat: add resolver JavaScript API by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11211
    • feat(wasm): support @rspack/browser by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10870
    • feat: lazy make for reexport in side effects free barrel file by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11117
    • feat: support persistent cache for lazy barrel by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11285
    • feat: rspack cli add config path to build dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11288
    • feat: expose experiments.swc in parallel loader context by @jbroma in https://github.com/web-infra-dev/rspack/pull/11300
    • feat: propagate const for inline const by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11311
    • feat: module chunk HMR by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11160
    • feat: move experiments.lazyCompilation to configuration toplevel by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11337
    • feat: add VirtualModulesPlugin by @nilptr in https://github.com/web-infra-dev/rspack/pull/11021
    • feat: lazy compilation with persistent cache by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11235
    • feat: define plugin use value dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11339
    • feat(rslib): do not hoist import externalized module to webpack modules by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11358
    • feat: port normal module replacement plugin to builtin plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11362
    • feat: support [folder] template string in localIdentName option by @mochiya98 in https://github.com/web-infra-dev/rspack/pull/11356
    • feat: provide plugin use value dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11380
    • feat: support using declaration by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11395
    • feat: should rebuild all entries if there are entry removals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11381
    • feat(rslib): intercept more APIPlugin expressions by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11418
    • feat(browser): add BrowserImportEsmPlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11431
    • feat(loader): merge identifier to loader trait by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11453
    • feat: allow external modules placed in async chunks by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11421
    • feat(browser): introduce BrowserRequirePlugin and remove nonWebpackRequire by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11470

    Bug Fixes 🐞

    • fix(types): change HotUpdateStatus from enum to union type by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11238
    • fix: JsResolverFactory should cache Resolver instance based on different options by @SyMind in https://github.com/web-infra-dev/rspack/pull/11245
    • fix: lifetime error by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11260
    • fix: avoid render weak import dependency by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11262
    • fix: buildDependencies skip resolve nodejs builtin module by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11256
    • fix: handle unwatch errors gracefully and improve native watcher integration by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11210
    • fix: get resolve in externals should return query by @SyMind in https://github.com/web-infra-dev/rspack/pull/11276
    • fix: CssGetFilenameRuntime should detect runtime requirements correctly by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11271
    • fix: update lazy compilation middleware order to apply devServer Middleware by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11157
    • fix: not changed related source-map when rename asset by @SyMind in https://github.com/web-infra-dev/rspack/pull/11293
    • fix: swc transform api output sourcemaps by @jbroma in https://github.com/web-infra-dev/rspack/pull/11299
    • fix: pass actual root context to parallel loader context by @jbroma in https://github.com/web-infra-dev/rspack/pull/11301
    • fix: missing code generation report by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11308
    • fix: split chunks min chunks config with enforce by @SyMind in https://github.com/web-infra-dev/rspack/pull/11294
    • fix: should not render export in modern-module when iife enabled by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/11317
    • fix: export the missing PathData type by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11315
    • fix: rsdoctor multi compiler data scope by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11310
    • fix: batch rename_asset with parallel optimization by @SyMind in https://github.com/web-infra-dev/rspack/pull/11325
    • fix: should synchronously bind html plugin hooks in sri plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11342
    • fix: add unknown_context_critical option for unknown require as expression by @PeterCardenas in https://github.com/web-infra-dev/rspack/pull/10329
    • fix(incremental): LimitChunkCountPlugin panic with incremental turned on by @pgoldberg in https://github.com/web-infra-dev/rspack/pull/11360
    • fix(loader): fix JS loader type detection for issue #11129 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11361
    • fix(cli): resolve port conflicts in parallel test execution by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11363
    • fix: modify lazy compilation tests by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11349
    • fix: should use specific runtime to get target url by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11372
    • fix(wasm): remove cjs loader support by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11283
    • fix: cache concatenated module imports is not safe by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11385
    • fix: add query to avoid browser cache the link by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11394
    • fix: fix identifier typo by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11403
    • fix: correct export alias for json by @inottn in https://github.com/web-infra-dev/rspack/pull/11402
    • fix: NormalModuleReplacementPlugin doesn't update path, query and fragment by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11407
    • fix(browser): fix @rspack/browser building by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11417
    • fix: bailout optimize if there are external modules in other concate scope by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11430
    • fix: native watcher fails to work correctly with persistent cache by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11420
    • fix: define plugin can rename by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11435
    • fix(ci): should check package name in pre-release check by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11438
    • fix: update node inspector import and remove workaround by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11444
    • fix: lazy compilation with only loader module by @SyMind in https://github.com/web-infra-dev/rspack/pull/11443
    • fix(create-rspack): remove ts-node from templates by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11458
    • fix: check force_build_deps target module is isolated by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11461
    • fix: update event handling to support batch processing of FsEvents by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11460
    • fix: should recompile correctly when a shared entry specified in 'dependOn' is modified during watch mode by @SyMind in https://github.com/web-infra-dev/rspack/pull/11464
    • fix(browser): rename and ignore requests with match resource and inline loaders by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11469
    • fix: unstable render dependency template by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11473
    • fix: unstable bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11474
    • fix: build chunk graph incremental logic when dynamic entry with depend on by @SyMind in https://github.com/web-infra-dev/rspack/pull/11481

    Refactor πŸ”¨

    • refactor: remove features that are not supported in stable Rust by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11243
    • refactor: move make dir by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11244
    • refactor: bench external getResolve & remove ResolveClosureContext by @SyMind in https://github.com/web-infra-dev/rspack/pull/11171
    • refactor: move builtin loader registration to plugin by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11258
    • refactor: limit exported symbols in rspack_binding_api by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11263
    • refactor: remove redundant PluginContext and async_trait from trait Plugin by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11272
    • refactor: streamline native watcher path management and API design by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11282
    • refactor: remove __rust_probestack workaround by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11326
    • refactor: move builtin virtual module plugin to experiments by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11353
    • refactor: inline const parser plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11359
    • refactor: distinguish free variable and tagged variable by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11389
    • refactor: rspack error remove useless code by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11406
    • refactor: add module pre walk by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11416
    • refactor: only collect destructuring assignment properties for specific expression by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11433
    • refactor: clean paren ast for analyzing dependencies by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11447
    • refactor: run_loaders always return loader result by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11463
    • refactor(browser): remove esm.sh default domain in BrowserHttpImportEsmPlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11482
    • refactor: use Atom for parser variable name by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11483

    Document Updates πŸ“–

    • docs: add docs for lazy barrel by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11274
    • docs: add docs for custom binding crates by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11290
    • docs(rspress): upgrade to 2.0.0-beta.25 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/11312
    • docs: add Rslint to the list of Rstack tools by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11318
    • docs: add version badges to Rstack tools table by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11321
    • docs(quick-start): update runtime installation instructions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11327
    • docs(config): output.filename link fix by @vsn4ik in https://github.com/web-infra-dev/rspack/pull/11369
    • docs: update examples and terminology by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11374
    • docs: fix typos in asset modules by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11382
    • docs: add playground to navbar by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11384
    • docs(website): restructure navigation and update sidebar config by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11386
    • docs: remove outdated Node version requirements from quick start by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11393
    • docs: update ts config guide by @hardfist in https://github.com/web-infra-dev/rspack/pull/11409
    • docs: add building and testing guide for rspack wasm by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11414
    • docs(ESM): add ESM guide by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11344
    • docs: some minor documentation updates for branding by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11459
    • docs: improve virtual-modules-plugin documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11467
    • docs: add guide for the @rspack/browser package by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11472

    Other Changes

    • chore: bump rust toolchain to 2025-07-28 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11217
    • chore: release v1.4.11 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11215
    • chore(releasing): should not publish testing crates by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11248
    • chore: add crates.io badge by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11250
    • chore: upgrade [email protected] by @hardfist in https://github.com/web-infra-dev/rspack/pull/11253
    • chore: upgrade rslint to 0.1.1 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11261
    • chore: ignore moduleFederationDefaultRuntime.js in rslint by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11269
    • chore(wasm): release @rspack/browser by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11254
    • chore: supporting linux cache compressing with zstd by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11270
    • chore: upgrade rslint to 0.1.3 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11267
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11295
    • chore(deps): update napi by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11296
    • chore: deprecated experiments.topLevelAwait config by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11284
    • chore(deps): update dependency @playwright/test to v1.54.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11298
    • chore: remove from rspack_binding_api in CODEOWNERS by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11307
    • chore: upgrade [email protected] by @hardfist in https://github.com/web-infra-dev/rspack/pull/11316
    • chore(ci): update test node matrix by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10871
    • chore(deps): update dependency prebundle to ^1.4.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11348
    • chore(deps): update dependency memfs to v4.36.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11347
    • chore(deps): update dependency typescript to ^5.9.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11323
    • chore(ci): use npm trusted publish by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11343
    • chore(deps): update dependency @module-federation/runtime-tools to v0.18.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11322
    • chore(ci): fix flaky serve test by @quininer in https://github.com/web-infra-dev/rspack/pull/11352
    • chore(ci): fix flaky serve test (take 2) by @quininer in https://github.com/web-infra-dev/rspack/pull/11355
    • chore(deps): update dependency @shikijs/transformers to ^3.9.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11367
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11365
    • chore(deps): update dependency @types/babel__traverse to v7.28.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11368
    • chore(deps): update dependency core-js to v3.45.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11370
    • chore: build http test case avoid send http request by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11375
    • chore: Use macro instead of runtime debug_assert by @quininer in https://github.com/web-infra-dev/rspack/pull/11379
    • chore: remove @rsbuild/core by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11383
    • chore: upgrade rslint to 0.1.11 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11396
    • chore(browser): fix generated types by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11388
    • chore(deps): update pnpm to v10.14.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11399
    • chore(deps): update dependency @rslib/core to v0.12.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11397
    • chore(deps): update dependency rsbuild-plugin-open-graph to v1.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11398
    • chore(deps): update lightningcss crate to 1.0.0-alpha.67 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11405
    • chore: release v1.5.0-beta.0 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11340
    • chore: bump swc_core from 35.0.0 to 36.0.0 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11419
    • chore: update swc types and docs by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11423
    • chore: release 1.5.0-beta.1 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11415
    • chore(deps): update dependency mermaid to v11.10.0 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11428
    • chore(deps): update dependency @shikijs/transformers to ^3.11.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11429
    • chore(ci): prevent prerelease published to lastest by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11424
    • test: remove legacy Node version helpers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11442
    • docs: fix various documentation errors including grammar, terminology and typos by @Copilot in https://github.com/web-infra-dev/rspack/pull/11445
    • chore: add Claude local config to gitignore by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11452
    • ci: enable parallel execution of npm and crates releases by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11450
    • revert: "fix: lazy compilation with only loader module (#11443)" by @SyMind in https://github.com/web-infra-dev/rspack/pull/11456
    • chore: release 1.5.0-rc.0 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11446
    • chore: set up Copilot instructions for Rspack repository by @Copilot in https://github.com/web-infra-dev/rspack/pull/11336
    • chore(deps): update dependency @biomejs/biome to ^2.2.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11426
    • revert: Revert "perf: improve bundle splitting" by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11468

    New Contributors

    • @PeterCardenas made their first contribution in https://github.com/web-infra-dev/rspack/pull/10329
    • @vsn4ik made their first contribution in https://github.com/web-infra-dev/rspack/pull/11369
    • @mochiya98 made their first contribution in https://github.com/web-infra-dev/rspack/pull/11356
    • @Copilot made their first contribution in https://github.com/web-infra-dev/rspack/pull/11445

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.11...v1.5.0

    Open source β†’
  20. 1.5.0-rc.021 Aug 2025pre-release
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.0-rc.0 -->

    What's Changed

    Breaking Changes πŸ› 

    • feat(cli): use SWC to do TS config transformamation by @hardfist in https://github.com/web-infra-dev/rspack/pull/11411

    Performance Improvements ⚑

    • perf(browser): remove tracing by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11436
    • perf(browser): set fmt_debug to none by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11439
    • perf: improve concatenated plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11434
    • perf: reuse plugin hooks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11449

    New Features πŸŽ‰

    • feat(rslib): intercept more APIPlugin expressions by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11418
    • feat(browser): add BrowserImportEsmPlugin by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11431

    Bug Fixes 🐞

    • fix: NormalModuleReplacementPlugin doesn't update path, query and fragment by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11407
    • fix(browser): fix @rspack/browser building by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11417
    • fix: bailout optimize if there are external modules in other concate scope by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11430
    • fix: native watcher fails to work correctly with persistent cache by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11420
    • fix: define plugin can rename by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11435
    • fix(ci): should check package name in pre-release check by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11438
    • fix: update node inspector import and remove workaround by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11444
    • fix: lazy compilation with only loader module by @SyMind in https://github.com/web-infra-dev/rspack/pull/11443

    Refactor πŸ”¨

    • refactor: add module pre walk by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11416
    • refactor: only collect destructuring assignment properties for specific expression by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11433
    • refactor: clean paren ast for analyzing dependencies by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11447

    Document Updates πŸ“–

    • docs: add building and testing guide for rspack wasm by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11414
    • docs(ESM): add ESM guide by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11344

    Other Changes

    • chore: bump swc_core from 35.0.0 to 36.0.0 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11419
    • chore: update swc types and docs by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11423
    • chore: release 1.5.0-beta.1 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11415
    • chore(deps): update dependency mermaid to v11.10.0 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11428
    • chore(deps): update dependency @shikijs/transformers to ^3.11.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11429
    • chore(ci): prevent prerelease published to lastest by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11424
    • test: remove legacy Node version helpers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11442
    • docs: fix various documentation errors including grammar, terminology and typos by @Copilot in https://github.com/web-infra-dev/rspack/pull/11445
    • chore: add Claude local config to gitignore by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11452
    • ci: enable parallel execution of npm and crates releases by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11450

    New Contributors

    • @Copilot made their first contribution in https://github.com/web-infra-dev/rspack/pull/11445

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.0-beta.1...v1.5.0-rc.0

    Open source β†’
  21. 1.5.0-beta.119 Aug 2025pre-release
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.0-beta.1 -->

    Highlights πŸ’‘

    Explicit Resource Management

    Rspack now supports the "using" declaration.

    This enables the explicit resource management feature in ECMAScript, making resource cleanup more straightforward ✨

    <img width="512" height="2048" alt="image" src="https://github.com/user-attachments/assets/c4643270-63f8-43d3-88e2-aa31176ff13f" />

    Learn more: using - MDN

    What's Changed

    Performance Improvements ⚑

    • perf: Replace hot regex with parser by @quininer in https://github.com/web-infra-dev/rspack/pull/11341
    • perf: use new swc lexer for asi by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11357
    • perf: improve bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11364

    New Features πŸŽ‰

    • feat: lazy compilation with persistent cache by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11235
    • feat: define plugin use value dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11339
    • feat(rslib): do not hoist import externalized module to webpack modules by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11358
    • feat: port normal module replacement plugin to builtin plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11362
    • feat: support [folder] template string in localIdentName option by @mochiya98 in https://github.com/web-infra-dev/rspack/pull/11356
    • feat: provide plugin use value dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11380
    • feat: support using declaration by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11395
    • feat: should rebuild all entries if there are entry removals by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11381

    Bug Fixes 🐞

    • fix: add unknown_context_critical option for unknown require as expression by @PeterCardenas in https://github.com/web-infra-dev/rspack/pull/10329
    • fix(incremental): LimitChunkCountPlugin panic with incremental turned on by @pgoldberg in https://github.com/web-infra-dev/rspack/pull/11360
    • fix(loader): fix JS loader type detection for issue #11129 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11361
    • fix(cli): resolve port conflicts in parallel test execution by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11363
    • fix: modify lazy compilation tests by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11349
    • fix: should use specific runtime to get target url by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11372
    • fix(wasm): remove cjs loader support by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11283
    • fix: cache concatenated module imports is not safe by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11385
    • fix: add query to avoid browser cache the link by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11394
    • fix: fix identifier typo by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11403
    • fix: correct export alias for json by @inottn in https://github.com/web-infra-dev/rspack/pull/11402

    Refactor πŸ”¨

    • refactor: move builtin virtual module plugin to experiments by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11353
    • refactor: inline const parser plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11359
    • refactor: distinguish free variable and tagged variable by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11389
    • refactor: rspack error remove useless code by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11406

    Document Updates πŸ“–

    • docs(config): output.filename link fix by @vsn4ik in https://github.com/web-infra-dev/rspack/pull/11369
    • docs: update examples and terminology by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11374
    • docs: fix typos in asset modules by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11382
    • docs: add playground to navbar by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11384
    • docs(website): restructure navigation and update sidebar config by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11386
    • docs: remove outdated Node version requirements from quick start by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11393
    • docs: update ts config guide by @hardfist in https://github.com/web-infra-dev/rspack/pull/11409

    Other Changes

    • chore(deps): update dependency @module-federation/runtime-tools to v0.18.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11322
    • chore(ci): fix flaky serve test by @quininer in https://github.com/web-infra-dev/rspack/pull/11352
    • chore(ci): fix flaky serve test (take 2) by @quininer in https://github.com/web-infra-dev/rspack/pull/11355
    • chore(deps): update dependency @shikijs/transformers to ^3.9.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11367
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11365
    • chore(deps): update dependency @types/babel__traverse to v7.28.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11368
    • chore(deps): update dependency core-js to v3.45.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11370
    • chore: build http test case avoid send http request by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11375
    • chore: Use macro instead of runtime debug_assert by @quininer in https://github.com/web-infra-dev/rspack/pull/11379
    • chore: remove @rsbuild/core by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11383
    • chore: upgrade rslint to 0.1.11 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11396
    • chore(browser): fix generated types by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11388
    • chore(deps): update pnpm to v10.14.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11399
    • chore(deps): update dependency @rslib/core to v0.12.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11397
    • chore(deps): update dependency rsbuild-plugin-open-graph to v1.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11398
    • chore(deps): update lightningcss crate to 1.0.0-alpha.67 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11405

    New Contributors

    • @PeterCardenas made their first contribution in https://github.com/web-infra-dev/rspack/pull/10329
    • @vsn4ik made their first contribution in https://github.com/web-infra-dev/rspack/pull/11369
    • @mochiya98 made their first contribution in https://github.com/web-infra-dev/rspack/pull/11356

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.5.0-beta.0...v1.5.0-beta.1

    Open source β†’
  22. 1.5.0-beta.011 Aug 2025pre-release
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.5.0-beta.0 -->

    Highlights

    Here's a sneak peek at the exciting new features coming in Rspack 1.5.0.

    Module Federation Module Hoisting

    https://github.com/web-infra-dev/rspack/pull/10524

    This update introduces a runtime module that initializes federation during Rspack's runtime phaseβ€”similar to Webpack v1's Module Federation. The federation runtime is hoisted into runtime chunks, bypassing normal code-splitting rules, so it's eagerly available at startup.

    Impact: In multi-entry applications using Module Federation, this can reduce bundle size by ~60%.

    More details: https://gist.github.com/ScriptedAlchemy/a71ccbdfb933e8a4cd0131801a2c26b5#file-hoisted-runtime-internal-md

    Rspack's Built-in Watcher

    https://github.com/web-infra-dev/rspack/pull/10658

    We've implemented a Rust-based file system watcher to improve performance in large-scale file change scenarios. Moving file watching into Rust also cuts down on overhead across the NAPI boundary.

    Custom Native Binding

    https://github.com/web-infra-dev/rspack/pull/10857

    Want to build high-performance plugins for Rspack? This feature makes it easier. If writing a Rust plugin feels daunting, check out The Rspack Bookβ€”the first section covers customizing a Rspack binding step-by-step.

    πŸŽ‰ @rspack/browser

    https://github.com/web-infra-dev/rspack/pull/10870

    Yes, you can now run Rspack directly in the browser! We've even built a web REPL so you can try it instantly: repl.rspack.rs πŸš€

    Built-in Virtual Module Plugin

    https://github.com/web-infra-dev/rspack/pull/11021

    Thanks to @nilptr's contribution, Rspack now includes a built-in Virtual Modules plugin. If you work with a large number of virtual modules, this plugin helps Rspack maintain top performance even at scale.

    Drop support for Node 16

    https://github.com/web-infra-dev/rspack/pull/11338

    @rspack/core v1.5 will no longer support Node 16, as Node.js reached end-of-life on September 11th, 2023. Many npm packages in the ecosystem have also dropped support for Node 16 (such as webpack-dev-server, css-loader, sass-loader, etc.), making it increasingly difficult to maintain compatibility.

    Package v1.4 v1.5
    @rspack/core >=16.0.0 >=18.12.0
    @rspack/cli >=18.12.0 >=18.12.0
    @rspack/dev-server >=18.12.0 >=18.12.0
    @rsbuild/core >=16.10.0 >=18.12.0

    Miscellaneous Updates

    • Stabilized LazyCompilation featureβ€”experiments.lazyCompilation is now available at the top level of Rspack's config.
    • Deprecating experiments.topLevelAwaitβ€”setting it to false will now show a deprecation warning. This feature will be enabled by default and the config option removed in the next major release.

    What's Changed

    Performance Improvements ⚑

    • perf: align number hash algorithm with webpack by @nilptr in https://github.com/web-infra-dev/rspack/pull/10643
    • perf: improve bundle splitting part 2 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11233
    • perf: improve process runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11259
    • perf: improve process concatenated configurations by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11264
    • perf: improve try_to_add of module concatenation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11279
    • perf: improve add concatenated modules by parallelizing conneciton modifications by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11286
    • perf: parallel mangle exports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10877
    • perf: Update swc and switch to wasmtime by @quininer in https://github.com/web-infra-dev/rspack/pull/11303
    • perf: cache concatenated imports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11334

    New Features πŸŽ‰

    • feat: add resolver JavaScript API by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11211
    • feat(wasm): support @rspack/browser by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10870
    • feat: lazy make for reexport in side effects free barrel file by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11117
    • feat: support persistent cache for lazy barrel by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11285
    • feat: rspack cli add config path to build dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11288
    • feat: expose experiments.swc in parallel loader context by @jbroma in https://github.com/web-infra-dev/rspack/pull/11300
    • feat: propagate const for inline const by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11311
    • feat!: update minimum Node.js version to 18.12.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11338
    • feat: module chunk HMR by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11160
    • feat: move experiments.lazyCompilation to configuration toplevel by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11337
    • feat: add VirtualModulesPlugin by @nilptr in https://github.com/web-infra-dev/rspack/pull/11021

    Bug Fixes 🐞

    • fix(types): change HotUpdateStatus from enum to union type by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11238
    • fix: JsResolverFactory should cache Resolver instance based on different options by @SyMind in https://github.com/web-infra-dev/rspack/pull/11245
    • fix: lifetime error by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11260
    • fix: avoid render weak import dependency by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11262
    • fix: buildDependencies skip resolve nodejs builtin module by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11256
    • fix: handle unwatch errors gracefully and improve native watcher integration by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11210
    • fix: get resolve in externals should return query by @SyMind in https://github.com/web-infra-dev/rspack/pull/11276
    • fix: CssGetFilenameRuntime should detect runtime requirements correctly by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11271
    • fix: update lazy compilation middleware order to apply devServer Middleware by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11157
    • fix: not changed related source-map when rename asset by @SyMind in https://github.com/web-infra-dev/rspack/pull/11293
    • fix: swc transform api output sourcemaps by @jbroma in https://github.com/web-infra-dev/rspack/pull/11299
    • fix: pass actual root context to parallel loader context by @jbroma in https://github.com/web-infra-dev/rspack/pull/11301
    • fix: missing code generation report by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11308
    • fix: split chunks min chunks config with enforce by @SyMind in https://github.com/web-infra-dev/rspack/pull/11294
    • fix: should not render export in modern-module when iife enabled by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/11317
    • fix: export the missing PathData type by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11315
    • fix: rsdoctor multi compiler data scope by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11310
    • fix: batch rename_asset with parallel optimization by @SyMind in https://github.com/web-infra-dev/rspack/pull/11325
    • fix: should synchronously bind html plugin hooks in sri plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11342

    Refactor πŸ”¨

    • refactor: remove features that are not supported in stable Rust by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11243
    • refactor: move make dir by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11244
    • refactor: bench external getResolve & remove ResolveClosureContext by @SyMind in https://github.com/web-infra-dev/rspack/pull/11171
    • refactor: move builtin loader registration to plugin by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11258
    • refactor: limit exported symbols in rspack_binding_api by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11263
    • refactor: remove redundant PluginContext and async_trait from trait Plugin by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11272
    • refactor: streamline native watcher path management and API design by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11282
    • refactor: remove __rust_probestack workaround by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11326

    Document Updates πŸ“–

    • docs: add docs for lazy barrel by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11274
    • docs: add docs for custom binding crates by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11290
    • docs(rspress): upgrade to 2.0.0-beta.25 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/11312
    • docs: add Rslint to the list of Rstack tools by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11318
    • docs: add version badges to Rstack tools table by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11321
    • docs(quick-start): update runtime installation instructions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11327

    Other Changes

    • chore: bump rust toolchain to 2025-07-28 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11217
    • chore: release v1.4.11 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11215
    • chore(releasing): should not publish testing crates by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11248
    • chore: add crates.io badge by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11250
    • chore: upgrade [email protected] by @hardfist in https://github.com/web-infra-dev/rspack/pull/11253
    • chore: upgrade rslint to 0.1.1 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11261
    • chore: ignore moduleFederationDefaultRuntime.js in rslint by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11269
    • chore(wasm): release @rspack/browser by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11254
    • chore: supporting linux cache compressing with zstd by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11270
    • chore: upgrade rslint to 0.1.3 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11267
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11295
    • chore(deps): update napi by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11296
    • chore: deprecated experiments.topLevelAwait config by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11284
    • chore(deps): update dependency @playwright/test to v1.54.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11298
    • chore: remove from rspack_binding_api in CODEOWNERS by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11307
    • chore: upgrade [email protected] by @hardfist in https://github.com/web-infra-dev/rspack/pull/11316
    • chore(ci): update test node matrix by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10871
    • chore(deps): update dependency prebundle to ^1.4.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11348
    • chore(deps): update dependency memfs to v4.36.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11347
    • chore(deps): update dependency typescript to ^5.9.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11323
    • chore(ci): use npm trusted publish by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11343

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.11...v1.5.0-beta.0

    Open source β†’
  23. 1.4.1131 Jul 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.11 -->

    What's Changed

    Performance Improvements ⚑

    • perf: parallelize analyze module graph by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11153
    • perf: enhance native watcher with customizable ignore patterns by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11140
    • perf: improve ensure min size fit by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11181
    • perf: improve prepare group by used exports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11180
    • perf: improve calculate relation of code splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11159
    • perf: replace rwlock with atomic_refcell by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11177
    • perf: improve calculate order index of code splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11195
    • perf: improve code splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11179
    • perf: improve process chunk groups for merging by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11199
    • perf: improve merge duplicate chunks plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11197
    • perf: improve code splitting part 2 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11214
    • perf: prepare module sizes for bundle splitting by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11219

    New Features πŸŽ‰

    • feat: support moduleLayer for css-extract by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11193
    • feat: build dependencies recursively collect dependencies by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11182
    • feat: use zstd to cache compress by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11176
    • feat: implement Default trait for ExtendedStatsOptions struct by @ityuany in https://github.com/web-infra-dev/rspack/pull/11022
    • feat(binding-builder): use full path to napi bindgen preludes by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11212
    • feat: rsdoctor native plugin calls the sourcemap plugin by @easy1090 in https://github.com/web-infra-dev/rspack/pull/11192
    • feat: preserve all comments if user use externalize dynamic import by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11218

    Bug Fixes 🐞

    • fix: should not enable exportedEnum by default by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11169
    • fix: correct cache option in tests by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11163
    • fix(code-splitting): should add incoming blocks for async entrypoint by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11173
    • fix(types): multi compiler can accept multiple watch options by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11174
    • fix: persistent cache lose module build error by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11178
    • fix: should return resource instead of path in resolve by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11194
    • fix: should return resource in resolver.resolveSync by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11203
    • fix(pnp): add yarn pnp support to read_dir by @elbywan in https://github.com/web-infra-dev/rspack/pull/11124
    • fix: fix_issuers not clean cycled modules children by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11204
    • fix: sri plugin should process async chunk in async entrypoints by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11207
    • fix!: should abort the compilation when throwing error in make hook by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11213
    • fix: do not use user_request to match external module by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11229
    • fix: don't test JAVASCRIPT_ASSET_REGEXP if test is provided by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11231
    • fix: should invalidate if there is new entry modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11234

    Refactor πŸ”¨

    • refactor: disable parallel code splitting by default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11067
    • refactor(webpack-test): use webpack runner for hot test cases by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11158

    Document Updates πŸ“–

    • docs: improve resolve.conditionNames documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11216

    Other Changes

    • chore: release v1.4.10 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11156
    • revert: perf: napi communication (#11132) by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11162
    • chore: check lint warning in ci by @hardfist in https://github.com/web-infra-dev/rspack/pull/11167
    • chore(deps): update Rspress to v2.0.0-beta.22 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11165
    • revert: "revert: perf: napi communication (#11132) (#11162)" by @SyMind in https://github.com/web-infra-dev/rspack/pull/11166
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11136
    • chore: upgrade rspack_resolver to 0.6.1 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/11175
    • chore: use rslint to do typed linting by @hardfist in https://github.com/web-infra-dev/rspack/pull/11146
    • chore(deps): update dependency zx to v8.7.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11188
    • chore(deps): update dependency @swc/plugin-remove-console to v9 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11189
    • chore(deps): update dependency memfs to v4.20.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11187
    • chore: upgrade rslint to 0.0.9 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11190
    • chore: ignore rustc ice reports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11200
    • chore: update binding js by @quanquan2100 in https://github.com/web-infra-dev/rspack/pull/11206
    • chore(deps): update github-actions by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11223
    • chore(deps): update dependency @biomejs/biome to ^2.1.3 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11222
    • chore: upgrade rslint to v0.0.15 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11196
    • chore(deps): update dependency @rslib/core to v0.11.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11186
    • test: optimize the test for the rsdoctorPlugin's sourcemap tool by @easy1090 in https://github.com/web-infra-dev/rspack/pull/11227

    New Contributors

    • @elbywan made their first contribution in https://github.com/web-infra-dev/rspack/pull/11124
    • @quanquan2100 made their first contribution in https://github.com/web-infra-dev/rspack/pull/11206

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.10...v1.4.11

    Open source β†’
  24. 1.4.1024 Jul 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.10 -->

    Highlights πŸ’‘

    • ✨ 30% smaller Wasm bundle (38.9MB β†’ 27.2MB)
    • ⚑ 4x faster tree shaking analysis in large projects

    <img width="500" src="https://github.com/user-attachments/assets/44246c4b-017b-44ba-b241-3bf4741ea1fd" />

    What's Changed

    Performance Improvements ⚑

    • perf: parallelize flag usage plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11128
    • perf: parallel process exports spec by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11110
    • perf: parallel process referenced module of flag usage plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11145
    • perf(wasm): use wasm-opt after building wasm by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11141
    • perf: napi communication by @SyMind in https://github.com/web-infra-dev/rspack/pull/11132

    Bug Fixes 🐞

    • fix: add missing runtime globals in RUNTIME_GLOBAL_MAP by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11127
    • fix(parser): do not skip parsing expression inside require.resolve by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11133
    • fix: external resolve esm module by @SyMind in https://github.com/web-infra-dev/rspack/pull/11144
    • fix(mf): should disconnect chunk for removed chunk by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11154

    Other Changes

    • chore: degrade napi-build to 2.2.2 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11130
    • chore(deps): update dependency @ast-grep/napi to ^0.39.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11137
    • chore(deps): update napi by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11135
    • chore(wasm): use release-wasi profile by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11131
    • chore(deps): update dependency axios to v1.11.0 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11150

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.9...v1.4.10

    Open source β†’
  25. 1.4.922 Jul 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.9 -->

    Highlights πŸ’‘

    Reduced install size ⚑️

    In Rspack v1.4.9, we focused on optimizing our Rust dependencies and build flags. This effort has resulted in significant reductions to Rspack's install size across all platforms. We continue to work on further size optimizations and expect additional improvements in future releases.

    Platform Rspack 1.4.8 Rspack 1.4.9 Diff
    @rspack/binding-linux-x64-gnu 59.4MB 51.3MB 8.1MB
    @rspack/binding-darwin-arm64 46.1MB 43.2MB 2.9MB
    @rspack/binding-win32-x64-msvc 51.4MB 48.5MB 2.9MB

    What's Changed

    Performance Improvements ⚑

    • perf(wasm): set lto=fat and cgu=1 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11071
    • perf: use fxhash for HashMap in napi by @SyMind in https://github.com/web-infra-dev/rspack/pull/11080
    • perf: Use build-std for release by @quininer in https://github.com/web-infra-dev/rspack/pull/11077
    • perf: dedupe derive_more by @hardfist in https://github.com/web-infra-dev/rspack/pull/11092
    • perf(wasm): use build-std for release-wasi by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11091
    • perf: napi resolve request by @SyMind in https://github.com/web-infra-dev/rspack/pull/11102
    • perf: get resolve in external plugin by @SyMind in https://github.com/web-infra-dev/rspack/pull/11111
    • perf: parallel set sync modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11113

    New Features πŸŽ‰

    • feat: upgrade swc to 33.0.0 by @hardfist in https://github.com/web-infra-dev/rspack/pull/11089
    • feat(plugin_mf): Module Hoisting, Entry initialization via webpack_require.x, Custom Hooks by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/10524
    • feat: support SwcJsMinimizerRspackPlugin specifying ECMAScript version by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11109
    • feat(rstest): strip import_call as first arg in mock function by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11099
    • feat: rspack_storage support reset by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11119

    Bug Fixes 🐞

    • fix: support compilation.errors.push string by @SyMind in https://github.com/web-infra-dev/rspack/pull/11047
    • fix: remove last builtin:swc-loader warning for collecting ts info by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11079
    • fix: use parse meta to collect ts info by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11083
    • fix: should update initial chunk style by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11096
    • fix: snapshot not work for renamed files by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11078
    • fix: works with async mock factory by @fi3ework in https://github.com/web-infra-dev/rspack/pull/11050
    • fix: change request at before resolve for mf by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11098
    • fix: should match resource instead of identifier by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11086
    • fix: should allow externalHelpers: false by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11108
    • fix: emit error for esm duplicate export by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11112
    • fix: temporarily ignore NativeWatcher tests in CI due to instability by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11122

    Refactor πŸ”¨

    • refactor: use import default by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11066
    • refactor: reexport napi binding types by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11095
    • refactor: remove cache from compilation and use mutable self in cache trait by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11120

    Document Updates πŸ“–

    • docs: improve webpackIgnore for dynamic imports and URL syntax by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11054
    • docs: add workflow guide for publishing rust crates by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11069

    Other Changes

    • chore(deps): update dependency @ast-grep/napi to ^0.38.7 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11064
    • chore(deps): update dependency @module-federation/runtime-tools to v0.17.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11065
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11060
    • ci(paths-filter): add predicate-quantifier "every" by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11070
    • chore: setup rpath for sftrace by @quininer in https://github.com/web-infra-dev/rspack/pull/11094
    • chore(deps): update dependency @biomejs/biome to ^2.1.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11097
    • chore(deps): update dependency core-js to v3.44.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11103
    • chore(deps): update dependency mermaid to ^11.9.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11105
    • chore(deps): update dependency less to v4.4.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11104
    • test: assert bench error by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11106
    • chore(linker): remove flag --warn-unresolved-symbols by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11115
    • chore: cleanup enter call for js parser by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11114
    • test: enable tests for native watcher by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11076
    • chore(wasm): bump @napi-rs/cli and @napi-rs/wasm-runtime by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11118
    • chore: no need to add code owner for test cases folder by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11121
    • chore(deps): update napi by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/10865

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.8...v1.4.9

    Open source β†’
  26. 1.4.815 Jul 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.8 -->

    What's Changed

    Performance Improvements ⚑

    • perf: Use release_max_level_info for tracing by @quininer in https://github.com/web-infra-dev/rspack/pull/11027

    Bug Fixes 🐞

    • fix: css-extract should calculate content_hash based on diagnostics as well by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/11046
    • fix: non-parallel code splitting incremental recover from error by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/11034
    • fix: chunk_graph_module maybe undefined while compiling by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/11030
    • fix: fix not printing backtrace when panic by @hardfist in https://github.com/web-infra-dev/rspack/pull/11042
    • fix: fix regex support for regex with flags by @hardfist in https://github.com/web-infra-dev/rspack/pull/11052

    Other Changes

    • chore(infra): update Biome to v2 and fix all lint issues by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11028
    • chore: remove pnpm patch for rollup-plugin-dts by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11033
    • chore: resolve Renovate configuration error in packageRules by @Perfecto23 in https://github.com/web-infra-dev/rspack/pull/11032

    New Contributors

    • @Perfecto23 made their first contribution in https://github.com/web-infra-dev/rspack/pull/11032

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.7...v1.4.8

    Open source β†’
  27. 1.4.715 Jul 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.7 -->

    Highlights

    πŸš€ Rustify Watcher

    Rspack implements a Native Watcher solution rather than using the watchpack npm package for file system observation. This architecture allows for incremental watcher system creation with every rebuild cycle.

    See experiments.nativeWatcher for more details.

    What's Changed

    Performance Improvements ⚑

    • perf: napi source map serialize and deserialize by @SyMind in https://github.com/web-infra-dev/rspack/pull/10989
    • perf: avoid duplicate calculations in executor task by @hardfist in https://github.com/web-infra-dev/rspack/pull/11020

    New Features πŸŽ‰

    • feat: support rspack native fs watcher by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10658

    Bug Fixes 🐞

    • fix: add more info for collect ts info warning by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10983
    • fix: persistent cache dynamic entry contain isolated module by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10985
    • fix: do not test version in canary builds by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10991
    • fix: compat non ascii for progress plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10992
    • fix: update swc to 31.1.0 by @n0th1ng-else in https://github.com/web-infra-dev/rspack/pull/10986
    • fix: tree-shaking unused RawModule by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10954
    • fix: factorize hooks avoid update dependency request by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10999
    • fix: the --devtool CLI flag not work as expected by @Meet-student in https://github.com/web-infra-dev/rspack/pull/10880
    • fix: use regress to parse regex syntax by @hardfist in https://github.com/web-infra-dev/rspack/pull/11013
    • fix(rstest): bugs by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10844
    • fix: should not generate SRI for empty mf chunks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/11029

    Refactor πŸ”¨

    • refactor: avoid exposing Ref and RefMut of DashMap by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10982

    Document Updates πŸ“–

    • docs: improve splitChunks.chunks and update glossary by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10990
    • docs: add open in stacklitz button in README by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11010

    Other Changes

    • chore: add default-feaults=false check by @hardfist in https://github.com/web-infra-dev/rspack/pull/10984
    • chore(ci): size-limit ignore comment error by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10995
    • chore(ci): support ecosystem-ci use different npm in different repo by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10962
    • chore: include crate version bump in x version command by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10994
    • revert: "perf: napi source map serialize and deserialize (#10989)" by @SyMind in https://github.com/web-infra-dev/rspack/pull/11002
    • chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/10702
    • chore(deps): update dependency @module-federation/runtime-tools to v0.16.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/11007
    • chore: support separated cargo check for crate publishing by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11001
    • ci: skip rewrite-factorize-request by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11014
    • ci: fix rewrite-factorize-request test case by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/11016
    • chore: bump crate versions in non-debug non-snapshot releases only by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11017
    • chore: add cargo codegen to pnpm x version script by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/11018
    • chore: renovate update lock for cargo by @quininer in https://github.com/web-infra-dev/rspack/pull/11015

    New Contributors

    • @Meet-student made their first contribution in https://github.com/web-infra-dev/rspack/pull/10880

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.6...v1.4.7

    Open source β†’
  28. 1.4.7-alpha.114 Jul 2025pre-release

    Nothing published for this version

  29. 1.4.7-alpha.011 Jul 2025pre-release

    Nothing published for this version

  30. 1.4.610 Jul 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.6 -->

    What's Changed

    Performance Improvements ⚑

    • perf: get mode cache in flag usage plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10952

    New Features πŸŽ‰

    • feat(binding-builder): export workspace version by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10966
    • feat: replace std::fs and tokio::fs with inputFileSystem and outputFileSystem by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10960

    Bug Fixes 🐞

    • fix(wasm): abort main thread when any worker is aborted by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10937
    • fix(binding-builder): pre-generate workspace info by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10948
    • fix: multiRspackOptions should apply extends configuration by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10959
    • fix: improve error message in paralelLoader by @hardfist in https://github.com/web-infra-dev/rspack/pull/10961
    • fix: destructuring assignment a call expr by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10968
    • fix: ensure reexport is backtracked for provided exports by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10977
    • fix: getModuleChunksIterable was mistakenly deleted by @SyMind in https://github.com/web-infra-dev/rspack/pull/10976

    Refactor πŸ”¨

    • refactor: enfored shared dependency by @hardfist in https://github.com/web-infra-dev/rspack/pull/10947
    • refactor: move chunk_artifacts occasion to artifact by @hardfist in https://github.com/web-infra-dev/rspack/pull/10953
    • refactor: use symbol defined in binding_api to ensure the version consistency by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10969
    • refactor: move all schemas to a unified folder and fix zod bundle size by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10973
    • refactor: move existing tasks to cargo-xtask by @hardfist in https://github.com/web-infra-dev/rspack/pull/10974

    Document Updates πŸ“–

    • docs: use rspack.rs as the homepage by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10957

    Other Changes

    • chore: check workspace duplicate version by @hardfist in https://github.com/web-infra-dev/rspack/pull/10945
    • chore(build): convert build scripts into Rslib plugins by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10946
    • chore: release crates v0.2.1-alpha.0 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10911
    • chore: release v1.4.5 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10944
    • chore: release crates v0.2.1-alpha.1 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10949
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/10955
    • chore(deps): update babel to ^7.28.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10956
    • chore(deps): update dependency webpack-sources to v3.3.3 by @renovate in https://github.com/web-infra-dev/rspack/pull/10751
    • revert: port public path of module chunk loading from webpack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10958
    • chore: disable default features by default by @hardfist in https://github.com/web-infra-dev/rspack/pull/10965
    • chore: rename tasks to xtask by @hardfist in https://github.com/web-infra-dev/rspack/pull/10972
    • chore: Use symbol mangling v0 by @quininer in https://github.com/web-infra-dev/rspack/pull/10979

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.5...v1.4.6

    Open source β†’
  31. 1.4.58 Jul 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.5 -->

    What's Changed

    Performance Improvements ⚑

    • perf: revert parallelize flag usage plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10941
    • perf: improve remove_available_modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10832

    New Features πŸŽ‰

    • feat: pass WebpackError to ignoreWarnings by @SyMind in https://github.com/web-infra-dev/rspack/pull/10890
    • feat: report module file and loc for dependency diagnostic by @SyMind in https://github.com/web-infra-dev/rspack/pull/10924

    Bug Fixes 🐞

    • fix: real content hash replace with slash by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10923
    • fix: handle zod type error when skipLibCheck is false by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10927
    • fix: clear compiled modules from active modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10914
    • fix: remove incorrect expect by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10930
    • fix: type error with the pre-bundled watchpack package by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10933
    • fix: js api module readable identifier by @SyMind in https://github.com/web-infra-dev/rspack/pull/10929
    • fix: update swc to 31.0.1 by @hardfist in https://github.com/web-infra-dev/rspack/pull/10938
    • fix: avoid unnecessary full hash runtime for css extract by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10936

    Other Changes

    • chore: release v1.4.4 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10917
    • chore(workflow): skip ecosystem CI and benchmark in forked repos by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10921
    • chore(workflow): update code owners by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10922
    • chore: enable plugin feature for RA by @hardfist in https://github.com/web-infra-dev/rspack/pull/10926
    • chore(ci): add size threadhold by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10934
    • chore(ci): config testing fail-fast to false by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10869
    • chore: disable wildcard version by @hardfist in https://github.com/web-infra-dev/rspack/pull/10939
    • chore(ci): CI.yml failed due to size-limit skipped by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10940

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.4...v1.4.5

    Open source β†’
  32. 1.4.45 Jul 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.4 -->

    What's Changed

    Performance Improvements ⚑

    • perf: improve parallelism of real content hash plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10888
    • perf: parallelize getting full module names in the deterministic module ids plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10906
    • perf: cache ordered modules ids while sorting chunks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10908
    • perf: parallelize getting source sizes in size limit plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10910
    • perf: parallelize processing chunk hashes by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10912

    Bug Fixes 🐞

    • fix: use AhoCorasick for real content hash by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10907
    • fix(deps): update swc to 30.1.2 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10916

    Document Updates πŸ“–

    • docs: upgrade Rspress-2.0.0-beta.19 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/10913

    Other Changes

    • chore: add release crates workflow by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10903

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.3...v1.4.4

    Open source β†’
  33. 1.4.34 Jul 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.3 -->

    What's Changed

    Performance Improvements ⚑

    • perf: use dashmap to reduce lock contention by @hardfist in https://github.com/web-infra-dev/rspack/pull/10878
    • perf: remove visitor feature of lightningcss by @hardfist in https://github.com/web-infra-dev/rspack/pull/10884
    • perf: chunk js api by @SyMind in https://github.com/web-infra-dev/rspack/pull/10502
    • perf: parallel create map assets by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10894

    New Features πŸŽ‰

    • feat(binding-builder): support using custom binding by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10857
    • feat: set module.ptr to None when cleanup the module by @SyMind in https://github.com/web-infra-dev/rspack/pull/10860
    • feat: support base64 hash digest for css local ident name by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10897
    • feat: render css runtime module with dojang by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10896
    • feat(wasm): align panic handler with native by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10901

    Bug Fixes 🐞

    • fix(tracing): disable emit tracing event when call cleanup by @hardfist in https://github.com/web-infra-dev/rspack/pull/10859
    • fix: should union available modules when depend on multiple entry by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10342
    • fix: try fix node.js 16 crash by @hardfist in https://github.com/web-infra-dev/rspack/pull/10861
    • fix(core): improve ignorePlugin error report by @hardfist in https://github.com/web-infra-dev/rspack/pull/10868
    • fix: rspack error communicate between js and rust by @SyMind in https://github.com/web-infra-dev/rspack/pull/10595
    • fix: port public path of module chunk loading from webpack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10425
    • fix: always rebuild error module by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10873
    • fix: add error handling for invalid browserslist configuration by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10891
    • fix(wasm): use parking_lot nightly to avoid panic in tests by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10892
    • fix: upgrade swc_core to 30.0.2 by @hardfist in https://github.com/web-infra-dev/rspack/pull/10895
    • fix: break cycle for type reexports check by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10902
    • fix: allow the module property of WebpackError to be null by @SyMind in https://github.com/web-infra-dev/rspack/pull/10905

    Refactor πŸ”¨

    • refactor: remove export info map on module graph by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10849
    • refactor: use length as id instead of module id for lazy compilation by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10855
    • refactor: remove js stats warning by @SyMind in https://github.com/web-infra-dev/rspack/pull/10900

    Other Changes

    • chore(ci): skip cross-env in webpack-test script by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10842
    • chore: temporary remove tracing js api test by @hardfist in https://github.com/web-infra-dev/rspack/pull/10858
    • chore: release 1.4.2 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10850
    • chore(deps): update dependency zx to v8.6.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/10866
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/10863
    • chore(deps): update dependency @playwright/test to v1.53.2 by @renovate in https://github.com/web-infra-dev/rspack/pull/10864
    • chore: CI enable binary size limit by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10875
    • chore: Update browserslist-rs to 0.19 by @quininer in https://github.com/web-infra-dev/rspack/pull/10872
    • chore: prepare for releasing crates by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10879
    • chore: add debug_tool feature to improve debug dx by @hardfist in https://github.com/web-infra-dev/rspack/pull/10899
    • chore: pretty return type error by @SyMind in https://github.com/web-infra-dev/rspack/pull/10886

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.2...v1.4.3

    Open source β†’
  34. 1.4.21 Jul 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.2 -->

    What's Changed

    Performance Improvements ⚑

    • perf: improve flag exports plugin and flag usage plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10712
    • perf: pre-allocate codegen buffer by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10755
    • perf: parallel drop AST of concated module infos by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10820
    • perf: parallel get chunk full name in deterministic ids plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10821

    New Features πŸŽ‰

    • feat(create-rspack): update README to include resources by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10824
    • feat(tracing): add tracing bench preset for benchmark by @hardfist in https://github.com/web-infra-dev/rspack/pull/10831

    Bug Fixes 🐞

    • fix(tracing): remove process_chunk_hash from main phase by @hardfist in https://github.com/web-infra-dev/rspack/pull/10825
    • fix: skip non-resource link tags in SRI plugin by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10829
    • fix: lint error when any package.json modified by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10846
    • fix: fix_issuer mgm not found panic by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10845
    • fix(tracing): support call register & cleanup multi times by @hardfist in https://github.com/web-infra-dev/rspack/pull/10851
    • fix: fix_issuer compatibility with incomplete module graph by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10852

    Refactor πŸ”¨

    • refactor: remove debug_assert for remove_available_modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10819

    Document Updates πŸ“–

    • docs: add domain redirection back by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10812
    • docs: collect typescript info related and inline const by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10811
    • docs: correct hook usage in HtmlRspackPlugin documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10830
    • docs: remove the guideline of tailwindcss v4 in postcss-loader by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10839

    Other Changes

    • chore: release v1.4.1 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10817
    • chore(deps): update dependency prettier to v3.6.2 by @renovate in https://github.com/web-infra-dev/rspack/pull/10788
    • chore(deps): update dependency @playwright/test to v1.53.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/10784
    • chore(wasm): enable wasm test ci by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10757

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.1...v1.4.2

    Open source β†’
  35. 1.4.127 Jun 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.4.1 -->

    What's Changed

    Performance Improvements ⚑

    • perf: improve code generation of concatenated modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10760
    • perf: improve concatenated modules plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10763
    • perf: improve mangle plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10795

    New Features πŸŽ‰

    • feat: let ignore warnings match by object by @SyMind in https://github.com/web-infra-dev/rspack/pull/10800
    • feat(rstest): more mock APIs by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10732

    Bug Fixes 🐞

    • fix: add experiments gate for ts first feature by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10806
    • fix: clean cycle isolation modules during make phase by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10754
    • fix: add _webpack_require_ while using SRI plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10805
    • fix: should not panic in esm specifier dependency when resolve failed by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10809
    • fix(create-rspack): remove verbatimModuleSyntax by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10816

    Document Updates πŸ“–

    • docs: add blog for announcing Rspack 1.4 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10793

    Other Changes

    • chore: bump swc by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/10803
    • chore: release v1.4.0 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10804
    • chore: Enable allocator track for sftrace by @quininer in https://github.com/web-infra-dev/rspack/pull/10808

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.0...v1.4.1

    Open source β†’
  36. 1.4.026 Jun 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at release-v1.4.0 -->

    πŸŽ‰ See Announcing Rspack 1.4 for more details.

    What's Changed

    Performance Improvements ⚑

    • perf: launch background tasks immediately by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10484
    • perf(incremental): enable advance-slient preset by default by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10623
    • perf: introduce ModuleGraphCache and cache the result of get_mode and determine_export_assignments by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10584
    • perf: when removed files we donot need rebuild the original module by @SyMind in https://github.com/web-infra-dev/rspack/pull/10648
    • perf: reduce memory allocation in esm_export_imported_specifier_dependency by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10657
    • perf: create zod schema on demand by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10669
    • perf(logger): calculate trace only when needed by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10683
    • perf(ci): move benchmark building to self-hosted by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10680
    • perf: inline module graph partials by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10727
    • perf: improve zod references to reduce bundle size by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10738
    • perf(zod/v4): disable Zod JIT by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10739
    • perf: cache get exports type on module graph cache by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10741
    • perf: parallel get runtime hash of concatenated modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10744
    • perf: parallel get concatenated imports when enter module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10747
    • perf: skip schema creation and parse when validation is disabled by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10768
    • perf(zod): prefer to use partial to make all properties optional by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10778

    New Features πŸŽ‰

    • feat: serialized build info custom fields from js by @SyMind in https://github.com/web-infra-dev/rspack/pull/10578
    • feat: rsdoctor native plugin add bailout_reason property by @easy1090 in https://github.com/web-infra-dev/rspack/pull/10585
    • feat(rstest_plugin): support hoist mock and resolve mocked module id by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10519
    • feat: should rename default import based on source by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10598
    • feat: consume js inputFileSystem on the rust side by @nilptr in https://github.com/web-infra-dev/rspack/pull/8643
    • feat: support perfetto proto as tracing format by @hardfist in https://github.com/web-infra-dev/rspack/pull/10549
    • feat: support passing error code to callbackify callbacks by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10622
    • feat(core): expose StatsErrorCode by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10624
    • feat: add d.ts in binding build artficats by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10634
    • feat: add swc transformSync and minifySync api by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10640
    • feat: inline const for leaf modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10451
    • feat: extend target type to include es2023, es2024, and es2025 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10700
    • feat(ci): upload perf data by commit when PR merged by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10715
    • feat: support preamble in swc minifier by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10713
    • feat(create-rspack): update tsconfig.json by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10674
    • feat: add support for SHA-256 by @pgoldberg in https://github.com/web-infra-dev/rspack/pull/10553
    • feat: type reexports presence tolerant by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10719
    • feat(zod/v4): upgrade to Zod V4 by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10678
    • feat(ci): use full match only to find self-hosted build caches by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10724
    • feat(rstest): support manual mock by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10625
    • feat: introduce rspack_tasks by @hardfist in https://github.com/web-infra-dev/rspack/pull/10699
    • feat: check type exports for type reexports presence tolerant by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10749
    • feat: initialize Rslib built-in plugin by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10735
    • feat: css chunking plugin custom maxSize and minSize options by @SyMind in https://github.com/web-infra-dev/rspack/pull/10773
    • feat(wasm): add simd flag by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10771
    • feat: typescript cross module enum inlining by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10780

    Bug Fixes 🐞

    • fix: correct remove_available_modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10594
    • fix(url_plugin): return true to stop ast traverse by @nilptr in https://github.com/web-infra-dev/rspack/pull/10570
    • fix: loc in rspack error should be object by @SyMind in https://github.com/web-infra-dev/rspack/pull/10610
    • fix: panic when concat external module request is undefined by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10611
    • fix: number_hash should use u64 to avoid addition overflow by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10615
    • fix(create-rspack): ignore rspack profile and remove npmignore file by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10616
    • fix(rstest): should stringify resource path by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10619
    • fix: Narrow the Dev Server Middleware type by @n0th1ng-else in https://github.com/web-infra-dev/rspack/pull/10522
    • fix: use Mutex<Arc<tokio::sync::OnceCell<JsLoaderRunner>>> to avoid loader runner deadlock by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10632
    • fix: change bailout_reason to array in rsdoctor native plugin by @easy1090 in https://github.com/web-infra-dev/rspack/pull/10653
    • fix(schema): add jsc.output.charset of swc-loader by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10668
    • fix: generator data url function panic by @SyMind in https://github.com/web-infra-dev/rspack/pull/10682
    • fix(binding): remove Node 10 compatibility code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10685
    • fix(ci): linux x86 native build hardcoded profile by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10693
    • fix: failed to resolve browserslist:env from target by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10730
    • fix: add -debugids to Zod schema by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10728
    • fix: loaderContext.importModule should return error by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10750
    • fix(rstest): put Rstest plugin in experiments field by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10758
    • fix: missing sftrace-setup feature by @SyMind in https://github.com/web-infra-dev/rspack/pull/10779
    • fix: binding version check not work by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10792
    • fix: remove catch for statsFactory.create by @SyMind in https://github.com/web-infra-dev/rspack/pull/10802

    Refactor πŸ”¨

    • refactor: make merge modified files and removed files by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10662
    • refactor(zod/v4): use .superRefine() for builtin:swc-loader by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10679
    • refactor: js api readableIdentifier in module by @SyMind in https://github.com/web-infra-dev/rspack/pull/10686
    • refactor: fast fail matrix testing to better utilizing CI runner by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10687
    • refactor: move codspeed build to self-hosted by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10688
    • refactor: prefetch exports info data of getters part 3 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10652
    • refactor: remove unnecessary callback by @hardfist in https://github.com/web-infra-dev/rspack/pull/10714
    • refactor: prefer native build for better speed by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10725
    • refactor(zod/v4): replace deprecated .superRefine() by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10729
    • refactor: split rspack_node into separate rspack_binding_api by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10770

    Document Updates πŸ“–

    • docs: fix rsbuild command typo in tracing doc by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10612
    • docs: update glossary with additional links by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10626
    • docs: clarity built-in module types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10635
    • docs: add some clarification of module-graph-partial by @hardfist in https://github.com/web-infra-dev/rspack/pull/10684
    • docs: use assets.rspack.dev by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10692
    • docs: update lazyCompilationMiddleware interface by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10695
    • docs: update tracing doc typo by @hardfist in https://github.com/web-infra-dev/rspack/pull/10723
    • docs: add wasm example and usage by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10756
    • docs: adjust incremental docs for v1.4.0 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10769
    • docs: add documentation for the new CssChunkingPlugin by @SyMind in https://github.com/web-infra-dev/rspack/pull/10766

    Other Changes

    • chore: release v1.3.15 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10588
    • chore(workflow): remove CI lark alerts by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10586
    • chore(deps): update dependency @module-federation/runtime-tools to v0.15.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10590
    • chore(deps): update patch npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10589
    • chore(incremental): pass more hmr test case by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10583
    • chore(ci): release debug script by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10580
    • chore(deps): update dependency @shikijs/transformers to ^3.6.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10603
    • chore(deps): update dependency terser to v5.41.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10604
    • chore(deps): update dependency tinypool to ^1.1.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10605
    • refactor(zod/v4): replace z.function with z.custom by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10602
    • chore(wasm): publish wasi binding by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10617
    • chore(deps): update napi to 3.0.0-beta.8 by @renovate in https://github.com/web-infra-dev/rspack/pull/10562
    • refactor(zod/v4): use .superRefine() for externals by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10609
    • chore(deps): update patch npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10627
    • chore: Enable sftrace for release-debug profile by @quininer in https://github.com/web-infra-dev/rspack/pull/10621
    • chore(deps): update yarn to v4.9.2 by @renovate in https://github.com/web-infra-dev/rspack/pull/10628
    • Revert "chore(deps): update napi to 3.0.0-beta.8" by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10633
    • chore(deps): update dependency @types/node to ^20.19.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10630
    • chore(deps): update dependency @swc/core to v1.12.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10629
    • refactor: prefetch exports info data of getters part 2 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10576
    • chore(deps): update napi to 3.0.0-beta.8 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10637
    • chore(ci): rm d.ts before move artifacts by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10651
    • chore: release v1.4.0-beta.0 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10647
    • chore(wasm): cleanup useless start/shutdownAsyncRuntime and exports by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10659
    • chore(workflow): update changelog generator to include refactor label by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10656
    • chore: update team members by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10667
    • chore(deps): update dependency core-js to v3.43.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10665
    • chore(deps): update dependency tsx to ^4.20.3 by @renovate in https://github.com/web-infra-dev/rspack/pull/10666
    • chore: bump swc to 27.0.4 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10660
    • chore(deps): update dependency path-serializer to v0.5.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10671
    • chore(deps): update dependency terser to v5.42.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10672
    • chore(deps): update dependency zod-validation-error to v3.5.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10673
    • chore(deps): update dependency @playwright/test to v1.53.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10196
    • chore(wasm): publish wasi binding 2 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10645
    • chore(ci): use windows self hosted by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10579
    • refactor!: lazy compilation middleware supports multiCompiler and use config from compiler instance by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9828
    • chore: fix release-debug build for windows by @quininer in https://github.com/web-infra-dev/rspack/pull/10649
    • chore: release 1.4.0-beta.1 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10681
    • chore: remove rspack.dev redirect by @hardfist in https://github.com/web-infra-dev/rspack/pull/10691
    • chore(workflow): simplify PR template by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10701
    • chore(deps): update dependency @rslib/core to v0.10.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10703
    • chore(deps): update dependency axios to ^1.10.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10705
    • chore(deps): update dependency terser to v5.43.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10709
    • chore(deps): update dependency ts-jest to v29.4.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10710
    • chore(deps): update dependency acorn to ^8.15.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10704
    • chore(benchmark): add rspack benchcases by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9345
    • chore(benchmark): limit parallel forks in vitest by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10718
    • chore(CI): fix codspeed build in GitHub hosted runner by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10720
    • chore: add diff artifact action by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10731
    • chore: remove prebundle config for enhanced-resolve by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10736
    • chore(deps): update dependency create-rstack to v1.5.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/10752
    • chore(deps): update dependency rspress-plugin-sitemap to ^1.2.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10753
    • ci(release): add rc tag by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10761
    • chore: release v1.4.0-rc.0 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10759
    • chore: proxy extract arguments to napi as cargo options by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10762
    • chore: update pnpm lockfile by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10774
    • chore(workflow): integrate heading-case to format title by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10775
    • chore: bump swc_core to v29.1.2 by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/10772
    • chore: don't measure compiler builder by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10767
    • chore: add NeverGrowInPlaceAllocator for benchmark by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10781
    • chore(deps): update dependency vitest to ^3.2.4 by @renovate in https://github.com/web-infra-dev/rspack/pull/10789
    • chore(deps): update dependency @shikijs/transformers to ^3.7.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10786
    • chore(deps): update dependency mermaid to ^11.7.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10787
    • chore: bump swc by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/10791
    • chore(ci): including codspeed perfermance comparison into required checks by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10782
    • chore(deps): update napi to 3.0.0-beta.9 by @renovate in https://github.com/web-infra-dev/rspack/pull/10785
    • chore(ci): fix ci workflow failed in main push event by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10796
    • test: fix js folder create confliction by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10794
    • chore: enable fair-sched for codspeed by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10734

    New Contributors

    • @pgoldberg made their first contribution in https://github.com/web-infra-dev/rspack/pull/10553

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.15...v1.4.0

    Open source β†’
  37. 1.4.0-rc.023 Jun 2025pre-release
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at release/v1.4.0-rc.0 -->

    What's Changed

    Performance Improvements ⚑

    • perf(logger): calculate trace only when needed by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10683
    • perf(ci): move benchmark building to self-hosted by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10680
    • perf: inline module graph partials by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10727
    • perf: improve zod references to reduce bundle size by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10738
    • perf(zod/v4): disable Zod JIT by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10739
    • perf: cache get exports type on module graph cache by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10741
    • perf: parallel get runtime hash of concatenated modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10744
    • perf: parallel get concatenated imports when enter module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10747

    New Features πŸŽ‰

    • feat: extend target type to include es2023, es2024, and es2025 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10700
    • feat(ci): upload perf data by commit when PR merged by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10715
    • feat: support preamble in swc minifier by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10713
    • feat(create-rspack): update tsconfig.json by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10674
    • feat: add support for SHA-256 by @pgoldberg in https://github.com/web-infra-dev/rspack/pull/10553
    • feat: type reexports presence tolerant by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10719
    • feat(zod/v4): upgrade to Zod V4 by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10678
    • feat(ci): use full match only to find self-hosted build caches by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10724
    • feat(rstest): support manual mock by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10625
    • feat: introduce rspack_tasks by @hardfist in https://github.com/web-infra-dev/rspack/pull/10699

    Bug Fixes 🐞

    • fix: generator data url function panic by @SyMind in https://github.com/web-infra-dev/rspack/pull/10682
    • fix(binding): remove Node 10 compatibility code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10685
    • fix(ci): linux x86 native build hardcoded profile by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10693
    • fix: failed to resolve browserslist:env from target by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10730
    • fix: add -debugids to Zod schema by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10728
    • fix: loaderContext.importModule should return error by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10750

    Refactor πŸ”¨

    • refactor(zod/v4): use .superRefine() for builtin:swc-loader by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10679
    • refactor: js api readableIdentifier in module by @SyMind in https://github.com/web-infra-dev/rspack/pull/10686
    • refactor: fast fail matrix testing to better utilizing CI runner by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10687
    • refactor: move codspeed build to self-hosted by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10688
    • refactor: prefetch exports info data of getters part 3 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10652
    • refactor: remove unnecessary callback by @hardfist in https://github.com/web-infra-dev/rspack/pull/10714
    • refactor: prefer native build for better speed by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10725
    • refactor(zod/v4): replace deprecated .superRefine() by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10729

    Document Updates πŸ“–

    • docs: add some clarification of module-graph-partial by @hardfist in https://github.com/web-infra-dev/rspack/pull/10684
    • docs: use assets.rspack.dev by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10692
    • docs: update lazyCompilationMiddleware interface by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10695
    • docs: update tracing doc typo by @hardfist in https://github.com/web-infra-dev/rspack/pull/10723

    Other Changes

    • chore: fix release-debug build for windows by @quininer in https://github.com/web-infra-dev/rspack/pull/10649
    • chore: release 1.4.0-beta.1 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10681
    • chore: remove rspack.dev redirect by @hardfist in https://github.com/web-infra-dev/rspack/pull/10691
    • chore(workflow): simplify PR template by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10701
    • chore(deps): update dependency @rslib/core to v0.10.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10703
    • chore(deps): update dependency axios to ^1.10.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10705
    • chore(deps): update dependency terser to v5.43.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10709
    • chore(deps): update dependency ts-jest to v29.4.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10710
    • chore(deps): update dependency acorn to ^8.15.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10704
    • chore(benchmark): add rspack benchcases by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9345
    • chore(benchmark): limit parallel forks in vitest by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10718
    • chore(CI): fix codspeed build in GitHub hosted runner by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10720
    • chore: add diff artifact action by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10731
    • chore: remove prebundle config for enhanced-resolve by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10736
    • chore(deps): update dependency create-rstack to v1.5.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/10752
    • chore(deps): update dependency rspress-plugin-sitemap to ^1.2.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10753

    New Contributors

    • @pgoldberg made their first contribution in https://github.com/web-infra-dev/rspack/pull/10553

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.0-beta.1...v1.4.0-rc.0

    Open source β†’
  38. 1.4.0-beta.116 Jun 2025pre-release
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at main -->

    What's Changed

    Breaking Changes πŸ› 

    • chore: bump swc to 27.0.4 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10660
    • refactor: lazyCompilationMiddleware no longer accepts config parameter, instead it uses the config from the compiler instance by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9828

    Performance Improvements ⚑

    • perf: introduce ModuleGraphCache and cache the result of get_mode and determine_export_assignments by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10584
    • perf: when removed files we donot need rebuild the original module by @SyMind in https://github.com/web-infra-dev/rspack/pull/10648
    • perf: reduce memory allocation in esm_export_imported_specifier_dependency by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10657
    • perf: create zod schema on demand by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10669

    New Features πŸŽ‰

    • feat: add swc transformSync and minifySync api by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10640
    • feat: inline const for leaf modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10451

    Bug Fixes 🐞

    • fix: change bailout_reason to array in rsdoctor native plugin by @easy1090 in https://github.com/web-infra-dev/rspack/pull/10653
    • fix(schema): add jsc.output.charset of swc-loader by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10668

    Refactor πŸ”¨

    • refactor: make merge modified files and removed files by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10662

    Other Changes

    • chore: release v1.4.0-beta.0 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10647
    • chore(wasm): cleanup useless start/shutdownAsyncRuntime and exports by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10659
    • chore(workflow): update changelog generator to include refactor label by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10656
    • chore: update team members by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10667
    • chore(deps): update dependency core-js to v3.43.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10665
    • chore(deps): update dependency tsx to ^4.20.3 by @renovate in https://github.com/web-infra-dev/rspack/pull/10666
    • chore: bump swc to 27.0.4 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10660
    • chore(deps): update dependency path-serializer to v0.5.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10671
    • chore(deps): update dependency terser to v5.42.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10672
    • chore(deps): update dependency zod-validation-error to v3.5.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10673
    • chore(deps): update dependency @playwright/test to v1.53.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10196
    • chore(wasm): publish wasi binding 2 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10645
    • chore(ci): use windows self hosted by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10579
    • refactor!: lazy compilation middleware supports multiCompiler and use config from compiler instance by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9828

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.4.0-beta.0...v1.4.0-beta.1

    Open source β†’
  39. 1.4.0-beta.012 Jun 2025pre-release
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at release/1.4.0-beta.0 -->

    What's Changed

    Performance Improvements ⚑

    • perf: launch background tasks immediately by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10484
    • perf(incremental): enable advance-slient preset by default by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10623

    Exciting New Features πŸŽ‰

    • feat: serialized build info custom fields from js by @SyMind in https://github.com/web-infra-dev/rspack/pull/10578
    • feat: rsdoctor native plugin add bailout_reason property by @easy1090 in https://github.com/web-infra-dev/rspack/pull/10585
    • feat(rstest_plugin): support hoist mock and resolve mocked module id by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10519
    • feat: should rename default import based on source by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10598
    • feat: consume js inputFileSystem on the rust side by @nilptr in https://github.com/web-infra-dev/rspack/pull/8643
    • feat: support perfetto proto as tracing format by @hardfist in https://github.com/web-infra-dev/rspack/pull/10549
    • feat: support passing error code to callbackify callbacks by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10622
    • feat(core): expose StatsErrorCode by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10624
    • feat: add d.ts in binding build artficats by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10634

    Bug Fixes 🐞

    • fix: correct remove_available_modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10594
    • fix(url_plugin): return true to stop ast traverse by @nilptr in https://github.com/web-infra-dev/rspack/pull/10570
    • fix: loc in rspack error should be object by @SyMind in https://github.com/web-infra-dev/rspack/pull/10610
    • fix: panic when concat external module request is undefined by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10611
    • fix: number_hash should use u64 to avoid addition overflow by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10615
    • fix(create-rspack): ignore rspack profile and remove npmignore file by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10616
    • fix(rstest): should stringify resource path by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10619
    • fix: Narrow the Dev Server Middleware type by @n0th1ng-else in https://github.com/web-infra-dev/rspack/pull/10522
    • fix: use Mutex<Arc<tokio::sync::OnceCell<JsLoaderRunner>>> to avoid loader runner deadlock by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10632

    Document Updates πŸ“–

    • docs: fix rsbuild command typo in tracing doc by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10612
    • docs: update glossary with additional links by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10626
    • docs: clarity built-in module types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10635

    Other Changes

    • chore: release v1.3.15 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10588
    • chore(workflow): remove CI lark alerts by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10586
    • chore(deps): update dependency @module-federation/runtime-tools to v0.15.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10590
    • chore(deps): update patch npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10589
    • chore(incremental): pass more hmr test case by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10583
    • chore(ci): release debug script by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10580
    • chore(deps): update dependency @shikijs/transformers to ^3.6.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10603
    • chore(deps): update dependency terser to v5.41.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10604
    • chore(deps): update dependency tinypool to ^1.1.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10605
    • refactor(zod/v4): replace z.function with z.custom by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10602
    • chore(wasm): publish wasi binding by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10617
    • chore(deps): update napi to 3.0.0-beta.8 by @renovate in https://github.com/web-infra-dev/rspack/pull/10562
    • refactor(zod/v4): use .superRefine() for externals by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10609
    • chore(deps): update patch npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10627
    • chore: Enable sftrace for release-debug profile by @quininer in https://github.com/web-infra-dev/rspack/pull/10621
    • chore(deps): update yarn to v4.9.2 by @renovate in https://github.com/web-infra-dev/rspack/pull/10628
    • Revert "chore(deps): update napi to 3.0.0-beta.8" by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10633
    • chore(deps): update dependency @types/node to ^20.19.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10630
    • chore(deps): update dependency @swc/core to v1.12.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10629
    • refactor: prefetch exports info data of getters part 2 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10576
    • chore(deps): update napi to 3.0.0-beta.8 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10637

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.15...v1.4.0-beta.0

    Open source β†’
  40. 1.3.156 Jun 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.15 -->

    What's Changed

    Performance Improvements ⚑

    • perf: js api cache resolver with options by @SyMind in https://github.com/web-infra-dev/rspack/pull/10572

    Bug Fixes 🐞

    • fix: should rebuild chunk outgoings when incremental runtime change by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10577
    • fix(deps): update @rspack/dev-server to ~1.1.3 [security] by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10587

    Document Updates πŸ“–

    • docs: update terminology and improve clarity in optimization and devtool by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10581

    Other Changes

    • refactor: prefetch exports info data of getters by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10534
    • chore: bump napi to 3.0.0-beta.5 by @SyMind in https://github.com/web-infra-dev/rspack/pull/10571
    • chore(deps): update dependency webpack-sources to v3.3.2 by @renovate in https://github.com/web-infra-dev/rspack/pull/10557

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.14...v1.3.15

    Open source β†’
  41. 1.3.145 Jun 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.14 -->

    What's Changed

    Performance Improvements ⚑

    • perf: add cache for getImports and module graph visiting by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10547
    • perf: skip calling js loaders that don't have a pitch function by @nilptr in https://github.com/web-infra-dev/rspack/pull/10540
    • perf: regex from js and js resolver api by @SyMind in https://github.com/web-infra-dev/rspack/pull/10537

    Exciting New Features πŸŽ‰

    • feat: support dependences in build info by @SyMind in https://github.com/web-infra-dev/rspack/pull/10531
    • feat: improve external render by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10508

    Bug Fixes 🐞

    • fix: Add $schema field for the swc config validation by @n0th1ng-else in https://github.com/web-infra-dev/rspack/pull/10535
    • fix(scripts): when cargo build failed build script should exit by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10559
    • fix(incremental): fullhash chunk filename should disable incremental for chunk render by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10560
    • fix: Use correct tag for canary release by @irinaklimova in https://github.com/web-infra-dev/rspack/pull/10538

    Other Changes

    • chore(deps): update rust crate bitflags to 2.9.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/10542
    • chore(deps): lock file maintenance by @renovate in https://github.com/web-infra-dev/rspack/pull/8938
    • chore(deps): remove dependency browserslist by @renovate in https://github.com/web-infra-dev/rspack/pull/10541
    • chore: update rust channel to support sftrace by @hardfist in https://github.com/web-infra-dev/rspack/pull/10539
    • refactor: remove module graph of export_info getters by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10510
    • chore(allocator): bump mimalloc to v3.0.3 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10555
    • chore(deps): update patch npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10556
    • chore(core): clean up unused TypeScript code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10554
    • revert: "fix(core): use module_id to sort module_code" by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10558
    • chore(deps): update patch npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10564
    • chore: Enable no-embed-metadata by @quininer in https://github.com/web-infra-dev/rspack/pull/10551
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/10561
    • chore: bump swc version to 26.3.4 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10566
    • chore(ci): fix debug release not triggered by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10550

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.13...v1.3.14

    Open source β†’
  42. 1.3.1330 May 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.13 -->

    Highlights

    πŸš€ Rustify browserslist

    Rspack now uses browserslist_rs instead of the browserslist npm package to parse browserslist query, which can make browserslist query parsing faster and improve consistency in SWC and lightningcss:

    • Parsing default target is 5.5x faster than before.
    • Removed caniuse-lite dependency, reduced 2.15MB install size.

    See https://github.com/web-infra-dev/rspack/pull/10520 for more details.

    What's Changed

    Performance Improvements ⚑

    • perf: should cache connection_state result to avoid dup computation by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10495
    • perf: Use ustr for RuntimeSpec by @quininer in https://github.com/web-infra-dev/rspack/pull/10480
    • perf: js api resolver.resolve by @SyMind in https://github.com/web-infra-dev/rspack/pull/10513
    • perf: use js api to access module.resourceResolveData by @SyMind in https://github.com/web-infra-dev/rspack/pull/10528
    • perf: resource data in js loader context by @SyMind in https://github.com/web-infra-dev/rspack/pull/10517
    • perf: Rustify browserslist parsing and remove caniuse-lite dependency by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10520

    Exciting New Features πŸŽ‰

    • feat(diagnostic): support minification error by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10057
    • feat(rstest_plugin): handle import.meta.dirname and import.meta.filename by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10489
    • feat(napi): add preliminary support for error code printing by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10512
    • feat(core): support dump chunk graph as graphviz by @hardfist in https://github.com/web-infra-dev/rspack/pull/10403
    • feat: support webpackIgnore for new URL() by @inottn in https://github.com/web-infra-dev/rspack/pull/10506

    Bug Fixes 🐞

    • fix: Enrich client modules types with supported api (closes #10335) by @n0th1ng-else in https://github.com/web-infra-dev/rspack/pull/10382
    • fix: should render name by chunk id when chunk name is empty by @SyMind in https://github.com/web-infra-dev/rspack/pull/10498
    • fix: wrong warning sort by @quininer in https://github.com/web-infra-dev/rspack/pull/10500
    • fix: should disconnect children correctly when remove available modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10503
    • fix: align tsconfig paths matching with tsconfig-paths-webpack-plugin by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10509
    • fix(core): use module_id to sort module_code by @hardfist in https://github.com/web-infra-dev/rspack/pull/10516
    • fix: don't panic for esm hmr by @hardfist in https://github.com/web-infra-dev/rspack/pull/10525
    • fix: module_executor circular check only for internal modules by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10526

    Document Updates πŸ“–

    • docs: add guide for get compilation object by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10501
    • docs: switch to new domains by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10496
    • docs: clarify target default value and browserslist usage by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10527

    Other Changes

    • chore: release 1.3.12 by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10486
    • chore: fix typos by @noritaka1166 in https://github.com/web-infra-dev/rspack/pull/10490
    • chore(deps): update patch npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10492
    • chore(deps): update dependency terser to v5.40.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10494
    • chore(deps): update dependency @rslib/core to v0.9.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10493
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/10491
    • refactor: rename some enums of exports info by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10488
    • refactor: optimize module executor error info by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10499
    • chore(deps): update napi to 3.0.0-beta.2 by @renovate in https://github.com/web-infra-dev/rspack/pull/10430
    • chore: bench record chunk group by @SyMind in https://github.com/web-infra-dev/rspack/pull/10505
    • refactor: split code of exports info by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10497
    • test: add benchmark prefixes based on its location by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10511
    • refactor: remove module graph param of export info setters by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10507
    • test: fix http cache folder name by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10515
    • chore(ci): add release debug workflow by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10529

    New Contributors

    • @noritaka1166 made their first contribution in https://github.com/web-infra-dev/rspack/pull/10490

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.12...v1.3.13

    Open source β†’
  43. 1.3.1227 May 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.12 -->

    What's Changed

    Performance Improvements ⚑

    • perf: lazy load watchpack and some Node built-in modules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10465

    Exciting New Features πŸŽ‰

    • feat: update to napi beta by @SyMind in https://github.com/web-infra-dev/rspack/pull/10436
    • feat(swc_compiler_api): add diagnostics field to TransformOutput by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10435
    • feat(napi): support returning custom error code by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10476
    • feat: initialize Rstest built-in plugin by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10452

    Bug Fixes 🐞

    • fix: mangle destructuring properties of esm specifier dependencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10423
    • fix(minify): parser allow import attributes syntax by @fi3ework in https://github.com/web-infra-dev/rspack/pull/10405
    • fix: update watchpack to 2.4.3 and remove temp code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10412
    • fix: set compilation errors result is wrong by @SyMind in https://github.com/web-infra-dev/rspack/pull/10439
    • fix: css prefetch and preload by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10440
    • fix: eval sourcemap debugids by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10443
    • fix: missing fetch priority after hmr updating by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10442
    • fix: swc compiler api using wasm plugin without tokio runtime panic. by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10438
    • fix: render namespace template in devtool plugins by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10448
    • fix: missing import scripts runtime when target is webworker by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10450
    • fix(core): fix tracing async exit early by @hardfist in https://github.com/web-infra-dev/rspack/pull/10455
    • fix: loader in module user request should be resolved path by @SyMind in https://github.com/web-infra-dev/rspack/pull/10365
    • fix(zod/v4): drop z.record() with single argument by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10468
    • fix(core): remove Node 10 compatibility code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10464
    • fix: http build redirect to another url by @SyMind in https://github.com/web-infra-dev/rspack/pull/10471
    • fix: check directory before reading when running clean options by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10472
    • fix(wasm): never reference handles of workers by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10478
    • fix(types): use latest webpack-sources types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10481

    Document Updates πŸ“–

    • docs: update Rstack introduction by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10424
    • docs: improve devtool docs by @SyMind in https://github.com/web-infra-dev/rspack/pull/9832
    • docs: add midscenejs to join-us documentation by @quanru in https://github.com/web-infra-dev/rspack/pull/10447
    • docs(rspress): use @rspress/plugin-algolia for search by @SoonIter in https://github.com/web-infra-dev/rspack/pull/10454
    • docs: add info option and JSDoc for copy plugin by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10463
    • docs: Add Miro into the list of consumers by @n0th1ng-else in https://github.com/web-infra-dev/rspack/pull/10482

    Other Changes

    • chore: release v1.3.11 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10415
    • chore(deps): update dependency webpack to v5.99.9 by @renovate in https://github.com/web-infra-dev/rspack/pull/10428
    • chore(deps): update patch npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10431
    • chore(deps): update dependency @module-federation/runtime-tools to v0.14.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10432
    • refactor: use #[napi(module_exports)] by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10437
    • refactor: replaced used name to slice for exports_info.get_used_name by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10441
    • refactor: avoid read rust side json in js side by @hardfist in https://github.com/web-infra-dev/rspack/pull/10445
    • chore: add comment to other export info by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10417
    • test: enable more webpack test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10449
    • chore: unify edtion version by @hardfist in https://github.com/web-infra-dev/rspack/pull/10446
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/10429
    • chore: add rspack_version and options to tracing by @hardfist in https://github.com/web-infra-dev/rspack/pull/10453
    • chore(deps): update dependency webpack-sources to v3.3.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10460
    • test: ignore test cases with NO_PLAN status when calculating webpack test coverage by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10457
    • chore(deps): update dependency zod to ^3.25.28 by @renovate in https://github.com/web-infra-dev/rspack/pull/10461
    • chore(deps): update dependency @rslib/core to v0.8.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10459
    • chore(deps): update rust crate color-backtrace to 0.7.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10462
    • chore(infra): add onlyBuiltDependencies by @re-taro in https://github.com/web-infra-dev/rspack/pull/10469
    • refactor: rewrite module executor by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10402
    • refactor: rename TaskType::Sync to Main & TaskType::Async to background by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10473

    New Contributors

    • @quanru made their first contribution in https://github.com/web-infra-dev/rspack/pull/10447
    • @re-taro made their first contribution in https://github.com/web-infra-dev/rspack/pull/10469
    • @n0th1ng-else made their first contribution in https://github.com/web-infra-dev/rspack/pull/10482

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.11...v1.3.12

    Open source β†’
  44. 1.3.1120 May 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.11 -->

    What's Changed

    Performance Improvements ⚑

    • perf: skip UTF-8 validation if JS loader returned a string by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10348
    • perf: scan scope idents parallel for concate module by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10345

    Exciting New Features πŸŽ‰

    • feat: JS API can access buildInfo.assets by @SyMind in https://github.com/web-infra-dev/rspack/pull/10326
    • feat(compiler-builder): support browserslist as the target by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10334
    • feat: support full options for EvalSourceMapDevToolPlugin by @SyMind in https://github.com/web-infra-dev/rspack/pull/10363
    • feat: CssChunkingPlugin by @SyMind in https://github.com/web-infra-dev/rspack/pull/10235
    • feat: compilation.errors support index access by @SyMind in https://github.com/web-infra-dev/rspack/pull/10385
    • feat(core): add tracing for javascript plugin by @hardfist in https://github.com/web-infra-dev/rspack/pull/10390

    Bug Fixes 🐞

    • fix(core): fix relative http import failed by @hardfist in https://github.com/web-infra-dev/rspack/pull/10314
    • fix(wasm): avoid passing fd across threads by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10332
    • fix: compile time evaluation of __filename by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10331
    • fix(wasm): copy data to ArrayBuffer when decoding SharedArrayBuffer by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10336
    • fix(core): remove filename fn in sync js api by @hardfist in https://github.com/web-infra-dev/rspack/pull/10341
    • fix: AMD parser plugin replaced define plugin values mutiple times by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10349
    • fix: improve inner graph assignment analysis by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10360
    • fix: inner graph block scopes by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10371
    • fix: dynamic import json with default name by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10373
    • fix: the modules order cross render manifest and content hash should be equal by @SyMind in https://github.com/web-infra-dev/rspack/pull/10359
    • fix(core): make build-http compatible with node16 by @hardfist in https://github.com/web-infra-dev/rspack/pull/10374
    • fix(core): fix release panic problem by @hardfist in https://github.com/web-infra-dev/rspack/pull/10376
    • fix: use name instead of identifier in CircularDependencyRspackPlugin by @colinaaa in https://github.com/web-infra-dev/rspack/pull/10379
    • fix: emit warning when optional dynamic import missing by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10377
    • fix: chunk format runtime with entry starts with slash by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10386
    • fix: css local ident name with empty unique name by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10388
    • fix: assets imported by css should not generate js modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10391
    • fix: missing destucturing properties while getting referenced exports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10401
    • fix: missing module header info of css modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10407
    • fix: normalize CopyRspackPlugins's transform function in js side by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10398
    • fix(cli): upgrade @rspack/dev-server by @hardfist in https://github.com/web-infra-dev/rspack/pull/10420
    • fix: CopyRspackPlugin's transformer function should handle Buffer input by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10416

    Document Updates πŸ“–

    • docs: add tree shaking prerequisites and pure annotation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10338
    • docs: fix render of note title and file name by @irinaklimova in https://github.com/web-infra-dev/rspack/pull/10354
    • docs: fix typos in zh/config/module.mdx by @thinkasany in https://github.com/web-infra-dev/rspack/pull/10370
    • docs: clarify the parallelCodeSplitting and removeAvailableModules options by @hardfist in https://github.com/web-infra-dev/rspack/pull/10368
    • docs: add examples for Rule conditions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10366
    • docs: add Rstest to homepage by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10381
    • docs: remove duplicate undefined types by @9aoy in https://github.com/web-infra-dev/rspack/pull/10395
    • docs: simplify the description of optimization.sideEffects by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10389
    • docs(rspress): upgrade to Rspress v2.0.0-beta.6 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/10387
    • docs: update builtin-swc-loader.mdx, remove unused useBuiltins by @KEH3 in https://github.com/web-infra-dev/rspack/pull/10410
    • docs: invite @quininer to Rspack core team by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10411
    • docs: update docs, remove unused useBuiltins by @KEH3 in https://github.com/web-infra-dev/rspack/pull/10414
    • docs: introducing Compilation and Compiler objects by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10418

    Other Changes

    • chore: remove unnecessary asset info setting by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10230
    • chore: govern webpack test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10337
    • chore(deps): update patch npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10353
    • refactor: use OwnedOrRef instead of #[cacheable(as=...)] by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10346
    • chore(deps): update dependency templater to v1.1.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10358
    • chore(deps): update dependency @rslib/core to v0.7.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10357
    • chore: add complexity tracing for ensure_chunk_conditions plugin by @hardfist in https://github.com/web-infra-dev/rspack/pull/10362
    • ci: optimize network config for docker by @deanjingshui in https://github.com/web-infra-dev/rspack/pull/10344
    • chore(deps): Update some Rust dependencies by @quininer in https://github.com/web-infra-dev/rspack/pull/10384
    • test: fix snapshot of main branch by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10392
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/10352
    • test: upload build http lock files in example by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10394
    • chore: run duplicate version check in ci by @hardfist in https://github.com/web-infra-dev/rspack/pull/10399
    • chore: CI build wasm in runner directly by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10397
    • chore: πŸ”§ prettier yaml files by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10400
    • chore: let prettier ignore pnpm lock file by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10413

    New Contributors

    • @irinaklimova made their first contribution in https://github.com/web-infra-dev/rspack/pull/10354
    • @thinkasany made their first contribution in https://github.com/web-infra-dev/rspack/pull/10370
    • @deanjingshui made their first contribution in https://github.com/web-infra-dev/rspack/pull/10344
    • @KEH3 made their first contribution in https://github.com/web-infra-dev/rspack/pull/10410

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.10...v1.3.11

    Open source β†’
  45. 1.3.1013 May 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.10 -->

    Highlights πŸ’‘

    Source Map Generation for Rspack Runtime Code

    Rspack now supports source map generation for runtime code, enabling more efficient diagnosing problemsβ€”both in production and development environments.

    What's Changed

    Performance Improvements ⚑

    • perf: import node inspector dynamically by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10296

    Exciting New Features πŸŽ‰

    • feat: generate source map for runtime code by @SyMind in https://github.com/web-infra-dev/rspack/pull/10245
    • feat(wasm): support tracing-chrome in wasm by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10246
    • feat: add url config to css parser by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10229
    • feat: expose hasChunkEntryDependentChunks on ChunkGraph by @gaoachao in https://github.com/web-infra-dev/rspack/pull/10286
    • feat: support binary option of asset generator by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10301
    • feat: js api for compilation code generation results by @SyMind in https://github.com/web-infra-dev/rspack/pull/10303
    • feat: compilation.addEntry support by @henryqdineen in https://github.com/web-infra-dev/rspack/pull/10268
    • feat: support include and exclude of import.meta.webpackContext by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10318
    • feat(swc): enhance TransformOutput with diagnostics by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10312
    • feat(create-rspack): better default browserslist target by @vegerot in https://github.com/web-infra-dev/rspack/pull/10290

    Bug Fixes 🐞

    • fix(types): export PitchLoaderDefinitionFunction type by @henryqdineen in https://github.com/web-infra-dev/rspack/pull/10289
    • fix: allow the SRI plugin to be used without passing options by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10294
    • fix: parser generator arg validate by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10298
    • fix: chunk loading should be import by default when chunk format is module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10307
    • fix: not evaluate typeof __dirname when set to false by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10308
    • fix: test no setTimeout by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10313
    • fix: environment.dynamicImport should affect chunkFormat and chunkLoading by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10309
    • fix: dataWebpackPrefix of load script runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10316
    • fix: simplify trace implementation by removing unused code by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10325
    • fix(template-react-ts): work with newer Node by @vegerot in https://github.com/web-infra-dev/rspack/pull/10304

    Document Updates πŸ“–

    • docs(diagnostic): add loader experimental diagnostic API by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10287
    • docs: fix invalid link by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/10299
    • docs: update tracing doc by @hardfist in https://github.com/web-infra-dev/rspack/pull/10328

    Other Changes

    • chore(deps): update rspress to 2.0.0-beta.4 by @renovate in https://github.com/web-infra-dev/rspack/pull/10283
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/10280
    • test: remove new code splitting tests as now its the default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9939
    • test: enable some test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10288
    • chore: Revert "test: enable some test cases (#10288)" by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10300
    • test: enable more webpack stats test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10302
    • test: enable more webpack config test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10306
    • chore: bump SWC to v23.2.0 and remove swc_parallel by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10293
    • chore(deps): update dependency less-loader to ^12.3.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10322
    • chore(deps): update dependency @babel/core to ^7.27.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/10321
    • chore(deps): update rust crate browserslist-rs to 0.18.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/10323

    New Contributors

    • @vegerot made their first contribution in https://github.com/web-infra-dev/rspack/pull/10290

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.9...v1.3.10

    Open source β†’
  46. 1.3.97 May 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.9 -->

    What's Changed

    Performance Improvements ⚑

    • perf: js stats by @SyMind in https://github.com/web-infra-dev/rspack/pull/10213

    Bug Fixes 🐞

    • fix: clever merge resolve options by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10231
    • fix: set watchpack limit before loading watchpack by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10236
    • fix: circular seen relations by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10237
    • fix: missing stack information from plugin error by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/10078
    • fix: process warnings multiple times by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10273
    • fix(html): not to override plugin options when using multiple instances by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10284

    Document Updates πŸ“–

    • docs: add JavaScript minify & transform example and api docs by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10206
    • docs: correct SWC API examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10228
    • docs: fix the wrong container syntax by @SoonIter in https://github.com/web-infra-dev/rspack/pull/10232
    • docs: improve tracing documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10258
    • docs: enhance Data URI module and MIME type rules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10267
    • docs: rewrite loader types documentation and examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10277

    Other Changes

    • chore: support event tracing by @hardfist in https://github.com/web-infra-dev/rspack/pull/10225
    • chore: improve stats.toJson() bench case by @SyMind in https://github.com/web-infra-dev/rspack/pull/10226
    • chore: release v1.3.8 by @SyMind in https://github.com/web-infra-dev/rspack/pull/10223
    • refactor: CI better fallback runner label by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10240
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10251
    • chore(deps): update pnpm to v10.10.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10253
    • chore(deps): update dependency webpack to v5.99.7 by @renovate in https://github.com/web-infra-dev/rspack/pull/10249
    • chore(deps): update dependency core-js to v3.42.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10252
    • chore: change RA targetdir by @hardfist in https://github.com/web-infra-dev/rspack/pull/10257
    • ci: remove stale workflow by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10243
    • chore(deps): update dependency path-serializer to v0.4.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10255
    • ci: add required check for linting CI by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10263
    • chore: upgrade swc to v22.5.3 and enable swc tracing by @hardfist in https://github.com/web-infra-dev/rspack/pull/10256
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/10250
    • chore(deps): remove loader-utils v2 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10272
    • chore: bump rspack resolver 0.5.6 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10276
    • chore(deps): update dependency webpack to v5.99.8 by @renovate in https://github.com/web-infra-dev/rspack/pull/10281
    • chore(deps): update patch npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10282

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.8...v1.3.9

    Open source β†’
  47. 1.3.828 Apr 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.8 -->

    Highlights πŸ’‘

    Exposing SWC JS API

    Rspack now experimentally exposes some SWC JavaScript APIs via rspack.experiments.swc. This allows you to call SWC methods like transform or minify without installing the additional @swc/core package.

    See SWC API for more details.

    <img src="https://github.com/user-attachments/assets/20c24090-3d8e-46cd-a5af-cd316f58d7c0" width="600" />

    What's Changed

    Exciting New Features πŸŽ‰

    • feat(incremental): silent warning and add presets by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10175
    • feat: add SWC transform and minify support by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10201
    • feat: support origin.loc on chunkgroup by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10188
    • feat: support regexp and function of output.clean by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10207
    • feat(incremental): add more tracing for debugging by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10214

    Bug Fixes 🐞

    • fix: print rspack version instead of webpack's (fix #10189) by @tmadeira in https://github.com/web-infra-dev/rspack/pull/10190
    • fix: slash in char match pattern of magic comments by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10187
    • fix: CI mulit rust cache file with the same cache key by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10200
    • fix: compiler js object cannot be gc by @SyMind in https://github.com/web-infra-dev/rspack/pull/9685
    • fix: dead loop of circular dependency plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10212
    • fix(core): temporarily disable lightningcss warning by @hardfist in https://github.com/web-infra-dev/rspack/pull/10211
    • fix(core): add tracing for native fs by @hardfist in https://github.com/web-infra-dev/rspack/pull/10219
    • fix: missing context depenendency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10221
    • fix: copy zod types instead of bundling them by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/10222

    Document Updates πŸ“–

    • docs: add require.resolveWeak module method by @9aoy in https://github.com/web-infra-dev/rspack/pull/10203
    • docs: improve CSS Modules documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10209
    • docs: add notice about lightningcss by @hardfist in https://github.com/web-infra-dev/rspack/pull/10210

    Other Changes

    • test: should not report on wrong case when error by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10185
    • chore: release v1.3.7 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10182
    • refactor: integrate swc api into rspack_javascript_compiler by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10186
    • chore(deps): update dependency @rspack/plugin-react-refresh to ^1.4.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/10192
    • chore(deps): update dependency axios to ^1.9.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10193
    • chore(deps): update typescript and @microsoft/api-extractor by @renovate in https://github.com/web-infra-dev/rspack/pull/10194
    • chore(deps): update dependency table to v6 by @renovate in https://github.com/web-infra-dev/rspack/pull/10197
    • chore(deps): update webpack-merge to v6 (major) by @renovate in https://github.com/web-infra-dev/rspack/pull/10198
    • test: add test case of issue #10195 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10202
    • chore(deps): remove unused webpack-cli by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10199
    • test: clean full snapshoted stats api test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10204
    • chore(deps): update pnpm to v10 by @renovate in https://github.com/web-infra-dev/rspack/pull/10092
    • refactor: merge rust check and test into one require check job require condtion by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10216
    • chore(ci): test self hosted by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10148

    New Contributors

    • @tmadeira made their first contribution in https://github.com/web-infra-dev/rspack/pull/10190

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.7...v1.3.8

    Open source β†’
  48. 1.3.725 Apr 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.7 -->

    πŸ’‘ Highlights

    The rspack.dev now provides llms.txt to help LLMs better understand Rspack:

    • https://rspack.dev/llms.txt
    • https://rspack.dev/llms-full.txt

    What's Changed

    Performance Improvements ⚑

    • perf: use Vec::with_capacity for hooks and plugins by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10178

    Exciting New Features πŸŽ‰

    • feat: persistent cache snapshot expose is_hot_start by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10166
    • feat: custom prefix for lazy compilation by @dgaponov in https://github.com/web-infra-dev/rspack/pull/10147

    Bug Fixes 🐞

    • fix: should rebuild css module when rebuild css extract entry by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10124
    • fix: plugin compilation hooks leak by @quininer in https://github.com/web-infra-dev/rspack/pull/10137
    • fix(core): add more trace for loaders by @hardfist in https://github.com/web-infra-dev/rspack/pull/10139
    • fix: panic when factorize failed in module executor by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10136
    • fix(core): enable tracing for hook by default except in make stage by @hardfist in https://github.com/web-infra-dev/rspack/pull/10141
    • fix(storage): should flush writer when flushing file mtime by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10143
    • fix: storage validate hash with content by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10101
    • fix: multiple runtime keys broke filename in runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10144
    • fix: call compiler.close when having errors by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10154
    • fix: pass null to additional data of loader context by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10155
    • fix: support license plugin when enable concatenated by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10158
    • fix(parallel-loader): should not pass options for which loaders are not set to parallel by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10164
    • fix: circularDependencyRspackPlugin should check all cycle by @fireairforce in https://github.com/web-infra-dev/rspack/pull/10163
    • fix: should regenerate runtime chunk hash when using get chunk filename runtime module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10167
    • fix: ignore parsing errors on CSS modules from lightningcss-loader by @SyMind in https://github.com/web-infra-dev/rspack/pull/10172
    • fix: truncate width into u16::MAX for graphical reporter by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10180
    • fix: Vue CSS pseudo class warning in lightningcss by @SyMind in https://github.com/web-infra-dev/rspack/pull/10184

    Document Updates πŸ“–

    • docs(llms): bump to [email protected] and add llms.txt by @SoonIter in https://github.com/web-infra-dev/rspack/pull/10157
    • docs: update config merging guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10159
    • docs(llms): bump to [email protected] by @SoonIter in https://github.com/web-infra-dev/rspack/pull/10165
    • docs: fix grammar in rspack-next-partner.mdx by @tlund101 in https://github.com/web-infra-dev/rspack/pull/10169
    • docs(llms.txt): add more description by @SoonIter in https://github.com/web-infra-dev/rspack/pull/10181

    Other Changes

    • chore: enable more webpack watch cases by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10128
    • refactor: adjust circularDependencyRspackPlugin compilation API by @fireairforce in https://github.com/web-infra-dev/rspack/pull/10006
    • chore: release v1.3.6 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10116
    • chore(deps): update dependency @rstack-dev/doc-ui to v1.8.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10152
    • refactor: remove dead_code and use spawn_blocking for fast_set by @hardfist in https://github.com/web-infra-dev/rspack/pull/10151
    • chore: disable more hook tracing by @hardfist in https://github.com/web-infra-dev/rspack/pull/10156
    • refactor: dependency range of remain dependencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10160
    • ci: close inactive issues with need more info or awaiting more feedback by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10171
    • refactor: CI by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10135
    • refactor(incremental): disable passes only for current rebuild by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10145
    • chore(ci): refactor incremental causes ci tests failed by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10174
    • refactor(core): remove browserslist feature of lightningcss by @hardfist in https://github.com/web-infra-dev/rspack/pull/10173
    • chore(ci): fix job if condition by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10176

    New Contributors

    • @dgaponov made their first contribution in https://github.com/web-infra-dev/rspack/pull/10147
    • @tlund101 made their first contribution in https://github.com/web-infra-dev/rspack/pull/10169

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.6...v1.3.7

    Open source β†’
  49. 1.3.624 Apr 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.6 -->

    What's Changed

    Performance Improvements ⚑

    • perf(build): custom Rslib minify options for @rspack/core by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/10048
    • perf(hash): avoid heap allocations in hash by @quininer in https://github.com/web-infra-dev/rspack/pull/10060
    • perf: trivial static variable improve by @quininer in https://github.com/web-infra-dev/rspack/pull/10113
    • perf(core): remove json-parse-even-better-errors dependency by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10122
    • perf: define Rspack version to reduce require calls by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10121

    Exciting New Features πŸŽ‰

    • feat: rsdoctor module object add issuerPath property by @easy1090 in https://github.com/web-infra-dev/rspack/pull/10007
    • feat: persistent cache snapshot save file hash by default by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10050
    • feat: asset info support symbol key by @SyMind in https://github.com/web-infra-dev/rspack/pull/9871
    • feat(core): remove otel tracing support by @hardfist in https://github.com/web-infra-dev/rspack/pull/10067
    • feat: support svg-chunk-webpack-plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10066
    • feat: swc loader support emitAssertForImportAttributes config by @fireairforce in https://github.com/web-infra-dev/rspack/pull/9826
    • feat: improve lightningcss minimize warning by @SyMind in https://github.com/web-infra-dev/rspack/pull/10103

    Bug Fixes 🐞

    • fix(incremental): chunk id change should affect associate chunk by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10032
    • fix(wasm): shutdown async runtime and thread workers after finishing by @CPunisher in https://github.com/web-infra-dev/rspack/pull/9895
    • fix: remove progressbar instance when closing compiler by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10034
    • fix: should not rename webpack_require if declared in current scope by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10016
    • fix: should rename webpack_require pat in parameters by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10036
    • fix: failed to resolve tinypool when using parallel loader by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10040
    • fix: require with string raw by @SyMind in https://github.com/web-infra-dev/rspack/pull/10047
    • fix: dev server types by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10038
    • fix: async entry should have unique runtime by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10049
    • fix(incremental): revoked module shouldn't exist in built modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10051
    • fix: conflict hot update main content warning by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10059
    • fix: should remove module napi_ref after finish make by @SyMind in https://github.com/web-infra-dev/rspack/pull/10062
    • fix: should validate options of builtin swc loader by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10055
    • fix: context dependency with complex require by @SyMind in https://github.com/web-infra-dev/rspack/pull/10028
    • fix: import module entry dependency resolve options by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10070
    • fix(cli): remove JSCPU & LOGGING support by @hardfist in https://github.com/web-infra-dev/rspack/pull/10071
    • fix: allow lazyCompilation.serverUrl to end with slash by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10074
    • fix: should have correct interop for default exportsType by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10069
    • fix: ThreadsafeOneShotRef prevents event loop destroy by @SyMind in https://github.com/web-infra-dev/rspack/pull/10082
    • fix: allow assignment of require identifier by @inottn in https://github.com/web-infra-dev/rspack/pull/10093
    • fix(cli): simplify RSPACK_PROFILE by @hardfist in https://github.com/web-infra-dev/rspack/pull/10072
    • fix: compilation.chuks not corresponds to a unique jsobect by @SyMind in https://github.com/web-infra-dev/rspack/pull/10098
    • fix: hmr should not include unchanged module when adding a new runtime by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10061
    • fix: comma in regex value of magic comments by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10100
    • fix(wasm): add wasm fallback in checkVersion by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10097
    • fix(diagnostic): fix excessively large width causing format_args panics by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10109
    • fix(pnp): resolved wrong description file in yarn pnp mode by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10111
    • fix: use evaluate expression to extract hmr accept dependencies by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10107
    • fix: compilation chunks for each is undefined by @SyMind in https://github.com/web-infra-dev/rspack/pull/10112
    • fix: should skip rebuilding chunk graph if only specifier order change by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10104
    • fix(incremental): fallback when chunk depend on full hash by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10110
    • fix(core): fix async event tracing showing in perfetto by @hardfist in https://github.com/web-infra-dev/rspack/pull/10119

    Document Updates πŸ“–

    • docs: enhance Rsdoctor analysis guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10035
    • docs: lightningcss errorRecovery option by @SyMind in https://github.com/web-infra-dev/rspack/pull/10077
    • docs: rewrite tracing section by @hardfist in https://github.com/web-infra-dev/rspack/pull/10099
    • docs: fix tracing title by @hardfist in https://github.com/web-infra-dev/rspack/pull/10106
    • docs: update banner image by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10114
    • docs: add optimization.removeAvailableModules config by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10115

    Other Changes

    • chore: release v1.3.5 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/10031
    • chore: bump swc version to 22.4.0 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10033
    • chore: use Rslib to bundle @rspack/core by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/9899
    • test: cacheCases update dynamic file by write by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10039
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/9918
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/10042
    • chore(deps): update dependency @module-federation/runtime-tools to v0.12.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10046
    • chore(deps): update dependency @arco-design/web-react to ^2.66.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/10045
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10043
    • chore: keep debugger in rspack bundle by @hardfist in https://github.com/web-infra-dev/rspack/pull/10054
    • ci: lock cargo shear version by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10052
    • chore: merge rust & js loader & CPU Profiling together by @hardfist in https://github.com/web-infra-dev/rspack/pull/10009
    • chore(deps): update dependency webpack to v5.99.5 by @renovate in https://github.com/web-infra-dev/rspack/pull/10002
    • revert: lightningcss loader error recovery default value by @SyMind in https://github.com/web-infra-dev/rspack/pull/10076
    • Add minSizeReduction to SplitChunks CacheGroup by @kbruccoleri in https://github.com/web-infra-dev/rspack/pull/10073
    • chore(deps): update rspress to v2.0.0-alpha.12 by @renovate in https://github.com/web-infra-dev/rspack/pull/10087
    • chore(deps): update dependency jsdom to ^26.1.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10090
    • chore(deps): update dependency mime-types to v3 by @renovate in https://github.com/web-infra-dev/rspack/pull/10091
    • chore(deps): update yarn to v4 by @renovate in https://github.com/web-infra-dev/rspack/pull/10096
    • chore(deps): update github-actions (major) by @renovate in https://github.com/web-infra-dev/rspack/pull/10095
    • chore(deps): update react to ^19.1.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10094
    • refactor: improve render external module for module output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10080
    • chore: add tracing for hook call in define_hook macro by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10064
    • test: fix Jest haste module naming collision by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10105
    • chore: fork tracing-chrome for better support for perfetto by @hardfist in https://github.com/web-infra-dev/rspack/pull/10102
    • chore: add back wasm build check by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10053
    • refactor(incremental): use ChunkSetHashes for chunk render by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10117
    • chore: disable hook macro tracing by default by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10120
    • ci: add more JS extensions to workflow filters and format script by @stormslowly in https://github.com/web-infra-dev/rspack/pull/10123
    • Revert "refactor: improve render external module for module output" by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/10126
    • chore(deps): bump Rslib 0.6.6 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/10129
    • chore(deps): update dependency @module-federation/runtime-tools to v0.13.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10133
    • chore(deps): update rspress to v2.0.0-beta.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10132
    • chore(deps): update dependency webpack to v5.99.6 by @renovate in https://github.com/web-infra-dev/rspack/pull/10130
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/10131
    • chore(deps): bump Rslib 0.6.7 by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/10134

    New Contributors

    • @kbruccoleri made their first contribution in https://github.com/web-infra-dev/rspack/pull/10073

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.5...v1.3.6

    Open source β†’
  50. 1.3.515 Apr 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at release/v1.3.5 -->

    Rspack comes to Next.js πŸŽ‰

    We’re excited to introduce next-rspack, a community-driven plugin bringing direct Rspack support to Next.js.

    See the Rspack joins the Next.js ecosystem blog for details.

    <img src="https://github.com/user-attachments/assets/1de66c34-bcdb-4a4f-901a-88bb7e0df8ce" width="800" />

    What's Changed

    Performance Improvements ⚑

    • perf: js module loaders getter by @SyMind in https://github.com/web-infra-dev/rspack/pull/9955

    Exciting New Features πŸŽ‰

    • feat: adapter rspack-resolver async api by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9747
    • feat: rspack cacheable noop feature by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9990
    • feat: resolver restriction support regex by @SyMind in https://github.com/web-infra-dev/rspack/pull/9885

    Bug Fixes 🐞

    • fix: stablelize order of concated modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9968
    • fix: jsonpChunksLoadingWithCallback code format by @1714080902120 in https://github.com/web-infra-dev/rspack/pull/9923
    • fix: lightningcss loader report error by default by @SyMind in https://github.com/web-infra-dev/rspack/pull/9979
    • fix: external with properties array list in module format by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9980
    • fix: external module to pass webpack test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9981
    • fix: hmr wasm filename by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10010
    • fix: sometimes entry chunk hash not changes with full hash runtime modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9986
    • fix(wasm): align trait methods for native_fs by @CPunisher in https://github.com/web-infra-dev/rspack/pull/9999
    • fix: incorrect type signatures on Hash's digest and update methods by @hulin32 in https://github.com/web-infra-dev/rspack/pull/9608
    • fix: error when load binding multiple times by @SyMind in https://github.com/web-infra-dev/rspack/pull/10018
    • fix(incremental): dynamic add entries with infer async modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/10019
    • fix: covert optional import meta property to undefined by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10030
    • fix: worker alias with module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/10021

    Document Updates πŸ“–

    • docs: add rspack & next.js partner annoucement by @hardfist in https://github.com/web-infra-dev/rspack/pull/9962
    • docs: update blog tile and description on the list page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9969
    • docs: add next.js guide to sidebar by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9970
    • docs: translate Next.js blog to Chinese by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9974
    • docs: improve clarity in documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9977
    • docs: add dependency in glossary by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9972
    • docs: add a standalone ecosystem page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10004

    Other Changes

    • ci: split reusable-build.yml by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9941
    • chore: release v1.3.4 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9950
    • refactor: dynamic templates of javascript esm dependencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9945
    • refactor: dynamic templates of JavaScript amd and cjs dependencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9948
    • refactor: dynamic templates of javascript remain depenendencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9958
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/9951
    • refactor: dynamic templates of all dependencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9960
    • refactor: clean dependency template code by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9961
    • test: not to print unnecessary message when testing by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9963
    • ci: add lynx-stack to ecosystem-ci by @colinaaa in https://github.com/web-infra-dev/rspack/pull/9964
    • chore: use async trace style for chrome tracing by @hardfist in https://github.com/web-infra-dev/rspack/pull/9965
    • chore: remove unused scripts by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9973
    • ci: update lynx infra artifact action by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9975
    • ci: use node v22 in ecosystem-ci by @colinaaa in https://github.com/web-infra-dev/rspack/pull/9966
    • chore: use RefCell instead of Mutex in thread_local! by @quininer in https://github.com/web-infra-dev/rspack/pull/9978
    • chore: improve tracing by @hardfist in https://github.com/web-infra-dev/rspack/pull/9989
    • refactor: remove useless code by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9992
    • chore(deps): update dependency @rspack/plugin-react-refresh to ^1.2.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/10000
    • chore(deps): update dependency prebundle to ^1.3.3 by @renovate in https://github.com/web-infra-dev/rspack/pull/10001
    • chore: add more tracing data by @hardfist in https://github.com/web-infra-dev/rspack/pull/9994
    • chore(deps): update rspress to 2.0.0-alpha.11 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/10027

    New Contributors

    • @1714080902120 made their first contribution in https://github.com/web-infra-dev/rspack/pull/9923

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.4...v1.3.5

    Open source β†’
  51. 1.3.49 Apr 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.4 -->

    What's Changed

    Performance Improvements ⚑

    • perf: normal module readonly fields by @SyMind in https://github.com/web-infra-dev/rspack/pull/9949

    Bug Fixes 🐞

    • fix: generated name for splitted chunk by @SyMind in https://github.com/web-infra-dev/rspack/pull/9944

    Document Updates πŸ“–

    • docs: redirect rspack.org to rspack.dev by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9937
    • docs: Document content display error in 'experiments.mdx' by @lzxb in https://github.com/web-infra-dev/rspack/pull/9942

    Other Changes

    • refactor: clean dependency template code by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9934
    • ci: cache support self hosted runner by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9761
    • chore: release v1.3.3 by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9935
    • chore: bench collect imported identifiers by @SyMind in https://github.com/web-infra-dev/rspack/pull/9897
    • refactor: add dynamic dependency template implementation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9924
    • refactor: fix dependency templates not found error cross temp compilation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9943
    • ci: rustup install clippy by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9946
    • ci: fix rustup download target failed by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9957

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.3...v1.3.4

    Open source β†’
  52. 1.3.38 Apr 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.3 -->

    What's Changed

    Exciting New Features πŸŽ‰

    • feat(wasm): limit tokio max_blocking_threads to 1 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/9909

    Bug Fixes 🐞

    • fix: should walk for worker args by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9901
    • fix(deps): tinypool not being able to run on older node versions by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9925
    • fix: injecting custom runtime globals in runtimeRequirementInTree by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9930
    • fix(modern-module): leave non exist dependency to throw on resolve by @fi3ework in https://github.com/web-infra-dev/rspack/pull/9863

    Document Updates πŸ“–

    • docs: fix the incorrect parameters used when creating the DevServer by @Gehbt in https://github.com/web-infra-dev/rspack/pull/9919
    • docs: improve Next.js guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9920

    Other Changes

    • chore(deps): update dependency @arco-design/web-react to ^2.66.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9903
    • chore(deps): update dependency @rspack/plugin-react-refresh to ^1.1.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9905
    • chore(deps): update types by @renovate in https://github.com/web-infra-dev/rspack/pull/9908
    • chore(deps): update dependency @emnapi/core to ^1.4.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9904
    • chore(deps): update dependency mermaid to ^11.6.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9906
    • chore(deps): update dependency zx to v8.5.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9907
    • chore(deps): update dependency emnapi to ^1.4.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9912
    • chore(deps): update dependency csv-to-markdown-table to ^1.5.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9914
    • chore(deps): update dependency create-rstack to v1.4.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9911
    • chore: Upgrade Rust to nightly of 1.86.0 release date by @andersk in https://github.com/web-infra-dev/rspack/pull/9818
    • chore(deps): update dependency react-refresh to ^0.17.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9913
    • chore(deps): update dependency vitest to ^3.1.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/9917
    • chore(deps): update dependency ts-jest to v29.3.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/9916
    • chore(deps): update dependency less to v4.3.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9915
    • refactor: remove unused AsDependency trait by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9921
    • chore: rollback rust to nightly 2025-03-26 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9926
    • chore: remove unnecessary linked project by @hardfist in https://github.com/web-infra-dev/rspack/pull/9927
    • chore(deps): update rust crate tokio to v1.43.1 [security] by @renovate in https://github.com/web-infra-dev/rspack/pull/9932
    • test: use errors.js to test expected error by @fi3ework in https://github.com/web-infra-dev/rspack/pull/9936

    New Contributors

    • @Gehbt made their first contribution in https://github.com/web-infra-dev/rspack/pull/9919

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.2...v1.3.3

    Open source β†’
  53. 1.3.23 Apr 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.2 -->

    What's Changed

    Exciting New Features πŸŽ‰

    • feat(loader-parallel): support more LoaderContext APIs in parallel loader by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9884
    • feat(loader-parallel): support LoaderContext.fs as node:fs by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9888
    • feat: support rspack wasi with node.js by @CPunisher in https://github.com/web-infra-dev/rspack/pull/9872

    Bug Fixes 🐞

    • fix: should ensure cache exist when incremental rebuild chunk graph by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9886
    • fix: more stable named chunk ids by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9893
    • fix: multiple runtimeRequirementInTree js hook call by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9898
    • fix: should merge chunkCreateRoot instead of merge chunks later by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9892

    Document Updates πŸ“–

    • docs: invite @CPunisher to Rspack core team by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9882
    • docs: add basic guide for Next.js by @SyMind in https://github.com/web-infra-dev/rspack/pull/9894

    Other Changes

    • chore(deps): update babel to v7.27.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9878
    • chore(deps): update rspress to v2.0.0-alpha.8 by @renovate in https://github.com/web-infra-dev/rspack/pull/9875
    • refactor: convert result with message by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9866
    • test(loader-parallel): test parallel-option would only recieve true in parallel mode by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9883
    • chore(deps): update dependency webpack-dev-server to v5.2.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/9874
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/9794

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.1...v1.3.2

    Open source β†’
  54. 1.3.11 Apr 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.1 -->

    Highlights

    πŸš€ Support running JavaScript loader in parallel

    Added a way to run JavaScript loader in parallel driven by worker_threads, using the max thread available on the OS.

    This feature is still experimental. To enable parallelism, set Rule.use.parallel = true and experiments.parallelLoader = true:

    module.exports = {
      module: {
        rules: [
          {
              test: /\.less$/,
              use: [
                 {
                    loader: "less-loader",
    +               parallel: true,
                    options: { ... }
                 }
              ]
              type: "css"
          }
        ]
      },
      experiments: {
          css: true,
    +     parallelLoader: true
      }
    }
    

    In big projects like 100x antd.less, we got 2.26x performance boost. (Tested on Apple M2 Max, 64G)

    Related PR: https://github.com/web-infra-dev/rspack/pull/9807

    ⚠️ Fixed some critical bugs in 1.3.0

    • fix No unique code generation entry for unspecified runtime panic when using with devtool: 'eval-source-map'. Related issue: https://github.com/web-infra-dev/rspack/issues/9837
    • fix should have best match panic when using with rspack.CssExtractRspackPlugin. Related issue: https://github.com/web-infra-dev/rspack/issues/9833

    What's Changed

    Exciting New Features πŸŽ‰

    • feat: support experimental loader parallelism by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9807
    • feat: support passing PathBuf and &Path to Context by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9848

    Bug Fixes 🐞

    • fix: make Compilation check logs clearer by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9853
    • fix: should remove all sub chunks if chunk is removed by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9845
    • fix: add return statement for dynamic importing script externals by @Leonewu in https://github.com/web-infra-dev/rspack/pull/9842
    • fix(deps): update @rspack/dev-server to v1.1.1 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9860
    • fix: eval source map panic at getting codegen results by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9862

    Document Updates πŸ“–

    • docs: add Rspack 1.3 release blog by @SyMind in https://github.com/web-infra-dev/rspack/pull/9817
    • docs: add banner to 1.3 blog by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9830
    • docs: fix lynx link in en blog by @9aoy in https://github.com/web-infra-dev/rspack/pull/9831

    Other Changes

    • chore: release v1.3.0 by @SyMind in https://github.com/web-infra-dev/rspack/pull/9823
    • chore: improve tracing support by @hardfist in https://github.com/web-infra-dev/rspack/pull/9825
    • chore: bump napi-build 2.1.4 -> 2.1.6 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/9844
    • chore: adjust defaultRustTraceFilter to info by @hardfist in https://github.com/web-infra-dev/rspack/pull/9843
    • test(loader-parallel): disable cases that rely on import() in node 16 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9846
    • ci: alpine apk use stable release branch by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9854
    • chore: bump swc to v18.0.0 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/9850
    • chore(deps): update dependency @rslib/core to v0.6.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/9857
    • test: import from @rspack/test-tools instead of using relative paths by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9852
    • chore(deps): update dependency @rsbuild/plugin-sass to ^1.3.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/9856
    • refactor: convert errors and results by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9847
    • chore: bump napi 3.0.0-alpha.24 -> 3.0.0-alpha.33 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/9855
    • refactor: improve storage error and result by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9859
    • test: fix cjs js api tests by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/9868
    • test: fix unexpected missing errors and warnings by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9869

    New Contributors

    • @Leonewu made their first contribution in https://github.com/web-infra-dev/rspack/pull/9842

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.0...v1.3.1

    Open source β†’
  55. 1.3.028 Mar 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.0 -->

    What's Changed

    See Announcing Rspack 1.3 for more details.

    Breaking Changes πŸ› 

    • feat(deps)!: update SWC version to 16.5.0 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/9671

    Performance Improvements ⚑

    • perf: remove useless iterator in new code splitting and some allocations by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9821

    Exciting New Features πŸŽ‰

    • feat: support module subtype in js side by @SyMind in https://github.com/web-infra-dev/rspack/pull/9613
    • feat: implement module.generator.json.JSONParse by @colinaaa in https://github.com/web-infra-dev/rspack/pull/9666
    • feat: support read NormalModule.loaders by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9664
    • feat: incremental for new code splitting by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9667
    • feat: add extends property in config options by @hulin32 in https://github.com/web-infra-dev/rspack/pull/9617
    • feat: externals getResolve callback third argument by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9681
    • feat: js api support instranceof AsyncDependenciesBlock by @SyMind in https://github.com/web-infra-dev/rspack/pull/9661
    • feat: add file permission bits on copy by @hulin32 in https://github.com/web-infra-dev/rspack/pull/9650
    • feat(copyRspackPlugin): align transform api with webpack plugin by @fireairforce in https://github.com/web-infra-dev/rspack/pull/9714
    • feat: introduce par_iter_then_collect by @quininer in https://github.com/web-infra-dev/rspack/pull/9736
    • feat: implement CircularDependencyRspackPlugin by @faultyserver in https://github.com/web-infra-dev/rspack/pull/8876
    • feat!: introduce lazy compilation middleware by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9515
    • feat: support experiments build http by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/9741
    • feat: enable parallel code splitting by default by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9059
    • feat: support alias false by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9809
    • feat(compiler-builder): support BuilderError by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9627

    Bug Fixes 🐞

    • fix(commonjs-static): export unprovided variables by @fi3ework in https://github.com/web-infra-dev/rspack/pull/9630
    • fix: define with recursion value by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9646
    • fix: revoke dependency clean dependency at module and block by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9638
    • fix(core): use future_scope to run parallel future by @hardfist in https://github.com/web-infra-dev/rspack/pull/9637
    • fix: remove outdata compilation error by @SyMind in https://github.com/web-infra-dev/rspack/pull/9697
    • fix: rename loader item request to loader by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9704
    • fix: should convert diagnostic.loc to string by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9695
    • fix: napi register module twice by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9648
    • fix: improve diagnostic messages for Subresource Integrity plugin by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9725
    • fix(module_federation_runtime_plugin): add support for root output dir by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/9620
    • fix(rspack_plugin_mf): Track all referenced chunks by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/9707
    • fix: source map line mapping bug by @SyMind in https://github.com/web-infra-dev/rspack/pull/9712
    • fix: getter and setter type in module subtype by @SyMind in https://github.com/web-infra-dev/rspack/pull/9772
    • fix(css): local_names may be None by @inottn in https://github.com/web-infra-dev/rspack/pull/9748
    • fix: array in asset info by @SyMind in https://github.com/web-infra-dev/rspack/pull/9774
    • fix: import-assertion test case should not run in node 16 by @SyMind in https://github.com/web-infra-dev/rspack/pull/9777
    • fix: optimize circular-dependency-check log by @fireairforce in https://github.com/web-infra-dev/rspack/pull/9776
    • fix(modern-module): correct count non export star connections by @fi3ework in https://github.com/web-infra-dev/rspack/pull/9784
    • fix: getModuleId should return number for deterministic moduleIds by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9785
    • fix: compilation.*_dependencies iterator ignore added items when sync call by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9782
    • fix: call invalid hook for watching.invalidateWithChangesAndRemovals() by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9789
    • fix: align ExternalModule module type with webpack's implementation by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/9791
    • fix: buildHttp upgrade false by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9801
    • fix(plugin_http): implement respond_with_url_module by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/9800
    • fix: sort diagnostics before push to compilation by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9824

    Document Updates πŸ“–

    • docs: improve publicPath with more details and examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9629
    • docs: add entrypoint.getEntrypointChunk to documentation by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9641
    • docs: add new customer by @kwonoj in https://github.com/web-infra-dev/rspack/pull/9649
    • docs: Writing Plugins Compatible with Rspack and Webpack by @SyMind in https://github.com/web-infra-dev/rspack/pull/9658
    • docs: improve docs for amd by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9674
    • docs(zh): fix typo in contribute/index.mdx by @coding-ice in https://github.com/web-infra-dev/rspack/pull/9680
    • docs: apply new theme colors to the documentation site by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9689
    • docs: correct experiments.outputModule default value by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9694
    • docs: improve loader related documentations by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9718
    • docs: polish extends configuration and blog titles by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9719
    • docs: add afterProcessAssets and shouldEmit example by @9aoy in https://github.com/web-infra-dev/rspack/pull/9746
    • docs: add guide for assets base path by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9749
    • docs: add modern-module docs by @Timeless0911 in https://github.com/web-infra-dev/rspack/pull/9806
    • docs: improve lazy compilation guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9819

    Other Changes

    • chore: release v1.2.8 by @SyMind in https://github.com/web-infra-dev/rspack/pull/9621
    • chore: use statements for better clarity and consistency by @reddevilmidzy in https://github.com/web-infra-dev/rspack/pull/9578
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/9632
    • chore(deps): update pnpm to v9.15.9 by @renovate in https://github.com/web-infra-dev/rspack/pull/9633
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/9631
    • test: modify concurrent to 5 to increase the config test concurrency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9628
    • test(modern-module): add snapshot test by @fi3ework in https://github.com/web-infra-dev/rspack/pull/9640
    • test(webpack): Sync new webpack cases tests by @KuSh in https://github.com/web-infra-dev/rspack/pull/9639
    • chore(deps): update Rspress to 2.0.0-alpha.2 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9647
    • chore(deps): update dependency lint-staged to ^15.5.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9651
    • test(webpack): Sync new webpack fixtures and hotCases tests by @KuSh in https://github.com/web-infra-dev/rspack/pull/9642
    • chore: upgrade @rspack/dev-server and webpack-dev-server by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9660
    • chore: clean unused test dev dependencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9662
    • chore: test mac on main branch by @hardfist in https://github.com/web-infra-dev/rspack/pull/9673
    • chore(deps): update dependency css-loader to v7 by @renovate in https://github.com/web-infra-dev/rspack/pull/9653
    • test(webpack): Sync new webpack watchCases tests by @KuSh in https://github.com/web-infra-dev/rspack/pull/9644
    • test(webpack): Sync new webpack statsCases tests by @KuSh in https://github.com/web-infra-dev/rspack/pull/9643
    • test(webpack): Sync new webpack configCases/css tests by @KuSh in https://github.com/web-infra-dev/rspack/pull/9655
    • refactor: remove async-scope by @hardfist in https://github.com/web-infra-dev/rspack/pull/9677
    • chore: remove unused feature for lightningcss by @hardfist in https://github.com/web-infra-dev/rspack/pull/9682
    • test: ecosystem CI add plugin test by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9670
    • chore: remove zod from exports by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9688
    • chore(deps): update webpack-bundle-analyzer and webpack-merge by @renovate in https://github.com/web-infra-dev/rspack/pull/9615
    • chore(deps): update dependency @swc/core to v1.11.9 by @renovate in https://github.com/web-infra-dev/rspack/pull/9520
    • chore: disable lto for ci by @hardfist in https://github.com/web-infra-dev/rspack/pull/9686
    • refactor: modify module.code_generation to async fn by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9626
    • chore: only keep one bench entry in bench by @hardfist in https://github.com/web-infra-dev/rspack/pull/9693
    • chore(deps): update dependency @module-federation/runtime-tools to v0.11.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9593
    • chore: cargo fmt imports_granularity set crate by @SyMind in https://github.com/web-infra-dev/rspack/pull/9672
    • chore: change frozen-lockfile default value to true by @hardfist in https://github.com/web-infra-dev/rspack/pull/9698
    • refactor: remove block_on in rspack_storage by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9700
    • chore: update rspack-resolver to v0.5.3 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9702
    • refactor: async runtime_module.generate by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9701
    • chore: disable tokio lifo optimization by @hardfist in https://github.com/web-infra-dev/rspack/pull/9706
    • refactor: remove block_on in runtime modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9708
    • chore: revert "chore: disable tokio lifo optimization" by @hardfist in https://github.com/web-infra-dev/rspack/pull/9711
    • refactor: async render chunk hooks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9709
    • release: 1.3.0-beta.0 by @SyMind in https://github.com/web-infra-dev/rspack/pull/9715
    • refactor: remove block_on in devtool by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9717
    • chore: bump swc to v16.7.0 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/9720
    • refactor: remove block_on in split chunk name and test by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9722
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/9729
    • refactor: remove block_on in split chunk filter by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9732
    • test: enable concurrent mode of block_on related test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9735
    • refactor: remove block_on in asset generator by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9733
    • chore: add rayon worker name and forbid block_on by @hardfist in https://github.com/web-infra-dev/rspack/pull/9734
    • test(webpack): Sync new webpack configCases tests: dll-plugin and web by @KuSh in https://github.com/web-infra-dev/rspack/pull/9739
    • test(webpack): Remove unneeded, always truthy test filters by @KuSh in https://github.com/web-infra-dev/rspack/pull/9743
    • test(webpack): Sync new webpack configCases tests: runtime and source-map by @KuSh in https://github.com/web-infra-dev/rspack/pull/9740
    • test(webpack): Sync new webpack configCases tests: asset-modules, container, ecmaVersion and wasm by @KuSh in https://github.com/web-infra-dev/rspack/pull/9742
    • chore(deps/test-tools): add ghost dependences by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9754
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/9728
    • chore(deps): update dependency @swc/plugin-remove-console to v7 by @renovate in https://github.com/web-infra-dev/rspack/pull/9652
    • chore: Consolidate and organize use statements for better readability by @reddevilmidzy in https://github.com/web-infra-dev/rspack/pull/9751
    • refactor: remove blocking_call_with_sync in module layer filter by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9757
    • refactor: async ids hooks and remove blocking in progress plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9758
    • refactor: remove blocking call in json parser and SRI plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9760
    • chore(deps): update rspress to v2.0.0-alpha.5 by @renovate in https://github.com/web-infra-dev/rspack/pull/9763
    • chore(deps): update dependency mermaid to ^11.5.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9764
    • refactor: async process runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9750
    • test(webpack): Sync new webpack configCases tests #5 by @KuSh in https://github.com/web-infra-dev/rspack/pull/9767
    • test(webpack): Sync new webpack configCases tests #6 by @KuSh in https://github.com/web-infra-dev/rspack/pull/9768
    • test(webpack): Sync new webpack configCases tests #7 by @KuSh in https://github.com/web-infra-dev/rspack/pull/9769
    • chore: import-assertion test case run failed by @SyMind in https://github.com/web-infra-dev/rspack/pull/9781
    • chore(deps): bump swc to 16.10.0 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/9773
    • refactor: async module hash by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9779
    • refactor(rspack): simplify relative path check in stringifyRequest function by @Simon-He95 in https://github.com/web-infra-dev/rspack/pull/9788
    • chore: fix typo by @Simon-He95 in https://github.com/web-infra-dev/rspack/pull/9790
    • chore: release v1.3.0-beta.1 by @SyMind in https://github.com/web-infra-dev/rspack/pull/9775
    • chore(deps): update rspress to v2.0.0-alpha.6 by @renovate in https://github.com/web-infra-dev/rspack/pull/9795
    • refactor: async lazy compilation test tsfn by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9762
    • refactor: async parser_and_generator hashing by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9792
    • refactor: async hooks in rust by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9799
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/9793
    • refactor: clean threadsafe function methods by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9803
    • chore(deps): update rspress to v2.0.0-alpha.7 by @renovate in https://github.com/web-infra-dev/rspack/pull/9805
    • refactor: async public path by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9808
    • refactor: use Filename uniformly by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9813
    • refactor: async filename rendering by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9814

    New Contributors

    • @reddevilmidzy made their first contribution in https://github.com/web-infra-dev/rspack/pull/9578
    • @kwonoj made their first contribution in https://github.com/web-infra-dev/rspack/pull/9649
    • @coding-ice made their first contribution in https://github.com/web-infra-dev/rspack/pull/9680
    • @fireairforce made their first contribution in https://github.com/web-infra-dev/rspack/pull/9714

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.2.8...v1.3.0

    Open source β†’
  56. 1.3.0-beta.125 Mar 2025pre-release
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.0-beta.1 -->

    Highlights πŸ’‘

    Introduce lazy compilation middleware

    In the past, lazy compilation required starting a separate server to handle special requests which caused port, server config and proxy inconsistency, now its core capability is encapsulated as an express style middleware.

    Developers only need a few lines of code to embed lazy compilation ability into their custom development server, solving the configuration inconsistent problem of multiple service instances. Users of @rspack/cli can use it without any changes, custom dev server users can easily access it through a middleware, check the following example, you can also see more detail in our official docs.

    import { experiments, rspack } from '@rspack/core';
    import config from './rspack.config.mjs';
    import DevServer from 'webpack-dev-server';
    
    const compiler = rspack(config);
    
    const middleware = experiments.lazyCompilationMiddleware(
      compiler,
      { 
        entries: true, // lazy compile entries
        imports: true, // lazy compile dynamic imports
        ...config.experiments?.lazyCompilation
      }
    );
    
    const server = new DevServer(compiler, {
      port: 3000,
      setupMiddlewares(other) {
        return [middleware, ...other];
      },
    });
    
    server.start();
    

    CircularDependencyRspackPlugin

    We added a built-in plugin CircularDependencyRspackPlugin to Rspack to detect circular dependencies between runtime modules. Since the plugin is based on Rust, it is directly integrated with the Rspack module graph, avoiding expensive copying and serialization costs. The plugin traverses the module graph of each entry once to find all circular references, rather than checking modules individually, which means that the performance of the plugin is better.

    Usage reference:

    import { rspack } from '@rspack/core';
    
    const config = {
      plugins: [
        new rspack.CircularDependencyRspackPlugin({
          failOnError: true,
        })
      ]
    }
    

    What's Changed

    Exciting New Features πŸŽ‰

    • feat(copyRspackPlugin): align transform api with webpack plugin by @fireairforce in https://github.com/web-infra-dev/rspack/pull/9714
    • feat: introduce par_iter_then_collect by @quininer in https://github.com/web-infra-dev/rspack/pull/9736
    • feat: implement CircularDependencyRspackPlugin by @faultyserver in https://github.com/web-infra-dev/rspack/pull/8876
    • feat!: introduce lazy compilation middleware by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9515

    Bug Fixes 🐞

    • fix: improve diagnostic messages for Subresource Integrity plugin by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9725
    • fix(module_federation_runtime_plugin): add support for root output dir by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/9620
    • fix(rspack_plugin_mf): Track all referenced chunks by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/9707
    • fix: source map line mapping bug by @SyMind in https://github.com/web-infra-dev/rspack/pull/9712
    • fix: getter and setter type in module subtype by @SyMind in https://github.com/web-infra-dev/rspack/pull/9772
    • fix(css): local_names may be None by @inottn in https://github.com/web-infra-dev/rspack/pull/9748
    • fix: array in asset info by @SyMind in https://github.com/web-infra-dev/rspack/pull/9774
    • fix: import-assertion test case should not run in node 16 by @SyMind in https://github.com/web-infra-dev/rspack/pull/9777
    • fix: optimize circular-dependency-check log by @fireairforce in https://github.com/web-infra-dev/rspack/pull/9776
    • fix(modern-module): correct count non export star connections by @fi3ework in https://github.com/web-infra-dev/rspack/pull/9784
    • fix: getModuleId should return number for deterministic moduleIds by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9785
    • fix: compilation.*_dependencies iterator ignore added items when sync call by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9782

    Document Updates πŸ“–

    • docs: improve loader related documentations by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9718
    • docs: polish extends configuration and blog titles by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9719
    • docs: add afterProcessAssets and shouldEmit example by @9aoy in https://github.com/web-infra-dev/rspack/pull/9746
    • docs: add guide for assets base path by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9749

    Other Changes

    • refactor: async render chunk hooks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9709
    • release: 1.3.0-beta.0 by @SyMind in https://github.com/web-infra-dev/rspack/pull/9715
    • refactor: remove block_on in devtool by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9717
    • chore: bump swc to v16.7.0 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/9720
    • refactor: remove block_on in split chunk name and test by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9722
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/9729
    • refactor: remove block_on in split chunk filter by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9732
    • test: enable concurrent mode of block_on related test cases by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9735
    • refactor: remove block_on in asset generator by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9733
    • chore: add rayon worker name and forbid block_on by @hardfist in https://github.com/web-infra-dev/rspack/pull/9734
    • test(webpack): Sync new webpack configCases tests: dll-plugin and web by @KuSh in https://github.com/web-infra-dev/rspack/pull/9739
    • test(webpack): Remove unneeded, always truthy test filters by @KuSh in https://github.com/web-infra-dev/rspack/pull/9743
    • test(webpack): Sync new webpack configCases tests: runtime and source-map by @KuSh in https://github.com/web-infra-dev/rspack/pull/9740
    • test(webpack): Sync new webpack configCases tests: asset-modules, container, ecmaVersion and wasm by @KuSh in https://github.com/web-infra-dev/rspack/pull/9742
    • chore(deps/test-tools): add ghost dependences by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9754
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/9728
    • chore(deps): update dependency @swc/plugin-remove-console to v7 by @renovate in https://github.com/web-infra-dev/rspack/pull/9652
    • chore: Consolidate and organize use statements for better readability by @reddevilmidzy in https://github.com/web-infra-dev/rspack/pull/9751
    • refactor: remove blocking_call_with_sync in module layer filter by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9757
    • refactor: async ids hooks and remove blocking in progress plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9758
    • refactor: remove blocking call in json parser and SRI plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9760
    • chore(deps): update rspress to v2.0.0-alpha.5 by @renovate in https://github.com/web-infra-dev/rspack/pull/9763
    • chore(deps): update dependency mermaid to ^11.5.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9764
    • refactor: async process runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9750
    • test(webpack): Sync new webpack configCases tests #5 by @KuSh in https://github.com/web-infra-dev/rspack/pull/9767
    • test(webpack): Sync new webpack configCases tests #6 by @KuSh in https://github.com/web-infra-dev/rspack/pull/9768
    • test(webpack): Sync new webpack configCases tests #7 by @KuSh in https://github.com/web-infra-dev/rspack/pull/9769
    • chore: import-assertion test case run failed by @SyMind in https://github.com/web-infra-dev/rspack/pull/9781
    • chore(deps): bump swc to 16.10.0 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/9773
    • refactor: async module hash by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9779
    • refactor(rspack): simplify relative path check in stringifyRequest function by @Simon-He95 in https://github.com/web-infra-dev/rspack/pull/9788

    New Contributors

    • @fireairforce made their first contribution in https://github.com/web-infra-dev/rspack/pull/9714

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.3.0-beta.0...v1.3.0-beta.1

    Open source β†’
  57. 1.3.0-beta.018 Mar 2025pre-release
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.3.0-beta.0 -->

    Highlights πŸ’‘

    Support for the extends option

    The rspack.config.js now supports an extends option, which is used to extend configurations from other files or packages. This allows you to create a base configuration and extend it for different environments or use cases.

    Example usage:

    export default {
      extends: './base.rspack.config.mjs',
      // Override or add to the base configuration
      output: {
        filename: '[name].bundle.js',
      },
    };
    

    Special thanks to @hulin32 for contributing this feature: #9617. πŸŽ‰

    What's Changed

    Breaking Changes πŸ› 

    • feat(compiler-builder)!: support BuilderError by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9627
    • feat(deps)!: update SWC version to 16.5.0 by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/9671

    Exciting New Features πŸŽ‰

    • feat: support module subtype in js side by @SyMind in https://github.com/web-infra-dev/rspack/pull/9613
    • feat: implement module.generator.json.JSONParse by @colinaaa in https://github.com/web-infra-dev/rspack/pull/9666
    • feat: support read NormalModule.loaders by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9664
    • feat: incremental for new code splitting by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9667
    • feat: add extends property in config options by @hulin32 in https://github.com/web-infra-dev/rspack/pull/9617
    • feat: externals getResolve callback third argument by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9681
    • feat: js api support instranceof AsyncDependenciesBlock by @SyMind in https://github.com/web-infra-dev/rspack/pull/9661
    • feat: add file permission bits on copy by @hulin32 in https://github.com/web-infra-dev/rspack/pull/9650

    Bug Fixes 🐞

    • fix(commonjs-static): export unprovided variables by @fi3ework in https://github.com/web-infra-dev/rspack/pull/9630
    • fix: define with recursion value by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9646
    • fix: revoke dependency clean dependency at module and block by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9638
    • fix(core): use future_scope to run parallel future by @hardfist in https://github.com/web-infra-dev/rspack/pull/9637
    • fix: remove outdata compilation error by @SyMind in https://github.com/web-infra-dev/rspack/pull/9697
    • fix: rename loader item request to loader by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9704
    • fix: should convert diagnostic.loc to string by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9695
    • fix: napi register module twice by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9648

    Document Updates πŸ“–

    • docs: improve publicPath with more details and examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9629
    • docs: add entrypoint.getEntrypointChunk to documentation by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9641
    • docs: add new customer by @kwonoj in https://github.com/web-infra-dev/rspack/pull/9649
    • docs: Writing Plugins Compatible with Rspack and Webpack by @SyMind in https://github.com/web-infra-dev/rspack/pull/9658
    • docs: improve docs for amd by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9674
    • docs(zh): fix typo in contribute/index.mdx by @coding-ice in https://github.com/web-infra-dev/rspack/pull/9680
    • docs: apply new theme colors to the documentation site by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9689
    • docs: correct experiments.outputModule default value by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9694

    Other Changes

    • chore: release v1.2.8 by @SyMind in https://github.com/web-infra-dev/rspack/pull/9621
    • chore: use statements for better clarity and consistency by @reddevilmidzy in https://github.com/web-infra-dev/rspack/pull/9578
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/9632
    • chore(deps): update pnpm to v9.15.9 by @renovate in https://github.com/web-infra-dev/rspack/pull/9633
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/9631
    • test: modify concurrent to 5 to increase the config test concurrency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9628
    • test(modern-module): add snapshot test by @fi3ework in https://github.com/web-infra-dev/rspack/pull/9640
    • test(webpack): Sync new webpack cases tests by @KuSh in https://github.com/web-infra-dev/rspack/pull/9639
    • chore(deps): update Rspress to 2.0.0-alpha.2 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9647
    • chore(deps): update dependency lint-staged to ^15.5.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9651
    • test(webpack): Sync new webpack fixtures and hotCases tests by @KuSh in https://github.com/web-infra-dev/rspack/pull/9642
    • chore: upgrade @rspack/dev-server and webpack-dev-server by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9660
    • chore: clean unused test dev dependencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9662
    • chore: test mac on main branch by @hardfist in https://github.com/web-infra-dev/rspack/pull/9673
    • chore(deps): update dependency css-loader to v7 by @renovate in https://github.com/web-infra-dev/rspack/pull/9653
    • test(webpack): Sync new webpack watchCases tests by @KuSh in https://github.com/web-infra-dev/rspack/pull/9644
    • test(webpack): Sync new webpack statsCases tests by @KuSh in https://github.com/web-infra-dev/rspack/pull/9643
    • test(webpack): Sync new webpack configCases/css tests by @KuSh in https://github.com/web-infra-dev/rspack/pull/9655
    • refactor: remove async-scope by @hardfist in https://github.com/web-infra-dev/rspack/pull/9677
    • chore: remove unused feature for lightningcss by @hardfist in https://github.com/web-infra-dev/rspack/pull/9682
    • test: ecosystem CI add plugin test by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9670
    • chore: remove zod from exports by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9688
    • chore(deps): update webpack-bundle-analyzer and webpack-merge by @renovate in https://github.com/web-infra-dev/rspack/pull/9615
    • chore(deps): update dependency @swc/core to v1.11.9 by @renovate in https://github.com/web-infra-dev/rspack/pull/9520
    • chore: disable lto for ci by @hardfist in https://github.com/web-infra-dev/rspack/pull/9686
    • refactor: modify module.code_generation to async fn by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9626
    • chore: only keep one bench entry in bench by @hardfist in https://github.com/web-infra-dev/rspack/pull/9693
    • chore(deps): update dependency @module-federation/runtime-tools to v0.11.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9593
    • chore: cargo fmt imports_granularity set crate by @SyMind in https://github.com/web-infra-dev/rspack/pull/9672
    • chore: change frozen-lockfile default value to true by @hardfist in https://github.com/web-infra-dev/rspack/pull/9698
    • refactor: remove block_on in rspack_storage by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9700
    • chore: update rspack-resolver to v0.5.3 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9702
    • refactor: async runtime_module.generate by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9701
    • chore: disable tokio lifo optimization by @hardfist in https://github.com/web-infra-dev/rspack/pull/9706
    • refactor: remove block_on in runtime modules by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9708
    • chore: revert "chore: disable tokio lifo optimization" by @hardfist in https://github.com/web-infra-dev/rspack/pull/9711

    New Contributors

    • @reddevilmidzy made their first contribution in https://github.com/web-infra-dev/rspack/pull/9578
    • @kwonoj made their first contribution in https://github.com/web-infra-dev/rspack/pull/9649
    • @coding-ice made their first contribution in https://github.com/web-infra-dev/rspack/pull/9680

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.2.8...v1.3.0-beta.0

    Open source β†’
  58. 1.2.811 Mar 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.2.8 -->

    Highlights πŸ’‘

    Optimized memory consumption while rebuilding

    Bumped Mimalloc to v3 to lift memory usage issue while rebuilding on macOS. https://github.com/web-infra-dev/rspack/pull/9533

    A user shared the following results after testing the 1.2.8:

    "The canary version solves the memory leak (almost) completely for me πŸ₯³."

    Version Initial Compile After 10 HMR
    1.2.2 4.57 GB 5.48 GB
    1.2.7 3.93 GB 4.18 GB
    1.2.8-canary-3d971bbf-20250304 3.66 GB 3.72 GB

    The 1.2.8 demonstrates a ~10% improvement over 1.2.7.

    What's Changed

    Exciting New Features πŸŽ‰

    • feat: render runtime template with dojang by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/9501
    • feat(memory-allocator): use mimalloc-v3 on macOS and bump mimalloc to v2.1.7 on other platforms by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9533
    • feat(cli): rspack preview support for nodeEnv flag and default env by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9543
    • feat(create-rspack): add preview script and remove cross-env by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9544
    • feat: module info header plugin by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9411
    • feat(diagnostic): support JSONError diagnostic in resolver by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9566
    • feat(wasm): support wasm compilation by @CPunisher in https://github.com/web-infra-dev/rspack/pull/9585
    • feat(core): enhanced version hashing to support directory build dependencies by @caohuilin in https://github.com/web-infra-dev/rspack/pull/9604
    • feat: support entrypoint.getEntrypointChunk() by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9625

    Bug Fixes 🐞

    • fix: should give js entry dependency id when hit cache by @SyMind in https://github.com/web-infra-dev/rspack/pull/9535
    • fix: change module matchResource in loader by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9536
    • fix: should re-build chunk graph when adding a entry connection by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9537
    • fix(lazy-compilation): should have separate state in multi-compiler by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9545
    • fix(html): include innerHTML content in rendered asset tags by @faultyserver in https://github.com/web-infra-dev/rspack/pull/9526
    • fix: copy filename_template into split chunks by @henryqdineen in https://github.com/web-infra-dev/rspack/pull/8900
    • fix: require_ensure block's dep by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9590
    • fix: add support for using id placeholder in the webassemblyModuleFilename by @inottn in https://github.com/web-infra-dev/rspack/pull/9603
    • fix: css url get target asset module url panic by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9607
    • fix: support access to userRequest of ExternalModule by @inottn in https://github.com/web-infra-dev/rspack/pull/9602
    • fix(core): remove blocking to avoid deadlock for multi compiler by @hardfist in https://github.com/web-infra-dev/rspack/pull/9587

    Document Updates πŸ“–

    • docs: fix invalid link in roadmap by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9539
    • docs: invite @stormslowly to Rspack core team by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9546
    • docs: add Rspeedy and Lynx to ecosystem by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9556
    • docs: add Angular Rspack and update example repo link by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9577
    • docs: add debugging guide by @hardfist in https://github.com/web-infra-dev/rspack/pull/9540
    • docs: update quick start guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9600
    • docs: deprecate sri option of HTML plugin by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9610

    Other Changes

    • chore: release v1.2.7 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9527
    • test: run watch cases concurrently by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9541
    • refactor(rust): improve replace_all_placeholder by @shulaoda in https://github.com/web-infra-dev/rspack/pull/9525
    • test: run partial cases concurrently by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9547
    • chore(deps): update rspress to v1.42.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/9519
    • chore(deps): update dependency create-rstack to v1.3.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9548
    • chore(deps): update dependency tsup to ^8.4.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9549
    • chore(deps): update dependency prettier to v3.5.3 by @renovate in https://github.com/web-infra-dev/rspack/pull/9551
    • chore(deps): update rust crate rspack_resolver to 0.5.2 by @renovate in https://github.com/web-infra-dev/rspack/pull/9553
    • chore(deps): update babel by @renovate in https://github.com/web-infra-dev/rspack/pull/9555
    • chore(deps): update yarn to v3.8.7 by @renovate in https://github.com/web-infra-dev/rspack/pull/9554
    • test: fix import failed while running cases concurrently by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9558
    • test: split config snapshot to each case by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9559
    • ci: run api and doc coverage check in lint job by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9561
    • chore: remove unnecessary console in test by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9565
    • build: Set optimization level in per-crate basis by @kdy1 in https://github.com/web-infra-dev/rspack/pull/9400
    • chore(deps): Dedupe pnpm dependencies by @KuSh in https://github.com/web-infra-dev/rspack/pull/9563
    • chore: bench stats.toJson() by @SyMind in https://github.com/web-infra-dev/rspack/pull/9569
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/9552
    • chore: split and group .github/action by features by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9574
    • chore: ecosystem benchmark should download artifact from github by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9579
    • ci: install nightly components manually by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9576
    • chore(deps): update dependency babel-loader to v10 by @renovate in https://github.com/web-infra-dev/rspack/pull/9582
    • chore(deps): update rspress to v1.43.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9580
    • test: rollback windows ci profile to dev by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9583
    • test: run config and hot cases concurrently by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9560
    • test: pass more webpack test after ModuleInfoHeaderPlugin finished by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9571
    • chore: align to wepack chunk load global's double quote by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9589
    • chore(deps): update dependency @types/ws to v8.18.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9594
    • chore(deps): update dependency axios to ^1.8.2 by @renovate in https://github.com/web-infra-dev/rspack/pull/9595
    • chore(deps): update dependency core-js to v3.41.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9596
    • chore(deps): update rspress to v1.43.1 by @renovate in https://github.com/web-infra-dev/rspack/pull/9597
    • chore(deps): update dependency html-loader to ^5.1.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9598
    • chore(deps): update dependency zx to v8.4.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/9599
    • test: jsdom runner module wrapper by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9609
    • test: should not output too much logs during the test by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9612
    • refactor: add unconstrained to tokio spawn tasks by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9611
    • chore(workflow): add interactive debug test launch by @hardfist in https://github.com/web-infra-dev/rspack/pull/9591
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/9550
    • test: remove color setting and node warnings by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9622
    • chore: add build:wasm scripts by @hardfist in https://github.com/web-infra-dev/rspack/pull/9623

    New Contributors

    • @faultyserver made their first contribution in https://github.com/web-infra-dev/rspack/pull/9526
    • @henryqdineen made their first contribution in https://github.com/web-infra-dev/rspack/pull/8900
    • @kdy1 made their first contribution in https://github.com/web-infra-dev/rspack/pull/9400

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.2.7...v1.2.8

    Open source β†’
  59. 1.2.73 Mar 2025
    Release notes

    <!-- Release notes generated using configuration in .github/release.yml at v1.2.7 -->

    Highlights πŸ’‘

    ⚑️ Up to 20% faster on macOS

    On macOS, Rspack v1.2.7 is up to 20% faster than v1.2.6. See https://github.com/web-infra-dev/rspack/pull/9518 for details.

    <img src="https://github.com/user-attachments/assets/268e38af-67a1-4bd4-99e9-152b04f7b03e" width="700" />

    🌿 20% less HMR memory usage

    Name Base (2025-02-28  2b45815) Current Change
    threejs_development-mode_10x_hmr + rss memory 1137 MiB Β± 129 MiB 890 MiB Β± 293 MiB -21.72 %

    To find out more, follow this link; and this is the benchmark report.

    What's Changed

    Performance Improvements ⚑

    • perf: avoid create new dependency for add include by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9505
    • perf: try reduce max_blocking_threads to save memory and reduce fs contention by @hardfist in https://github.com/web-infra-dev/rspack/pull/9518

    Exciting New Features πŸŽ‰

    • feat: render more runtime template with dojang by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/9444 https://github.com/web-infra-dev/rspack/pull/9447 https://github.com/web-infra-dev/rspack/pull/9450 https://github.com/web-infra-dev/rspack/pull/9487 https://github.com/web-infra-dev/rspack/pull/9452 https://github.com/web-infra-dev/rspack/pull/9491 https://github.com/web-infra-dev/rspack/pull/9496 https://github.com/web-infra-dev/rspack/pull/9509 https://github.com/web-infra-dev/rspack/pull/9498
    • feat: amd context require by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9495
    • feat: compiler.run add options to set modifiedFiles and removedFiles by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9475
    • feat: add contextInfo.issuerLayer for nmf resolve hooks by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9504
    • feat: js api get outgoing connections in order by @SyMind in https://github.com/web-infra-dev/rspack/pull/9510
    • feat(memory-cache): add maxGenerations support by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9517
    • feat: improve add include error msg by @SyMind in https://github.com/web-infra-dev/rspack/pull/9529
    • feat(ci): enable cfa by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9470

    Bug Fixes 🐞

    • fix: hmr should work when moving module between different runtime by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9412
    • fix: persistent cache skip calc modified_files when rebuild by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9448
    • fix: hash runtime condition for connection by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9456
    • fix: detect module graph change right before build_chunk_graph by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9453
    • fix: unify js assets info type by @SyMind in https://github.com/web-infra-dev/rspack/pull/9464
    • fix: commonjs static library mode by @hai-x in https://github.com/web-infra-dev/rspack/pull/9390
    • fix(cli): failed to run preview with TS config file by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9468
    • fix: handle css with BOM by @inottn in https://github.com/web-infra-dev/rspack/pull/9467
    • fix: rebuild ignore modules contain built-in loader errors by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9482
    • fix: concate with external runtime specific modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/9490
    • fix: add_include can not incremental by @SyMind in https://github.com/web-infra-dev/rspack/pull/9423
    • fix: entry dependency passed to addInclude should be used in module graph by @SyMind in https://github.com/web-infra-dev/rspack/pull/9476
    • fix(rspack_plugin_runtime): do not render chunks that only contain non-js module types by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/9521
    • fix: update asset can return undefined by @SyMind in https://github.com/web-infra-dev/rspack/pull/9530

    Document Updates πŸ“–

    • docs: complete loader context API doc and JSDoc by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9478
    • docs: fix the reference to process asset stages in examples by @xbzhang2020 in https://github.com/web-infra-dev/rspack/pull/9485
    • docs: compiler.run add option param by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/9503
    • docs: update CRA migration guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9512
    • docs: update local debugging command by @KuSh in https://github.com/web-infra-dev/rspack/pull/9522
    • docs: update Module Federation syntax downgrade FAQ by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9528

    Other Changes

    • chore: release v1.2.6 by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/9446
    • chore(deps): update npm dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/9462
    • chore(deps): update pnpm to v9.15.6 by @renovate in https://github.com/web-infra-dev/rspack/pull/9463
    • chore(deps): update dependency prettier to v3.5.2 by @renovate in https://github.com/web-infra-dev/rspack/pull/9459
    • test: add runner cache for better test performance by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9449
    • chore: reduce debug symbol size by @hardfist in https://github.com/web-infra-dev/rspack/pull/9465
    • test: move plugin test to eco-ci by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9466
    • test: lazy create stats in runner by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9469
    • chore: mark compiler.compile as private method by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/9472
    • ci: save cache in test task by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9474
    • chore(deps): update github-actions by @renovate in https://github.com/web-infra-dev/rspack/pull/9458
    • chore: use tmpdir to avoid no space left error by @hardfist in https://github.com/web-infra-dev/rspack/pull/9486
    • test: improve webpack test performance by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9489
    • chore: release v1.2.7-alpha.0 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/9493
    • test(diff): remove modules injected by css-loader by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9497
    • test: improve cli test performance by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9494
    • chore: cleanup for avoiding meaningless diff with more-js-api-v2 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9499
    • test: run cli test cases parallel by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/9502
    • chore: add reason about why skip big-assets test by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/9516

    New Contributors

    • @xbzhang2020 made their first contribution in https://github.com/web-infra-dev/rspack/pull/9485
    • @KuSh made their first contribution in https://github.com/web-infra-dev/rspack/pull/9522

    Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.2.6...v1.2.7

    Open source β†’
  60. 1.2.7-alpha.027 Feb 2025pre-release

    Nothing published for this version