v1.4.0-rc.0
- 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
- 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
- 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(zod/v4): use
.superRefine()
forbuiltin: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
- 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
- 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
- @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
v1.4.0-beta.1
- perf: introduce
ModuleGraphCache
and cache the result ofget_mode
anddetermine_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
- 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
- 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: make merge modified files and removed files by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/10662
- 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
v1.4.0-beta.0
- 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
- 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
- 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 useu64
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
- 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
- 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
withz.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()
forexternals
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
v1.3.15
- perf: js api cache resolver with options by @SyMind in https://github.com/web-infra-dev/rspack/pull/10572
- 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
- docs: update terminology and improve clarity in optimization and devtool by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10581
- 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
v1.3.14
- 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
- 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
- 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
- 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
v1.3.13
- 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
- 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
- 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
- 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
- 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
- @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
v1.3.12
- perf: lazy load watchpack and some Node built-in modules by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10465
- 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
- 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
- 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
- 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
- @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
v1.3.11
- 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
- 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
- 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 decodingSharedArrayBuffer
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
- 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
- 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
- @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
v1.3.10
Rspack now supports source map generation for runtime code, enabling more efficient diagnosing problems—both in production and development environments.
- perf: import node inspector dynamically by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/10296
- 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
andexclude
ofimport.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
- 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
- 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
- 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
- @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
v1.3.9
- perf: js stats by @SyMind in https://github.com/web-infra-dev/rspack/pull/10213
- 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
- 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
- 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