Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.3.0-beta.0
What's Changed
New Features 🎉
- feat(deps): update Rspack to 1.3.0-beta.0 by @chenjiahan in #4816
- feat: add integrity support for dynamic imports by @chenjiahan in #4817
- feat(plugin-preact): update swc plugin to v7 by @renovate in #4695
Bug Fixes 🐞
- fix(cache):
buildCache.cacheDirectory
config not work by @Shucei in #4790 - fix: should merge copy config correctly when copy config type is different by @9aoy in #4793
- fix: update null checks to improve type safety by @chenjiahan in #4802
- fix(overlay): avoid multiple error overlay instances by @chenjiahan in #4803
Document 📖
- docs: update examples for server close method by @chenjiahan in #4788
- docs: add
loadEnv
option increateRsbuild
method by @chenjiahan in #4800 - docs: apply new theme colors to the documentation site by @chenjiahan in #4801
- docs:
getPlugins
can acceptenvironment
option by @chenjiahan in #4804 - docs: improve inline static assets by @chenjiahan in #4808
- docs: update ecosystem diagrams by @chenjiahan in #4811
- docs: add information on obtaining additional templates by @chenjiahan in #4813
- docs: update release dates for blogs by @chenjiahan in #4815
- docs: update SRI to match the latest implementation by @chenjiahan in #4819
Other Changes
- test(e2e): add cases for
buildCache.cacheDirectory
by @chenjiahan in #4791 - chore(deps): update dependency nx to ^20.6.0 by @renovate in #4797
- test(e2e): replace fs.rmSync with async remove from fs-extra by @chenjiahan in #4805
- chore(deps): update all patch dependencies by @renovate in #4806
- chore(deps): update actions/setup-node action to v4.3.0 by @renovate in #4809
- chore(deps): update Rspress to 2.0.0-alpha.3 by @chenjiahan in #4814
- test: add case for SRI with async chunks by @chenjiahan in #4818
- release: 1.3.0-beta.0 by @chenjiahan in #4820
New Contributors
Full Changelog: v1.2.19...v1.3.0-beta.0
v1.2.19
What's Changed
New Features 🎉
- feat(CLI): allow to run without sub-command to trigger dev by @chenjiahan in #4773
- feat(types): export LoadEnvOptions and LoadEnvResult types by @chenjiahan in #4779
- feat: support async function for rsbuildConfig in createRsbuild options by @chenjiahan in #4778
- feat: integrate env variable loading into createRsbuild options by @chenjiahan in #4783
Bug Fixes 🐞
- fix: simplify build error logs by @chenjiahan in #4772
- fix: handle null stats JSON in Socket server by @chenjiahan in #4784
Document 📖
- docs: add Tailwind CSS v4 compatibility tip for preprocessors by @chenjiahan in #4770
- docs: update description for build close method by @chenjiahan in #4786
Other Changes
- chore(deps): update Rspress to 2.0.0-alpha.2 by @chenjiahan in #4769
- chore(deps): update dependency svelte to ^5.23.0 by @renovate in #4771
- refactor(CLI): extract config loader function by @chenjiahan in #4780
- chore: fix some type issues of createRsbuild by @chenjiahan in #4782
- release: 1.2.19 by @chenjiahan in #4787
Full Changelog: v1.2.18...v1.2.19
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: [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