Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.1.12
What's Changed
Bug Fixes 🐞
- Revert "fix: should copy publicDir to the environment distDir when multiple environments (#4220)" by @chenjiahan in #4240
Document 📖
- docs: update release workflow in CONTRIBUTING.md by @chenjiahan in #4238
Full Changelog: v1.1.11...v1.1.12
v1.1.11
What's Changed
New Features 🎉
- feat: add
server.cors
config by @chenjiahan in #4183 - feat: support for
importModule
inapi.transform
by @chenjiahan in #4217
Bug Fixes 🐞
- fix(create-rsbuild): remove Svelte 4 template by @chenjiahan in #4182
- fix(plugin-svelte): require is not defined in computing sveltePath variable by @lguzzon in #4184
- fix(HMR): should reload page when HTML template changed by @chenjiahan in #4212
- fix: should copy publicDir to the environment distDir when multiple environments by @9aoy in #4220
- fix: pin rspack version by @9aoy in #4222
Document 📖
- docs: add
server.cors
config by @chenjiahan in #4187 - docs: improve PostCSS add plugins example by @chenjiahan in #4189
- docs: examples for Environment Context by @chenjiahan in #4193
- docs: clean up unnecessary Rspress config by @chenjiahan in #4196
- docs: React Compiler for React 17 and 18 by @chenjiahan in #4198
- docs(website): revise the description by @xbzhang2020 in #4199
- docs: improve code splitting by @chenjiahan in #4208
- docs: improve
dev.setupMiddlewares
by @chenjiahan in #4214 - docs: multi environments build order by @chenjiahan in #4215
- docs: configure alias via jsconfig.json by @chenjiahan in #4230
Other Changes
- test: run e2e cases with Rspack incremental by @chenjiahan in #4188
- chore(renovate): group sass packages by @chenjiahan in #4190
- release: @rsbuild/plugin-svelte 1.0.6 by @chenjiahan in #4192
- test(e2e): fix unsable CORS cases by @chenjiahan in #4195
- chore(deps): update sass to ^1.83.0 by @renovate in #4194
- chore(deps): update dependency svelte to ^5.14.0 by @renovate in #4201
- chore(deps): update all patch dependencies by @renovate in #4200
- chore(workflow): remove duplicated issue label by @chenjiahan in #4206
- chore: prepare for v1.2.0 release by @chenjiahan in #4207
- chore(deps): update dependency @rsbuild/plugin-vue-jsx to ^1.1.0 by @renovate in #4213
- chore(CI): remove issue_comment trigger by @chenjiahan in #4221
- chore(CI): clean up unnecessary workflows by @chenjiahan in #4225
- chore(CI): remove bench-pr.yml by @chenjiahan in #4226
- chore(deps): update dependency nx to ^20.3.0 by @renovate in #4229
- chore(CI): update release workflow by @chenjiahan in #4233
- Revert "chore: prepare for v1.2.0 release (#4207)" by @chenjiahan in #4234
- chore(CI): specify pnpm publish branch by @chenjiahan in #4236
- release: stylus and svelte plugins v1.0.7-alpha.0 by @chenjiahan in #4235
- release: 1.1.11 by @chenjiahan in #4237
New Contributors
- @lguzzon made their first contribution in #4184
- @xbzhang2020 made their first contribution in #4199
Full Changelog: v1.1.10...v1.1.11
v1.1.10
What's Changed
New Features 🎉
- feat(deps): bump Rspack 1.1.6 by @chenjiahan in #4163
Bug Fixes 🐞
- fix: print file size should ends with a new line by @chenjiahan in #4153
- fix: perform cleanup at the right time by @chenjiahan in #4155
- fix: correct the restart build message by @chenjiahan in #4156
- fix: should not trigger dev hooks when building by @chenjiahan in #4165
- fix(webpack): use html-webpack-plugin by default by @chenjiahan in #4175
Document 📖
- docs: update preconnect and dns-prefetch configurations by @chenjiahan in #4149
- docs: update
createRsbuild
options by @chenjiahan in #4154 - docs: correct Rspack links by @chenjiahan in #4160
- docs(plugin-svgr): explain base64 URL by @chenjiahan in #4168
- docs: set title for SPA by @chenjiahan in #4169
- docs: upgrade to React 19 and fix peer issues by @chenjiahan in #4170
- docs: improve
server.port
by @chenjiahan in #4178
Other Changes
- release: 1.1.9 by @chenjiahan in #4148
- chore(deps): update dependency @rsbuild/plugin-react to ^1.1.0 by @renovate in #4151
- chore(deps): update all patch dependencies by @renovate in #4157
- chore(deps): update dependency svelte to ^5.9.0 by @renovate in #4158
- test(e2e): fix failed Module Federation test case by @chenjiahan in #4162
- test(e2e): fix unstable plugin hooks case by @chenjiahan in #4164
- chore(workflow): set Issue types by @chenjiahan in #4171
Full Changelog: v1.1.9...v1.1.10
v1.1.9
What's Changed
New Features 🎉
- feat: make environment API result cacheable by @9aoy in #4126
- feat(create-rsbuild): create React 19 project by default by @chenjiahan in #4142
- feat: add
resolve.extensions
config by @chenjiahan in #4146
Bug Fixes 🐞
- fix(plugin-sass): mute import deprecation warning by @chenjiahan in #4122
- fix: correct
cliShortcuts.custom
typing by @chenjiahan in #4125 - fix(plugin-assets-retry): support
output.assetPrefix
with absolute url by @SoonIter in #4129
Document 📖
- docs: update some links by @chenjiahan in #4117
- docs: import Node.js addons by @chenjiahan in #4123
- docs: fix mistakes in cli.mdx by @chenjiahan in #4127
- docs: add
resolve.extensions
config by @chenjiahan in #4147
Other Changes
- chore: bump Rspress and remove overrides by @chenjiahan in #4119
- chore(deps): update dependency svelte to ^5.6.2 by @renovate in #4130
- chore(deps): update dependency webpack to ^5.97.1 by @renovate in #4131
- chore(deps): update dependency react-refresh to ^0.16.0 by @renovate in #4134
- chore(deps): update dependency nx to ^20.2.0 by @renovate in #4133
- chore(deps): update dependency sass-embedded to ^1.82.0 by @renovate in #4138
- chore(deps): update all patch dependencies by @renovate in #4136
- chore(deps): update dependency terser to v5.37.0 by @renovate in #4135
- chore(deps): update dependency sass to ^1.82.0 by @renovate in #4137
- chore(deps): update dependency svelte to ^5.8.1 by @renovate in #4145
- chore(deps): update dependency @rsbuild/plugin-check-syntax to ^1.2.0 by @renovate in #4144
Full Changelog: v1.1.8...v1.1.9
v1.1.8
What's Changed
Bug Fixes 🐞
- fix:
resolve.dedupe
may set incorrect path by @chenjiahan in #4106 - fix: improve compatibility of
source.alias
by @chenjiahan in #4108
Document 📖
- docs: move alias config to resolve by @chenjiahan in #4109
- docs: add environment API type by @9aoy in #4113
Other Changes
- chore(deps): update all patch dependencies by @renovate in #4104
- chore(deps): update dependency svelte to ^5.3.1 by @renovate in #4105
- chore(plugin-preact): use
resolve.alias
by @chenjiahan in #4107 - chore: pin Rslib 0.1.0 to fix unstable CI by @chenjiahan in #4110
- chore(deps): update dependency svelte to ^5.4.0 by @renovate in #4111
- chore(deps): update all patch dependencies by @renovate in #4114
Full Changelog: v1.1.7...v1.1.8
v1.1.7
What's Changed
New Features 🎉
- feat: add
resolve.dedupe
config by @chenjiahan in #4092 - feat: add
resolve.alias
and deprecatesource.alias
by @chenjiahan in #4098 - feat: add
resolve.aliasStrategy
and deprecatesource.aliasStrategy
by @chenjiahan in #4101 - feat: only print total size if there are more than one asset by @chenjiahan in #4072
- feat: always write manifest to disk by @9aoy in #4074
- feat(CLI): set default
process.title
by @chenjiahan in #4083 - feat(CLI): close instance after building by @chenjiahan in #4068
- feat: complete the error message prefix by @chenjiahan in #4084
Bug Fixes 🐞
- fix: remove unused if condition by @chenjiahan in #4097
Document 📖
- docs: tip for style-loader source map by @chenjiahan in #4073
- docs: fix SSR Node bundle usage in docs by @xettri in #4076
- docs: update ssr environment to node environment by @9aoy in #4080
- docs: tip for gzip compression by @chenjiahan in #4086
- docs: update MF guides to @module-federation/rsbuild-plugin by @chenjiahan in #4087
- docs: clarify chunk-split behavior for different targets by @chenjiahan in #4088
- docs: add
resolve.dedupe
config by @chenjiahan in #4093 - docs: improve dedupe guides by @chenjiahan in #4095
- docs: update stucture in configure-rsbuild by @chenjiahan in #4099
- docs: update environment and template parameters by @chenjiahan in #4100
Other Changes
- chore(deps): update dependency @types/node to ^22.10.0 by @renovate in #4077
- chore(deps): remove unused rimraf and fs-extra by @chenjiahan in #4079
- chore(deps): update dependency prettier to ^3.4.1 by @renovate in #4078
- test: add e2e case for build API by @chenjiahan in #4081
- chore(deps): update dependency vue-router to ^4.5.0 by @renovate in #4082
- chore(deps): update dependency path-serializer to v0.3.4 by @renovate in #4091
- chore(deps): update dependency @module-federation/rsbuild-plugin to v0.8.0 by @renovate in #4090
Full Changelog: v1.1.6...v1.1.7
v1.1.6
What's Changed
Highlights 💡
Rsbuild no longer watches the node_modules
directory by default, resulting in significant performance improvements:
- Up to 40% faster startup
- Up to 30% faster HMR
- 20% less memory
See #4058 for more details.
Performance 🚀
- perf: aggregateTimeout defaults to 0 by @chenjiahan in #4062
- perf: no need to calc gzipped size for Node bundles by @chenjiahan in #4066
New Features 🎉
- feat: add plugin
onCloseBuild
hook by @9aoy in #4065 - feat(deps): bump Rspack v1.1.4 by @chenjiahan in #4067
Document 📖
- docs: update ts checker plugin links by @chenjiahan in #4054
- docs: improve migration guides by @chenjiahan in #4055
- docs: update file watching by @chenjiahan in #4061
Other Changes
- test(e2e): add case for copy with context by @chenjiahan in #4060
Full Changelog: v1.1.5...v1.1.6
v1.1.5
What's Changed
New Features 🎉
- feat: allow
output.sourceMap
to be boolean value by @chenjiahan in #4037 - feat: add
printFileSize.include
option by @chenjiahan in #4044 - feat: add
printFileSize.exclude
option by @chenjiahan in #4045
Bug Fixes 🐞
- fix: should close compiler when dev closed by @9aoy in #4027
- fix(plugin-assets-retry): avoid webpack_require.e pollution and add some try catch to be safer by @SoonIter in #4025
Document 📖
- docs(deps): bump rspress 1.37.2 by @9aoy in #4023
- docs: fix broken api links by @9aoy in #4028
- docs: add intro for TanStack Router by @chenjiahan in #4036
- docs: update description for Rslib by @chenjiahan in #4039
- docs: add JSDoc for
PrintFileSizeOptions
by @chenjiahan in #4043 - docs: manual tags injection guide by @chenjiahan in #4049
- docs: update configuration migration by @chenjiahan in #4051
Other Changes
- chore(examples): use MF Rsbuild plugin by @chenjiahan in #4022
- test(e2e): enable MF v2 HMR case by @chenjiahan in #4024
- chore: switch to ESM loaders by @chenjiahan in #4030
- release: @rsbuild/plugin-assets-retry 1.0.5 by @SoonIter in #4031
- chore(deps): bump Rslib v0.1.0 by @chenjiahan in #4032
- chore(build): remove dirname shims by @chenjiahan in #3984
- chore(deps): update all patch dependencies by @renovate in #4035
- chore(deps): update dependency reduce-configs to ^1.1.0 by @renovate in #4042
- chore(deps): bump typescript v5.7 by @chenjiahan in #4046
- chore(deps): update dependency preact to ^10.25.0 by @renovate in #4047
- chore(deps): update dependency svelte-check to ^4.1.0 by @renovate in #4048
- chore(deps): update dependency react-router-dom to v7 by @renovate in #4050
- chore(deps): update all patch dependencies by @renovate in #4052
- release: 1.1.5 by @9aoy in #4053
Full Changelog: v1.1.4...v1.1.5
v1.1.4
What's Changed
New Features 🎉
- feat: enable module trace by default by @9aoy in #4008
- feat: reference script modules as URL assets by @chenjiahan in #4011
- feat: reference style modules as URL assets by @chenjiahan in #4016
- feat(loadConfig): allow to pass a meta data by @hasnum-stack in #4013
- feat(deps): bump Rspack v1.1.2 by @chenjiahan in #4017
Bug Fixes 🐞
Document 📖
- docs: add more JavaScript runtimes by @chenjiahan in #4009
- docs: unify handler param by @9aoy in #4014
- docs: complete loadConfig options by @chenjiahan in #4019
Other Changes
- chore(deps): update dependency rspack-chain to ^1.1.0 by @renovate in #4010
- chore(deps): update all patch dependencies by @renovate in #4018
- release: 1.1.4 by @9aoy in #4020
Full Changelog: v1.1.3...v1.1.4
v1.1.3
What's Changed
New Features 🎉
- feat: support print error module traces by @9aoy in #3986
- feat(plugin-sass): mute deprecation warnings of dependencies by @chenjiahan in #3998
Bug Fixes 🐞
- fix(webpack): move Rslib to devDependencies by @colinaaa in #3990
- fix: pin Rspack 1.1.0 to fix "Tsconfig not found" by @chenjiahan in #4001
Document 📖
- docs: add rsbuild-plugin-tailwindcss to optimize bundle size by @chenjiahan in #3991
- docs: add explanation to .env by @hangCode2001 in #3993
Other Changes
- chore: move
runCLI
from internal helpers to index export by @chenjiahan in #3981 - chore: simplify isGlob helper by @chenjiahan in #3982
- chore: normalize stats with
getStatsOptions
by @chenjiahan in #3987 - chore(deps): update dependency sass to ^1.81.0 by @renovate in #3988
- chore(deps): update dependency sass-embedded to ^1.81.0 by @renovate in #3989
- chore(CI): reduce playwright install time by @chenjiahan in #3995
- release: @rsbuild/plugin-webpack-swc 1.0.8 by @chenjiahan in #3997
- chore(deps): update all patch dependencies by @renovate in #3999
- chore(deps): update dependency svelte to ^5.2.2 by @renovate in #4000
- chore(deps): update dependency tsconfig-paths-webpack-plugin to v4.2.0 by @renovate in #4002
- chore(deps): update rspress to v1.37.0 by @renovate in #4003
Full Changelog: v1.1.2...v1.1.3