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