Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.2.11
What's Changed
Bug Fixes 🐞
- fix: revert Rspack to v1.2.3 to fix unplugin support by @chenjiahan in #4606
- fix: postcssrc cache may cause memory leak by @chenjiahan in #4604
Other Changes
- chore(ci): configure Node.js memory limit in GitHub Actions by @chenjiahan in #4603
- test: fix flaky hooks order case by @9aoy in #4605
- release: 1.2.11 by @chenjiahan in #4607
Full Changelog: v1.2.10...v1.2.11
v1.2.10
What's Changed
New Features 🎉
- feat(deps): update Rspack to v1.2.5 by @chenjiahan in #4591
- feat(cache): add env files to buildDependencies by @chenjiahan in #4601
Bug Fixes 🐞
Document 📖
- docs: improve stats usage example in JavaScript API documentation by @chenjiahan in #4600
Other Changes
- test: multiple rsbuild dev servers should work correctly by @9aoy in #4597
- test(e2e): optimize tailwindcss config by @chenjiahan in #4599
- chore(deps): update dependency launch-editor-middleware to ^2.10.0 by @renovate in #4588
- chore(deps): update dependency @changesets/cli to ^2.28.0 by @renovate in #4587
- release: 1.2.10 by @chenjiahan in #4602
Full Changelog: v1.2.9...v1.2.10
v1.2.9
What's Changed
New Features 🎉
- feat: expose
httpServer
in RsbuildDevServer by @chenjiahan in #4570 - feat: allow
onBeforeStartDevServer
hook to return post callback by @chenjiahan in #4573 - feat: add npm link to plugin hints by @chenjiahan in #4583
Bug Fixes 🐞
- fix: prevent some hook return values from affecting other hooks by @chenjiahan in #4569
- fix: type infer for plugin hooks by @chenjiahan in #4571
- fix: should handle proxy error correctly by @9aoy in #4577
- fix(core): respect
server.port
when replacing<port>
by @colinaaa in #4578
Document 📖
- docs: extract dev server API to separate page by @chenjiahan in #4566
- docs: improve server middlewares documentation by @chenjiahan in #4567
- docs: add example for accessing dev server in plugin hooks by @chenjiahan in #4568
- docs: update CRA migration guide by @chenjiahan in #4572
- docs: register middlewares in onBeforeStartDevServer by @chenjiahan in #4576
- docs: update README files for plugin packages by @chenjiahan in #4590
Other Changes
- chore(deps): update sass to ^1.85.0 by @renovate in #4565
- chore(deps): update dependency @rsbuild/plugin-check-syntax to ^1.3.0 by @renovate in #4564
- chore(deps): update all patch dependencies by @renovate in #4574
- chore(deps): update dependency preact to ^10.26.0 by @renovate in #4575
- test(e2e): avoid opening Rsdoctor pages by @chenjiahan in #4558
- test(e2e): migrate all cases to ESM by @chenjiahan in #4579
- test(e2e): enable Rsdoctor cases on Windows by @chenjiahan in #4582
- test: correct react version for MF cases by @chenjiahan in #4585
Full Changelog: v1.2.8...v1.2.9
v1.2.8
What's Changed
New Features 🎉
- feat: exclude
.d.ts
files from file size reporting by @chenjiahan in #4542 - feat: support
buildCache.buildDependencies
configuration by @9aoy in #4540 - feat: support generate preload link with duplicate by @9aoy in #4555
- feat: expose dev server instance for
onBeforeStartDevServer
hook by @chenjiahan in #4559
Bug Fixes 🐞
- fix: gzipped total file size calculation by @chenjiahan in #4539
- fix(server): remove
.mjs
suffix check when loading ESM module in runner by @9aoy in #4536
Document 📖
- docs: display GitHub button on homepage by @chenjiahan in #4535
- docs: update homepage i18n text by @chenjiahan in #4538
- docs: add decorators version guide for TypeScript by @chenjiahan in #4543
- docs: improve static assets docs with inline and URL query examples by @chenjiahan in #4544
- docs: JSDoc for Rsbuild instance API by @chenjiahan in #4549
- docs: JSDoc for Rsbuild plugin API by @chenjiahan in #4550
- docs: simplify plugin setup method by @chenjiahan in #4560
Other Changes
- test: split webpack E2E test workflow by @chenjiahan in #4533
- test: remove
@babel/preset-env
to reduce dependencies by @chenjiahan in #4534 - chore(deps): update all patch dependencies by @renovate in #4541
- chore(deps): update dependency webpack to ^5.98.0 by @renovate in #4553
- chore(deps): update dependency svelte to ^5.20.0 by @renovate in #4552
- chore(workflow): exclude dist folders from search result by @chenjiahan in #4557
Full Changelog: v1.2.7...v1.2.8
v1.2.7
What's Changed
New Features 🎉
- feat(deps): update Rspack to v1.2.3 by @chenjiahan in #4530
Full Changelog: v1.2.6...v1.2.7
v1.2.6
What's Changed
Performance 🚀
- perf: skip gzip size calculation for non-compressible assets by @chenjiahan in #4529
Document 📖
- docs: add
performance.buildCache
configuration by @chenjiahan in #4520 - docs: enhance performance section across README files by @chenjiahan in #4525
- docs: update rspack profile tips by @9aoy in #4526
Other Changes
- test(asset): add test for [path] template for Rslib by @SoonIter in #4521
- test: fix some flaky cases by @9aoy in #4527
- chore: fix ws server type mismatch by @chenjiahan in #4528
- release: 1.2.6 by @chenjiahan in #4531
Full Changelog: v1.2.5...v1.2.6
v1.2.5
What's Changed
New Features 🎉
- feat: native runtime support for loading config by @chenjiahan in #4486
- feat(create-rsbuild): specify type module by default by @chenjiahan in #4490
- feat(CLI): add
--base
flag by @chenjiahan in #4492 - feat: support for Rspack persistent cache by @chenjiahan in #4501
- feat(cache): add experimental cache logging by @chenjiahan in #4511
Bug Fixes 🐞
- fix: validate
server.base
config by @chenjiahan in #4493 - fix: skip clean in dev mode when writeToDisk is false by @chenjiahan in #4495
- fix(core): modifying the dev.watchFiles config in plugins is not effective by @xbzhang2020 in #4504
- fix(cache): error handling for buildDependencies JSON parsing by @chenjiahan in #4505
- fix(cache): only validate buildDependencies for webpack by @chenjiahan in #4507
- fix: failed to use native config loader on Windows by @chenjiahan in #4512
- fix: failed to load Rsdoctor package on Windows by @chenjiahan in #4514
Document 📖
- docs: improve CLI doc structure and add common flags section by @chenjiahan in #4485
- docs: add Bluesky social link by @chenjiahan in #4488
- docs: fix grammar in Rsbuild description by @Brennvo in #4502
- docs: fix missing admonition end indicator on inline-assets doc by @wralith in #4509
- docs: add guide for incremental build by @chenjiahan in #4510
- docs: access HTML plugin in
modifyRspackConfig
by @chenjiahan in #4518
Other Changes
- release: @rsbuild/webpack v1.2.1 by @chenjiahan in #4489
- chore(workflow): add minimal permissions by @chenjiahan in #4496
- chore(renovate): pin GitHub Action digests by @chenjiahan in #4497
- chore(deps): update dependency sass to ^1.84.0 by @renovate in #4499
- chore(deps): pin dependencies by @renovate in #4498
- refactor(core): simplify CacheGroups types by @chenjiahan in #4506
- chore(deps): update dependency prettier to ^3.5.0 by @renovate in #4515
- chore(deps): update all patch dependencies by @renovate in #4516
- chore(deps): update dependency @rsbuild/plugin-check-syntax to ^1.2.2 by @renovate in #4517
- release: v1.2.5 by @chenjiahan in #4519
New Contributors
Full Changelog: v1.2.4...v1.2.5
v1.2.4
What's Changed
New Features 🎉
- feat: allow
proxy.bypass
to be an async function by @chenjiahan in #4478 - feat: direct ws connection fallback by @wxiaoyun in #4474
Bug Fixes 🐞
- fix(plugin-sass): allow to disable source map by @chenjiahan in #4445
- fix: allow to only generate source map for CSS files by @chenjiahan in #4456
- fix(hmr): infinite connection when server is shut down by @chenjiahan in #4480
- fix(hmr): avoid duplicated connection by @chenjiahan in #4482
Document 📖
- docs: Revise TailwindCSS installation and configuration guide for v4 by @sagardwivedi in #4425
- docs: remove v1 announcement by @chenjiahan in #4441
- docs: provides guides for both Tailwind CSS v3 and v4 by @chenjiahan in #4442
- docs: polish README files by @chenjiahan in #4450
- docs: add dev server writeToDisk config mapping by @chenjiahan in #4452
- docs: improve historyApiFallback and htmlFallback documentation by @chenjiahan in #4454
- docs: correct onCloseDevServer example by @chenjiahan in #4464
- docs: fix return value of
rsbuild.rspackConfigs()
by @chenjiahan in #4469 - docs: improve documentation language and clarity by @chenjiahan in #4472
- docs: enhance legal comments configuration documentation by @chenjiahan in #4473
- docs: set Open Graph images based on page routes by @chenjiahan in #4477
- docs: update rspress 1.41.0 and enable codeBlocks search by @chenjiahan in #4483
Other Changes
- test(e2e): run Rspack with incremental flag by @chenjiahan in #4440
- test(e2e): bump tailwindcss v4 by @chenjiahan in #4432
- chore(deps): update all patch dependencies by @renovate in #4443
- test(e2e): upgrade more cases to tailwindcss v4 by @chenjiahan in #4446
- chore(deps): update actions/setup-node action to v4.2.0 by @renovate in #4447
- chore(deps): update dependency @rslib/core to v0.4.0 by @renovate in #4448
- chore(deps): update dependency @rstack-dev/doc-ui to v1.6.0 by @renovate in #4449
- chore(deps): update rspack-chain to v1.2.0 by @chenjiahan in #4453
- chore(deps): update swc plugins to ^6.2.0 by @renovate in #4459
- chore(deps): update dependency nx to ^20.4.0 by @renovate in #4458
- chore(deps): update dependency @types/node to ^22.12.0 by @renovate in #4457
- chore: remove rspack-chain temporary code by @chenjiahan in #4460
- chore(deps): update dependency semver to ^7.7.0 by @renovate in #4465
- chore(deps): update all patch dependencies by @renovate in #4468
- chore(deps): update dependency @types/node to ^22.13.0 by @renovate in #4470
- chore(deps): update dependency create-rstack to v1.2.0 by @renovate in #4471
- ci(corepack): fix corepack key id mismatch by @chenjiahan in #4476
- chore(deps): update all patch dependencies by @renovate in #4475
- refactor: improve host resolution and wildcard host handling by @chenjiahan in #4479
- release: v1.2.4 by @chenjiahan in #4484
New Contributors
Full Changelog: v1.2.3...v1.2.4
v1.2.3
What's Changed
New Features 🎉
- feat: support for
resolve
andcontext
inapi.transform
by @9aoy in #4426 - feat: warn when using Rspack devServer config by @chenjiahan in #4431
Bug Fixes 🐞
- fix(core): failed to register environment plugin by @chenjiahan in #4437
Other Changes
- chore(deps): update dependency @rsbuild/core to ^1.2.2 by @renovate in #4421
- chore(deps): update dependency @rsbuild/plugin-preact to ^1.3.0 by @renovate in #4422
- test: fix occasional
directory not empty
error in e2e by @9aoy in #4428 - test: split assets retry cases by @9aoy in #4430
- test: should wait first compile done when run dev tests by @9aoy in #4429
- chore: fix wrapper typo by @chenjiahan in #4433
- test(e2e): simplify stylus code by @chenjiahan in #4439
- release: v1.2.3 by @chenjiahan in #4438
Full Changelog: v1.2.2...v1.2.3
v1.2.2
What's Changed
Bug Fixes 🐞
- fix(deps): bump Rspack v1.2.2 by @chenjiahan in #4419
Full Changelog: v1.2.1...v1.2.2