Repository navigation
Releases
Releases · web-infra-dev/rsbuild
v2.2.10
What's Changed
New Features 🎉
- feat(core): support output.module for web-worker target by @BleedingDev in #8557
Performance 🚀
- perf(core): cache source map resolution per browser error by @chenjiahan in #8531
- perf(core): skip disk copy work before reading asset content by @chenjiahan in #8561
Bug Fixes 🐞
- fix(core): flush gzip buffers for streaming responses by @chenjiahan in #8533
- fix(core): limit response flushing to the gzip stream by @chenjiahan in #8534
- fix(types): expose optional flush on middleware responses by @chenjiahan in #8536
- fix(core): handle missing ESM HMR manifests by @chenjiahan in #8537
- fix(core): reset compile done state on watch restart by @chenjiahan in #8538
- fix(core): avoid treating sibling dist paths as nested by @kwy404 in #8544
- fix(core): dedupe nested paths with dot-prefixed names by @chenjiahan in #8549
- fix(core): check path boundaries in lazy compilation logs by @chenjiahan in #8550
- fix(core): normalize and share path containment checks by @chenjiahan in #8551
- fix(core): avoid printing 60.0s in build time logs by @kwy404 in #8552
- fix(core): avoid writing assets twice when writeToDisk is true by @kwy404 in #8556
- fix(core): avoid retaining CJS runner module scopes by @chenjiahan in #8559
- fix(server): remove WebSocket upgrade listeners on close by @chenjiahan in #8562
Document 📖
- docs: explain flushing compressed streaming responses by @chenjiahan in #8535
- docs: keep tests minimal and behavior-focused by @chenjiahan in #8540
Other Changes
- chore(deps): upgrade pnpm to 12.6 and enable autoDedupe by @chenjiahan in #8539
- chore(deps): update dependency octane to ^0.5.0 by @renovate in #8547
- chore(deps): group memfs and jsonjoy Renovate updates by @chenjiahan in #8548
- test(core): cover writeToDisk writes in e2e by @chenjiahan in #8560
- release: v2.2.10 by @chenjiahan in #8563
Full Changelog: v2.2.9...v2.2.10
v2.2.9
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.2.7 by @chenjiahan in #8528
Performance 🚀
- perf(deps): upgrade html-rspack-plugin to v6.1.11 by @chenjiahan in #8513
- perf(core): cache remapping import in transform loader by @chenjiahan in #8519
- perf(core): cache trace-mapping import in browser logs by @chenjiahan in #8520
- perf(core): cache range-parser import in assets middleware by @chenjiahan in #8521
- perf(core): reuse vm module in ESM runner by @chenjiahan in #8522
- perf(core): statically import util and zlib in server helpers by @chenjiahan in #8523
- perf(core): cache imports for watchers, hashing and manifests by @chenjiahan in #8526
- perf(core): reuse dynamic import function in CJS runner by @chenjiahan in #8525
- perf(core): defer SSR runner file reads until cache misses by @chenjiahan in #8527
Bug Fixes 🐞
- fix(types): prebundle ws declarations by @chenjiahan in #8510
Document 📖
- docs: remove redundant CLAUDE.md setup tip by @chenjiahan in #8518
Other Changes
- chore(deps): upgrade Rstack to 0.7.6 and Rstest to 0.12 by @chenjiahan in #8511
- test: configure Playwright launch options via helper by @chenjiahan in #8512
- chore(deps): update pnpm to v12.5.1 by @renovate[bot] in #8515
- chore(deps): update all patch dependencies by @renovate[bot] in #8514
- chore(deps): update dependency octane to ^0.3.0 by @renovate[bot] in #8517
- chore(deps): update rstest to ^0.12.0 by @renovate[bot] in #8516
- chore(deps): upgrade rstack to v0.8.0 by @SoonIter in #8524
- release: v2.2.9 by @chenjiahan in #8529
Full Changelog: v2.2.8...v2.2.9
v2.2.8
What's Changed
New Features 🎉
- feat(core): add environment hot.onConnect API by @chenjiahan in #8504
- feat(deps): update @rspack/core to 2.2.6 by @chenjiahan in #8508
Performance 🚀
- perf(core): reduce memory filesystem buffer allocations by @chenjiahan in #8507
Refactor 🔨
- refactor(core): support sending HMR messages to a single socket by @chenjiahan in #8503
Document 📖
- docs: document environment hot.onConnect API by @chenjiahan in #8506
Other Changes
- test(core): cover node chunk filename conflicts by @chenjiahan in #8500
- chore(deps): update dependency memfs to ^4.78.0 by @renovate[bot] in #8502
- chore(deps): update dependency @tsrx/typescript-plugin to ^0.4.1 by @renovate[bot] in #8501
- release: v2.2.8 by @chenjiahan in #8509
Full Changelog: v2.2.7...v2.2.8
v2.2.7
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.2.5 by @chenjiahan in #8498
Other Changes
- test: cover CSS entry bundling by @chenjiahan in #8492
- test: split Rsdoctor auto-loading fixtures by @yifancong in #8491
- test(core): isolate Rsdoctor fallback resolution by @yifancong in #8493
- release: v2.2.7 by @chenjiahan in #8499
Full Changelog: v2.2.6...v2.2.7
v2.2.6
What's Changed
New Features 🎉
- feat(core): support Rsdoctor v2 auto-loading by @yifancong in #8454
- feat(deps): update @rspack/core to 2.2.4 by @chenjiahan in #8489
Performance 🚀
- perf(core): re-enable compact hashed IDs in production by @chenjiahan in #8478
Bug Fixes 🐞
- fix(core): apply security.nonce to html.tags by @chenjiahan in #8472
- fix(core): use absolute paths for deeply nested parent references by @chenjiahan in #8475
- fix(core): move import maps before module loading tags by @chenjiahan in #8476
- fix(deps): update all patch dependencies by @renovate[bot] in #8484
Other Changes
- chore(deps): upgrade pnpm to v12.4.0 by @chenjiahan in #8473
- chore(docs): disable automatic browser opening by @chenjiahan in #8474
- chore(ci): skip tests for documentation and repository metadata by @chenjiahan in #8477
- chore: remove unused fixtures and website assets by @chenjiahan in #8479
- chore: use shared rstack-docs-writer skill by @chenjiahan in #8480
- chore(deps): update dependency rspack-vue-loader to ^17.7.0 by @renovate[bot] in #8481
- chore(deps): update swc monorepo to v14 by @renovate[bot] in #8483
- chore(deps): update pnpm/action-setup action to v6.1.0 by @renovate[bot] in #8482
- chore(deps): update dependency memfs to ^4.76.0 by @renovate[bot] in #8485
- chore(deps): update dependency svelte to ^5.57.0 by @renovate[bot] in #8487
- chore(deps): update sass to ^1.104.1 by @renovate[bot] in #8486
- chore(deps): update react to v19.3.0 by @renovate[bot] in #8488
- release: v2.2.6 by @chenjiahan in #8490
Full Changelog: v2.2.5...v2.2.6
v2.2.5
What's Changed
New Features 🎉
- feat(core): support Brotli file size reporting by @chenjiahan in #8458
- feat(core): support custom compression levels in file size reporting by @chenjiahan in #8464
Bug Fixes 🐞
- fix(types): make file size compression type optional by @chenjiahan in #8466
- fix(core): show compressed size diff when only printing totals by @chenjiahan in #8467
Document 📖
- docs: consolidate website editing guidelines by @chenjiahan in #8460
- docs: consolidate e2e testing guidelines by @chenjiahan in #8461
- docs: correct dev asset prefix resolution by @Fyerl in #8462
- docs: correct HTML tag examples and hash behavior by @Fyerl in #8463
- docs: simplify dev.assetPrefix boolean options by @chenjiahan in #8465
Other Changes
- chore(ci): use major-only Node.js version by @chenjiahan in #8468
- chore: update pull request template by @chenjiahan in #8469
- chore(deps): upgrade @rstackjs/load-config to v1.0.0 by @chenjiahan in #8470
- release: v2.2.5 by @chenjiahan in #8471
Full Changelog: v2.2.4...v2.2.5
v2.2.4
What's Changed
New Features 🎉
- feat: log after the initial watch build by @chenjiahan in #8426
- feat(plugin-solid): add extensions option by @chenjiahan in #8443
- feat(deps): update @rspack/core to 2.2.3 by @chenjiahan in #8453
Bug Fixes 🐞
- fix(types): mark server callback routes as readonly by @chenjiahan in #8423
- fix: defer build logs until all progress bars finish by @chenjiahan in #8440
- fix(deps): upgrade rspack-chain to 2.3.2 by @chenjiahan in #8441
- fix(plugin-solid): preserve native hydration module imports by @chenjiahan in #8444
Refactor 🔨
- refactor: improve type safety in core, plugins and tests by @chenjiahan in #8437
- refactor: use named React imports by @chenjiahan in #8439
- refactor(plugin-solid): migrate to Solid compiler packages by @chenjiahan in #8445
- refactor(plugin-solid): simplify compiler defaults by @chenjiahan in #8446
Document 📖
- docs: use separate web and node output directories by @chenjiahan in #8419
- docs: document how to disable async chunks by @chenjiahan in #8422
- docs: clarify Solid plugin setup and capabilities by @chenjiahan in #8450
- docs: simplify repository agent instructions by @chenjiahan in #8452
- docs: simplify AGENTS.md examples by @chenjiahan in #8456
Other Changes
- test: cover asset prefix path boundaries by @chenjiahan in #8420
- chore(deps): upgrade Rstack to v0.7.3 by @chenjiahan in #8424
- chore(e2e): upgrade test-utils to v1.0.0 by @chenjiahan in #8427
- chore: enable restrict-template-expressions lint rule by @chenjiahan in #8428
- chore(deps): update dependency node to v24.20.0 by @renovate[bot] in #8432
- chore(deps): update dependency memfs to ^4.71.0 by @renovate[bot] in #8431
- chore(deps): update dependency happy-dom to ^20.14.0 by @renovate[bot] in #8430
- chore: enable unicorn/prefer-array-some lint rule by @chenjiahan in #8434
- chore(deps): update dependency octane to ^0.2.3 by @renovate[bot] in #8433
- chore(deps): update all patch dependencies by @renovate[bot] in #8435
- chore: enable import recommended lint preset by @chenjiahan in #8438
- test(plugin-solid): expand SSR and hydration coverage by @chenjiahan in #8447
- chore(build): enable Rspack runtime mode by @Timeless0911 in #8448
- test: fail e2e tests on unexpected build warnings by @chenjiahan in #8449
- release: @rsbuild/plugin-solid v2.0.0-rc.0 by @chenjiahan in #8451
- chore(skills): refine workflows and update installed skills by @chenjiahan in #8455
- release: v2.2.4 by @chenjiahan in #8457
Full Changelog: v2.2.3...v2.2.4
v2.2.3
What's Changed
Bug Fixes 🐞
- fix(core): exclude Node outputs from asset serving by @chenjiahan in #8415
- fix(core): prevent asset prefix path traversal by @chenjiahan in #8416
- fix(plugin-svgr): avoid redundant type assertion by @SoonIter in #8413
Other Changes
- chore: update Rstack config by @chenjiahan in #8411
- chore: enable no-unsafe-call lint rule by @chenjiahan in #8412
- chore(deps): upgrade Rslib to v1.0.0 by @Timeless0911 in #8417
- release: v2.2.3 by @chenjiahan in #8418
Full Changelog: v2.2.2...v2.2.3
v2.2.2
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.2.2 by @chenjiahan in #8409
Performance 🚀
- perf(plugin-solid): skip transforms for plain JS and TS by @chenjiahan in #8391
Document 📖
- docs: remove outdated version notes by @chenjiahan in #8390
- docs: fix use of deprecated module in rspack.mdx by @grossbart in #8403
- docs: fix deprecated plugin in zh rspack guide by @chenjiahan in #8404
- docs: update Rspack documentation links by @chenjiahan in #8406
Other Changes
- chore: update Rstack CLI skill by @chenjiahan in #8392
- chore(deps): update dependency @vue/test-utils to ^2.5.0 by @renovate[bot] in #8393
- chore: enable pnpm global virtual store by @chenjiahan in #8395
- chore(deps): update dependency happy-dom to ^20.12.0 by @renovate[bot] in #8397
- chore(deps): update all patch dependencies by @renovate[bot] in #8396
- chore: use heading-case as a formatter plugin by @chenjiahan in #8398
- chore: ignore installed skills dynamically by @chenjiahan in #8399
- chore(deps): upgrade path-serializer to 0.7.0 by @SoonIter in #8400
- chore(deps): update dependency node to v24.19.0 by @renovate[bot] in #8401
- chore(deps): upgrade rstack to 0.7.1 by @chenjiahan in #8402
- chore: remove redundant sort-package-json script by @chenjiahan in #8407
- release: v2.2.2 by @chenjiahan in #8410
New Contributors
- @grossbart made their first contribution in #8403
Full Changelog: v2.2.1...v2.2.2
v2.2.1
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.2.1 by @chenjiahan in #8385
Bug Fixes 🐞
- fix(core): avoid hanging requests after fatal watch errors by @chenjiahan in #8361
- fix(plugin-solid): support JSX in JavaScript data URIs by @chenjiahan in #8386
- fix(deps): use tilde range for @rspack/core by @chenjiahan in #8388
- fix(core): wait for child compilers after fatal errors by @chenjiahan in #8387
Document 📖
- docs: add Rsbuild 2.2 blog entry by @chenjiahan in #8379
- docs: move LLMs UI to page outline by @chenjiahan in #8381
Other Changes
- chore(deps): remove @rsbuild/core-v1 by @chenjiahan in #8378
- chore(deps): migrate to @rstackjs/doc-ui v1.14.9 by @chenjiahan in #8382
- chore(deps): update module federation to v2.9.0 by @renovate[bot] in #8383
- chore(deps): update actions/stale action to v11 by @renovate[bot] in #8384
- release: v2.2.1 by @chenjiahan in #8389
Full Changelog: v2.2.0...v2.2.1