Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.2.14
What's Changed
Bug Fixes 🐞
- fix(deps): revert @rspack/core to v1.2.5 to fix HMR by @chenjiahan in #4683
- fix(create-rsbuild): update tsconfig
moduleResolution
to lowercase by @hai-x in #4681
Document 📖
- docs: add guide for customizing JSX in React by @chenjiahan in #4680
New Contributors
Full Changelog: v1.2.13...v1.2.14
v1.2.13
What's Changed
Performance 🚀
- perf(server): sendStats should not be called when no socket connection by @9aoy in #4667
- perf: remove unless
path.resolve
call by @chenjiahan in #4669
Bug Fixes 🐞
- fix: processAssets hook filter error by @9aoy in #4671
- fix: absolute path for favicon configuration by @chenjiahan in #4672
- fix: reconnect port error when automatically increment by @9aoy in #4673
- fix: improve favicon handling with better error logging by @chenjiahan in #4674
- fix: improve app icon handling with better error logging by @chenjiahan in #4676
- fix(deps): bump rsbuild-dev-middleware to unify logger style by @chenjiahan in #4675
Document 📖
- docs: install latest tailwindcss by @TinsFox in #4668
- docs(en): install latest tailwindcss by @chenjiahan in #4670
Other Changes
New Contributors
Full Changelog: v1.2.12...v1.2.13
v1.2.12
Highlights
Update unplugin
For users of unplugin-vue-components and unplugin-auto-import, you need to upgrade to the following versions to ensure these plugins work properly:
See unplugin/unplugin-vue-components#829 for more details.
Update SWC plugin
Due to SWC introducing an unexpected breaking change, this version may cause some SWC plugins to fail. You'll need to upgrade your SWC plugin to make it work.
See swc-project/plugins#414 for mode details.
What's Changed
New Features 🎉
- feat(create-rsbuild): add React 18 templates by @chenjiahan in #4608
- feat: add
server.middlewareMode
config by @chenjiahan in #4614 - feat: improve socket server connection handling and cleanup by @chenjiahan in #4618
- feat: add debug logs of config file and env files loading by @chenjiahan in #4623
- feat(deps): bump jiti to v2 by @chenjiahan in #4191
- feat: print changed files when rebuild restarts by @chenjiahan in #4641
- feat: add
processEnv
option to loadEnv by @chenjiahan in #4645 - feat(plugin-assets-retry): add delay parameter by @hangCode2001 in #4643
- feat: support for dynamic asset filenames by @chenjiahan in #4656
- feat(deps): update Rspack to v1.2.6 by @chenjiahan in #4664
Document 📖
- docs: plugin migration guide by @chenjiahan in #4609
- docs: update outdated JSDoc for Rsbuild configurations by @chenjiahan in #4611
- docs: add
server.middlewareMode
config by @chenjiahan in #4621 - docs: add React Router to React guide by @chenjiahan in #4633
- docs: update quick start guide content by @chenjiahan in #4636
- docs: correct wrong example in postcss v3 configuration by @dovigod in #4637
- docs: improve formatting for plugin-assets-retry and app-icon by @chenjiahan in #4646
- docs(plugin-assets-retry): update type and default options by @hangCode2001 in #4648
- docs: update CRA migration guide for ESLint by @chenjiahan in #4651
- docs: improve filename configuration by @chenjiahan in #4655
- docs: improve output configuration by @chenjiahan in #4657
- docs: alias differences with Rspack by @chenjiahan in #4663
Other Changes
- chore(deps): update rspress to ^1.42.0 by @renovate in #4613
- chore(deps): update dependency @rslib/core to v0.5.0 by @renovate in #4612
- test(e2e): revert all cases to CJS to fix timeout by @chenjiahan in #4616
- test(e2e): remove ESM syntax to fix timeout by @chenjiahan in #4624
- chore(deps): update swc monorepo to ^6.3.2 by @renovate in #4617
- chore(test): shards e2e cases by @9aoy in #4619
- test(e2e): fix warnings for plugin hook cases by @chenjiahan in #4626
- chore(build): specify Rslib build id by @chenjiahan in #4625
- chore(deps): update dependency @module-federation/enhanced to v0.9.0 by @renovate in #4627
- chore(deps): update dependency @module-federation/rsbuild-plugin to v0.9.0 by @renovate in #4628
- chore(deps): update Renovate configuration with rules by @chenjiahan in #4629
- chore(deps): update dependency react-router-dom to ^7.2.0 by @renovate in #4631
- chore(deps): update pnpm to v10.4.1 by @renovate in #4632
- chore(deps): update dependency create-rstack to v1.3.0 by @renovate in #4634
- release: [email protected] by @chenjiahan in #4635
- chore(style): standardize logging messages by @chenjiahan in #4642
- chore(deps): update all patch dependencies by @renovate in #4644
- chore: migrate assets retry plugin to separate repo by @chenjiahan in #4649
- chore(types): export ConfigParams for reusing by @JounQin in #4652
- chore(types): simplify Rspack type reference by @chenjiahan in #4653
- test: conditionally skip config loader test on older Node.js versions by @chenjiahan in #4660
- release: 1.2.12 by @chenjiahan in #4665
New Contributors
Full Changelog: v1.2.11...v1.2.12
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