Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.2.18
What's Changed
New Features 🎉
- feat(deps): update Rspack to v1.2.8 by @chenjiahan in #4758
Bug Fixes 🐞
- fix: print environment name only when using multi compiler by @chenjiahan in #4754
- fix(rsbuild): add dynamic import callback to cjs vm by @ScriptedAlchemy in #4755
- fix: appendPlugins not work in some cases by @chenjiahan in #4767
Document 📖
- docs: add dynamic asset prefix guide by @chenjiahan in #4760
- docs: improve InspectConfigOptions type by @chenjiahan in #4761
- docs: simplify Rsdoctor configuration example by @chenjiahan in #4764
Other Changes
- chore(deps): update Rsdoctor to 1.0.0-rc.0 by @chenjiahan in #4757
- chore: export StartServerResult for resuing by @JounQin in #4763
- test(ut): add custom Rspack configuration tests by @chenjiahan in #4766
- chore(server): remove useless runInNewContext option by @9aoy in #4765
- release: 1.2.18 by @chenjiahan in #4768
Full Changelog: v1.2.17...v1.2.18
v1.2.17
What's Changed
New Features 🎉
- feat: allow opening relative paths on error overlay by @chenjiahan in #4739
- feat: display relative paths on error overlay by @chenjiahan in #4744
- feat(plugin-webpack-swc): use require.resolve to check react version to support pnpm catalog by @caohuilin in #4745
Performance 🚀
- perf: bundle webpack-merge for faster startup by @chenjiahan in #4752
Bug Fixes 🐞
- fix: await watcher close before restart by @chenjiahan in #4734
- fix(create-rsbuild): remove public/.gitkeep file by @chenjiahan in #4748
Document 📖
- docs: update quick start guide by @chenjiahan in #4737
- docs: update plugin list by @chenjiahan in #4746
- docs: standardize "web" capitalization across documentation by @chenjiahan in #4749
- docs: improve browser compatibility clarity by @chenjiahan in #4750
Other Changes
- test(e2e): fix flaky watch-files cases by @chenjiahan in #4735
- test(e2e): improve plugin watch hook test reliability by @chenjiahan in #4738
- test(ut): add test cases for overlay links by @chenjiahan in #4740
- chore(deps): update Rspress to v2.0.0-alpha.0 by @chenjiahan in #4741
- chore(deps): update all patch dependencies by @renovate in #4743
- chore: remove unnecessary type assertions by @chenjiahan in #4747
- release: 1.2.17 by @chenjiahan in #4753
Full Changelog: v1.2.16...v1.2.17
v1.2.16
What's Changed
New Features 🎉
- feat: make HMR logs less verbose by @chenjiahan in #4710
- feat(css): support
cssLoader.exportType
asstring
by @chenjiahan in #4717
Bug Fixes 🐞
- fix:
forceSplitting
not work withsingle-vendor
by @chenjiahan in #4708 - fix(plugin-vue): order problem with pluginReact by @chenjiahan in #4713
- fix: should apply nonce to preload script tags by @9aoy in #4722
- fix: improve file size gzip header rendering by @chenjiahan in #4724
Document 📖
- docs: update contributing guide by @chenjiahan in #4711
- docs(website): add footer to home page by @chenjiahan in #4718
- docs: improve filename configuration by @chenjiahan in #4719
- docs: update Angular Rspack link by @chenjiahan in #4723
- docs: add JSDoc for EnvironmentContext by @chenjiahan in #4725
Other Changes
- test(e2e): add case for manifest with single vendor by @chenjiahan in #4707
- chore(deps): update dependency babel-loader to v10 by @renovate in #4694
- chore(deps): update dependency @types/ws to ^8.18.0 by @renovate in #4714
- chore(deps): update module federation to v0.10.0 by @renovate in #4716
- chore(deps): update dependency svelte to ^5.22.5 by @renovate in #4715
- chore(deps): update rspress to ^1.43.0 by @renovate in #4726
- chore(deps): update dependency react-router-dom to ^7.3.0 by @renovate in #4728
- chore(deps): update dependency nx to ^20.5.0 by @renovate in #4727
- chore(deps): update pnpm to v10.6.1 by @renovate in #4732
- release: 1.2.16 by @chenjiahan in #4733
Full Changelog: v1.2.15...v1.2.16
v1.2.15
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to v1.2.7 by @chenjiahan in #4703
- feat(server): add graceful shutdown support by @chenjiahan in #4701
Bug Fixes 🐞
- fix(mf): add more MF packages to
source.include
by @chenjiahan in #4698 - fix(socket): prevent heartbeat timers from keeping process alive by @chenjiahan in #4700
Document 📖
- docs: fix react.mdx translation by @chenjiahan in #4688
- docs: update rspack-examples references to rstack-examples by @chenjiahan in #4693
Other Changes
- test(e2e): add HMR error handling test case by @chenjiahan in #4685
- test(e2e): replace custom helper with
expect.poll
by @chenjiahan in #4686 - chore(deps): update dependency typescript to ^5.8.2 by @renovate in #4692
- chore(deps): update dependency core-js to ~3.41.0 by @renovate in #4691
- chore(deps): update all patch dependencies by @renovate in #4690
- release: v1.2.15 by @chenjiahan in #4704
Full Changelog: v1.2.14...v1.2.15
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: create-rsbuild@1.2.3 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