Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v2.0.0-beta.4
What's Changed
New Features 🎉
- feat: normalize shortcut input to handle whitespace and case by @chenjiahan in #7159
- feat(deps): update @rspack/core to 2.0.0-beta.2 by @chenjiahan in #7172
Bug Fixes 🐞
- fix(cleanOutput): prevent accidental deletion when root path is '/' by @chenjiahan in #7158
- fix(core): allow assetPrefix to be an empty string by @xun082 in #6971
- fix(plugin-less):
parallelLoaderconfig is no longer needed in Rspack v2 by @chenjiahan in #7166
Document 📖
- docs: update AGENTS.md with improved structure by @chenjiahan in #7160
- docs: add sync-zh-en-docs skill by @chenjiahan in #7167
- docs: add write-e2e-cases skill by @chenjiahan in #7169
- docs: update node version requirements for v2 by @Timeless0911 in #7170
- docs: add docs-en-improvement skill and remove old prompt file by @chenjiahan in #7171
Other Changes
- chore(deps): update dependency svelte to ^5.50.0 by @renovate[bot] in #7156
- chore(deps): update module federation to v2 (major) by @renovate[bot] in #7157
- chore(deps): update all patch dependencies by @renovate[bot] in #7161
- chore(deps): update pnpm to v10.29.1 by @renovate[bot] in #7162
- chore(build): prebundle jiti by @chenjiahan in #7163
- chore: reduce duplicated parser merge calls by @chenjiahan in #7164
- chore: no need to enable asyncWebAssembly by @chenjiahan in #7165
- test: add test cases to verify entry import array works by @chenjiahan in #7168
- chore: no need to set exportsPresence error by @chenjiahan in #7173
- chore(deps): update dependency happy-dom to ^20.6.1 by @renovate[bot] in #7174
- release: 2.0.0-beta.4 by @chenjiahan in #7175
New Contributors
Full Changelog: v2.0.0-beta.3...v2.0.0-beta.4
v2.0.0-beta.3
What's Changed
New Features 🎉
- feat: add
liveReload.htmloption to control HTML reload by @chenjiahan in #7144 - feat: updates the default contenthash length in filenames from 8 to 10 by @chenjiahan in #7154
Bug Fixes 🐞
- fix: replace
bundlerwith rspack in bundlerChain config by @chenjiahan in #7143 - fix(plugin-vue): remove webpack dependency by @chenjiahan in #7148
Document 📖
- docs: update proxy examples to remove unnecessary path segments by @chenjiahan in #7140
- docs: enhance upgrade guide with Agent Skills instructions by @chenjiahan in #7141
- docs: add Agent Skills link to documentation by @chenjiahan in #7142
- docs: add Rsbuild v2 documentation links by @chenjiahan in #7152
- docs: update Rsbuild descriptions by @chenjiahan in #7153
Other Changes
- test: refactor environment variable stubbing by @chenjiahan in #7139
- chore: remove webpack dev dependency from core by @chenjiahan in #7146
- chore: lock file maintenance by @chenjiahan in #7149
- release: @rsbuild/plugin-vue v1.2.6 by @chenjiahan in #7151
- release: 2.0.0-beta.3 by @chenjiahan in #7155
Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3
v2.0.0-beta.2
What's Changed
New Features 🎉
- feat(deps): upgrade @rspack/core to 2.0.0-beta.0 by @chenjiahan in #7134
Performance 🚀
- perf(deps): replace picocolors with styleText from node:util by @chenjiahan in #7126
Bug Fixes 🐞
- fix: generate manifest with integrity when html plugin is disabled by @chenjiahan in #7132
- fix(sri): add integrity attributes with native html plugin by @chenjiahan in #7133
Document 📖
- docs: update upgrade guide for http-proxy-middleware v3 by @chenjiahan in #7122
- docs: update proxy configuration examples by @chenjiahan in #7123
Other Changes
- chore(build): bundle http-proxy-middleware instead of using prebundle by @chenjiahan in #7125
- chore(deps): update dependency happy-dom to ^20.5.0 by @renovate[bot] in #7127
- chore(deps): update module federation to v0.24.0 by @renovate[bot] in #7128
- chore(deps): update all patch dependencies by @renovate[bot] in #7135
- chore(deps): update dependency rslog to v2 by @renovate[bot] in #7136
- release: 2.0.0-beta.2 by @chenjiahan in #7137
Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2
v1.7.3
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to ^1.7.5 by @chenjiahan in #7129
- feat(create-rsbuild): add Tailwind CSS support by @chenjiahan in #6934
Bug Fixes 🐞
- fix(create-rsbuild): remove unused fields from Rstest templates by @chenjiahan in #6933
- fix(plugins): update peerDependencies to support Rsbuild v2 by @chenjiahan in #6976
Document 📖
- docs: add links for Rsbuild 2.x documentation by @chenjiahan in #7047
Other Changes
- release: create-rsbuild v1.7.0 by @chenjiahan in #6935
- release: bump version for all plugins by @chenjiahan in #6977
- release: v1.7.3 by @chenjiahan in #7130
Full Changelog: v1.7.2...v1.7.3
v2.0.0-beta.1
What's Changed
New Features 🎉
- feat: add support for 'none' preset in splitChunks by @chenjiahan in #7099
- feat(deps)!: update http-proxy-middleware to v3 by @chenjiahan in #7116
- feat!: streamline proxy config typing by @chenjiahan in #7120
Bug Fixes 🐞
- fix(plugin-react): skip chunk splitting for non-web targets by @chenjiahan in #7090
- fix(plugin-vue): skip chunk splitting for non-web targets by @chenjiahan in #7091
- fix: update chunk name for per-package preset by @chenjiahan in #7102
- fix(plugin-react): failed to split chunks with Rsbuild v1 by @chenjiahan in #7109
- fix(plugin-vue): failed to split chunks with Rsbuild v1 by @chenjiahan in #7112
Document 📖
- docs: refine chunk splitting guide in optimize-bundle.mdx by @chenjiahan in #7094
- docs: update splitChunks documentation to add usage examples by @chenjiahan in #7097
- docs: remove Modern.js Builder migration guide by @chenjiahan in #7098
- docs: enhance code splitting documentation by @chenjiahan in #7103
- docs: remove outdated content from code splitting guide by @chenjiahan in #7107
- docs: enable Rspress's new llms generation by @chenjiahan in #7114
- docs: update proxy examples for http-proxy-middleware v3 by @chenjiahan in #7117
- docs: update GitHub links to remove tab=readme-ov-file by @chenjiahan in #7118
- docs: add version differences for proxy config by @chenjiahan in #7119
Other Changes
- release: @rsbuild/plugin-react v1.4.4 by @chenjiahan in #7089
- release: @rsbuild/plugin-vue v1.2.4 by @chenjiahan in #7092
- chore(deps): update swc monorepo to ^12.5.0 by @renovate[bot] in #7096
- chore(deps): update dependency @rsbuild/plugin-vue2 to ^1.1.0 by @renovate[bot] in #7095
- chore(deps): update dependency @shikijs/transformers to ^3.22.0 by @renovate[bot] in #7100
- chore(deps): update dependency svelte to ^5.49.1 by @renovate[bot] in #7101
- docs: add migration guide for
chunkSplitby @chenjiahan in #7104 - chore(deps): update actions/upload-artifact digest to 47309c9 by @renovate[bot] in #7105
- chore(deps): update babel to ^7.29.0 by @renovate[bot] in #7108
- release: @rsbuild/plugin-react v1.4.5 by @chenjiahan in #7110
- chore(deps): update all patch dependencies by @renovate[bot] in #7106
- release: @rsbuild/plugin-vue v1.2.5 by @chenjiahan in #7113
- chore: bundle dependency @rspack/lite-tapable by @chenjiahan in #7115
- release: 2.0.0-beta.1 by @chenjiahan in #7121
Full Changelog: v2.0.0-beta.0...v2.0.0-beta.1
v2.0.0-beta.0
What's Changed
New Features 🎉
- feat: introduce new splitChunks config by @chenjiahan in #7073
- feat: remove default
lib-axiossplit from default preset by @chenjiahan in #7079 - feat: support boolean type for server host configuration by @chenjiahan in #7084
- feat: allow to set split chunks for non-web targets by @chenjiahan in #7087
Performance 🚀
- perf: replace createRequire with require from helpers by @chenjiahan in #7071
Bug Fixes 🐞
- fix: correctly read split size config by @chenjiahan in #7076
- fix: allow to disable default
lib-polyfillcache group by @chenjiahan in #7080 - fix(mf): remove unnecessary chunk split rules by @chenjiahan in #7086
Refactor 🔨
- refactor: update rspack import paths by @chenjiahan in #7072
Document 📖
- docs: improve server options description for clarity by @chenjiahan in #7067
- docs(deps): update Rspress to 2.0.0 stable versions by @chenjiahan in #7075
- docs: add splitChunks configuration documentation by @chenjiahan in #7081
- docs: update split chunks related documentation by @chenjiahan in #7085
Other Changes
- chore(deps): update dependency @rsbuild/plugin-babel to ^1.1.0 by @renovate[bot] in #7068
- chore(deps): update dependency @rsbuild/plugin-svelte to ^1.1.0 by @renovate[bot] in #7070
- test: replace performance.chunkSplit with new splitChunks config by @chenjiahan in #7077
- test(e2e): add split-chunks test cases by @chenjiahan in #7078
- chore(deps): update dependency happy-dom to ^20.4.0 by @renovate[bot] in #7082
- chore(deps): update dependency vue-router to v5 by @renovate[bot] in #7083
- release: 2.0.0-beta.0 by @chenjiahan in #7088
Full Changelog: v2.0.0-alpha.4...v2.0.0-beta.0
v2.0.0-alpha.4
What's Changed
New Features 🎉
- feat!: remove support for
?__inline=falsequery by @chenjiahan in #7057 - feat(plugin-less): compatible with Rsbuild v1 by @chenjiahan in #7054
- feat(plugin-sass): compatible with Rsbuild v1 by @chenjiahan in #7055
- feat(plugin-stylus): compatible with Rsbuild v1 by @chenjiahan in #7056
- feat(plugin-svgr): compatible with Rsbuild v1 by @chenjiahan in #7061
- feat(plugin-babel): compatible with Rsbuild v1 by @chenjiahan in #7062
- feat(plugin-svelte): compatible with Rsbuild v1 by @chenjiahan in #7063
- feat(deps): upgrade @rspack/core to 2.0.0-alpha.1 by @chenjiahan in #7065
Bug Fixes 🐞
Refactor 🔨
- refactor: simplify CSS rules and identifiers by @chenjiahan in #7060
Document 📖
- docs: update installation instructions for plugins by @chenjiahan in #7051
Other Changes
- Revert "chore: update plugin versions to 2.0.0-alpha.2 and adjust peer deps" by @chenjiahan in #7053
- chore(deps): update playwright monorepo to v1.58.0 by @renovate[bot] in #7033
- release: minor release for plugins by @chenjiahan in #7064
- release: 2.0.0-alpha.4 by @chenjiahan in #7066
Full Changelog: v2.0.0-alpha.3...v2.0.0-alpha.4
v2.0.0-alpha.3
What's Changed
New Features 🎉
- feat!: set default config loader to 'auto' for loadConfig by @chenjiahan in #7024
- feat: support server custom message handling by module.hot.on by @SyMind in #7003
- feat(core): add ignore option for public directory copy in server plugin by @JSH-data in #7023
- feat!: convert the built‑in JS rule to oneOf structure by @chenjiahan in #7032
- feat!: convert the built‑in CSS rule to oneOf structure by @chenjiahan in #7037
Bug Fixes 🐞
- fix(types): add public typing for
import.meta.webpackHot.onby @chenjiahan in #7028
Refactor 🔨
- refactor: rename id for JS main oneOf rule by @chenjiahan in #7036
Document 📖
- docs: update sockWrite with custom message support by @chenjiahan in #7029
- docs: update upgrade guide with built-in rule changes by @chenjiahan in #7035
- docs: add guide to reflect CSS rule structure changes by @chenjiahan in #7038
- docs: update bundlerChain examples to use oneOf by @chenjiahan in #7045
- docs: update chain IDs for bundlerChain by @chenjiahan in #7046
- docs: clarify custom message handling by @chenjiahan in #7048
Other Changes
- test(e2e): fix service worker flaky tests by @stormslowly in #7017
- chore(build): simplify rspack runtime replacement plugin by @chenjiahan in #7026
- test: streamline custom message tests by @chenjiahan in #7027
- chore(deps): update dependency @rstest/adapter-rslib to ^0.2.0 by @renovate[bot] in #7030
- chore(deps): update module federation to v0.23.0 by @renovate[bot] in #7031
- chore(deps): update swc monorepo to ^12.4.0 by @renovate[bot] in #7034
- chore(deps): update dependency react-router-dom to ^7.13.0 by @renovate[bot] in #7042
- chore(deps): update dependency svelte to ^5.48.2 by @renovate[bot] in #7043
- test: remove compatibility tests for Rsbuild < 1.3.0 by @chenjiahan in #7044
- chore(deps): update dependency memfs to ^4.56.10 by @renovate[bot] in #7041
- chore(deps): update all patch dependencies by @renovate[bot] in #7040
- chore: update plugin versions to 2.0.0-alpha.2 and adjust peer deps by @chenjiahan in #7049
- release: 2.0.0-alpha.3 by @chenjiahan in #7050
New Contributors
Full Changelog: v2.0.0-alpha.2...v2.0.0-alpha.3
v2.0.0-alpha.2
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.0.0-alpha.0 by @chenjiahan in #7014
- feat(deps)!: upgrade chokidar to ^5.0.0 by @chenjiahan in #7020
Bug Fixes 🐞
- fix(cli): exit with non-zero code when it fails to start by @Timeless0911 in #7010
Document 📖
- docs: clarify minification description by @chenjiahan in #7016
Other Changes
- chore(deps): update Rstest to v0.8.0 by @renovate[bot] in #7008
- chore(deps): update dependency lodash to v4.17.23 [security] by @renovate[bot] in #7009
- test: update SSR test to use retried backend assert by @stormslowly in #7011
- test: simplify assertions in SSR tests by @chenjiahan in #7013
- test: reset logger level after each test by @chenjiahan in #7015
- chore(deps): update dependency nx to ^22.4.1 by @renovate[bot] in #7019
- chore(deps): update dependency core-js to ^3.48.0 by @renovate[bot] in #7018
- chore: simplify prebundle config by @chenjiahan in #7021
- release: 2.0.0-alpha.2 by @chenjiahan in #7022
Full Changelog: v2.0.0-alpha.1...v2.0.0-alpha.2
v2.0.0-alpha.1
Note 💡
This is an early preview release intended for testing only. It introduces a number of breaking changes that are not yet final.
- Rsbuild 2.0 upgrade guide: https://v2.rsbuild.rs/guide/upgrade/v1-to-v2
- The full list of breaking changes: #5275
What's Changed
New Features 🎉
- feat(deps)!: update @rspack/core to v2 canary by @chenjiahan in #6988
- feat!: remove
performance.removeMomentLocaleoption by @chenjiahan in #6991
Bug Fixes 🐞
- fix(create-rsbuild): update @rsbuild/core dependency to v2.0.0-0 by @chenjiahan in #6978
- fix: ensure
output.minifyhas a default value based on target by @chenjiahan in #6979 - fix: remove unused CHAIN_ID entries by @chenjiahan in #6980
- fix: update type definitions for
source.defineby @chenjiahan in #6985 - fix: update transformImport typing by @chenjiahan in #6986
- fix: correct 'drafts' in lightningcss minimize plugin by @chenjiahan in #6987
Refactor 🔨
- refactor: simplify Rspack plugin and config types by @chenjiahan in #7000
Document 📖
- docs: add
performance.removeMomentLocaleto upgrade guide by @chenjiahan in #6994 - docs: add Rspack v2 dependency information to upgrade guide by @chenjiahan in #6996
Other Changes
- chore(deps): update dependency svelte to v5.46.4 [security] by @renovate[bot] in #6981
- chore(deps): update dependency @rsdoctor/rspack-plugin to v1.5.0 by @renovate[bot] in #6982
- chore(deps): update dependency @rslint/core to ^0.2.0 - autoclosed by @renovate[bot] in #6983
- chore(deps): update all patch dependencies by @renovate[bot] in #6984
- chore(deps): update dependency happy-dom to ^20.3.1 by @renovate[bot] in #6989
- chore(deps): update dependency prettier to ^3.8.0 by @renovate[bot] in #6990
- chore(deps): update actions/setup-node action to v6.2.0 by @renovate[bot] in #6993
- chore(deps): update all patch dependencies by @renovate[bot] in #6992
- chore(deps): update dependency @babel/plugin-transform-class-properties to ^7.28.6 by @renovate[bot] in #6997
- test(e2e): enable skipped tests for Preact by @chenjiahan in #7001
- chore: update @rspack/core to 2.0.0-canary.20260120 by @chenjiahan in #7002
- chore: remove Netlify configuration and add redirects file by @chenjiahan in #7004
- chore: update renovate configuration to include Rstest group by @chenjiahan in #7006
- release: 2.0.0-alpha.1 by @chenjiahan in #7005
Full Changelog: v2.0.0-alpha.0...v2.0.0-alpha.1