v1.5.1
- perf(browser): disable
ProgressPlugin
,RsdoctorPlugin
andRstestPlugin
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
- 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: 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
- 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
- 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
v1.5.0
🎉 See Announcing Rspack 1.5 for more details.
- feat!: update minimum Node.js version to 18.12.0 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11338
- 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
tonone
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>>
withOnceLock<T>
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11480
- 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 inlocalIdentName
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 removenonWebpackRequire
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11470
- 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: 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
andasync_trait
from traitPlugin
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 inBrowserHttpImportEsmPlugin
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
- 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
- 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 rslint@0.1.0 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 rslint@0.1.5 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
- @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
v1.5.0-rc.0
- feat(cli): use SWC to do TS config transformamation by @hardfist in https://github.com/web-infra-dev/rspack/pull/11411
- perf(browser): remove tracing by @CPunisher in https://github.com/web-infra-dev/rspack/pull/11436
- perf(browser): set
fmt_debug
tonone
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
- 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
- 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: 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
- 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
- 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
- @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
v1.5.0-beta.1
Rspack now supports the "using" declaration.
This enables the explicit resource management feature in ECMAScript, making resource cleanup more straightforward ✨
Learn more: using - MDN
- 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
- 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 inlocalIdentName
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
- 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: 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
- 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
- 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
- @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
1.5.0-beta.0
Here's a sneak peek at the exciting new features coming in Rspack 1.5.0.
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
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.
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.
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 🚀
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.
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 |
- Stabilized
LazyCompilation
feature—experiments.lazyCompilation
is now available at the top level of Rspack's config. - Deprecating
experiments.topLevelAwait
—setting it tofalse
will now show a deprecation warning. This feature will be enabled by default and the config option removed in the next major release.
- 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
- 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
- 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: 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
andasync_trait
from traitPlugin
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
- 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
- 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 rslint@0.1.0 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 rslint@0.1.5 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
v1.4.11
- 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
- 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
- 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 ofpath
in resolve by @colinaaa in https://github.com/web-infra-dev/rspack/pull/11194 - fix: should return
resource
inresolver.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
iftest
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: 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
- docs: improve
resolve.conditionNames
documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/11216
- 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
- @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
v1.4.10
- ✨ 30% smaller Wasm bundle (38.9MB → 27.2MB)
- ⚡ 4x faster tree shaking analysis in large projects
- 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
- 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
- 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
v1.4.9
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 |
- 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
- 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
- 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 ofidentifier
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: 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
- 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
- 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
v1.4.8
- perf: Use release_max_level_info for tracing by @quininer in https://github.com/web-infra-dev/rspack/pull/11027
- 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
- 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
- @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
v1.4.7
- 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
- feat: support rspack native fs watcher by @GiveMe-A-Name in https://github.com/web-infra-dev/rspack/pull/10658
- 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: avoid exposing
Ref
andRefMut
ofDashMap
by @CPunisher in https://github.com/web-infra-dev/rspack/pull/10982
- 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
- 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
topnpm 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
- @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