Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.4.0-beta.0
What's Changed
New Features 🎉
- feat: support get environment context via environment API by @9aoy in #5334
- feat: let SWC compile modules outside the project by @chenjiahan in #5344
Performance 🚀
- perf: disable progress bar by default by @chenjiahan in #5342
Bug Fixes 🐞
- fix: display gzip size for markdown files by @chenjiahan in #5321
- fix: avoid colon in output config file name by @9aoy in #5325
- fix: validate environment names for safety by @chenjiahan in #5328
Document 📖
- docs: update Rslib website URL by @chenjiahan in #5318
- docs: update links to use relative paths by @chenjiahan in #5320
- docs: fix inaccurate expression in import wasm module by @9aoy in #5326
- docs: switch to new domains by @chenjiahan in #5324
- docs: disable domain redirection by @chenjiahan in #5327
- docs: SSR-specific plugins by @chenjiahan in #5330
- docs: enable domain redirection by @chenjiahan in #5331
- docs: fix invalid browserslist query example by @chenjiahan in #5333
- docs: clarify methods to access environment context by @chenjiahan in #5335
- docs: add DeepWiki badge to README by @chenjiahan in #5336
- docs: enhance HTML generation for source.entry by @chenjiahan in #5337
- docs: update terminology and clarify compilation scope by @chenjiahan in #5341
Other Changes
- chore(deps): update dependency @rslib/core to v0.9.0 by @renovate in #5319
- chore: use test global APIs by @9aoy in #5323
- chore(deps): update all patch dependencies by @renovate in #5332
- chore(workflow): replace changeset with bumpp by @chenjiahan in #5338
- chore: lock file maintenance by @chenjiahan in #5339
- test(ut): fix all type issues by @chenjiahan in #5340
- chore(deps): update all patch dependencies by @renovate in #5343
- release: 1.4.0-beta.0 by @chenjiahan in #5346
Full Changelog: v1.3.22...v1.4.0-beta.0
v1.3.22
What's Changed
New Features 🎉
- feat: enhance error messages with color for better visibility by @chenjiahan in #5294
- feat: allow CLI shortcuts help option to accept custom string by @chenjiahan in #5304
- feat: allow to enable minify in development mode by @chenjiahan in #5315
- feat(deps): update @rspack/core to v1.3.12 by @chenjiahan in #5316
Performance 🚀
- perf: use dynamic imports for exec and promisify by @chenjiahan in #5307
- perf: use dynamic imports for readline by @chenjiahan in #5308
- perf: remove node:assert import by @chenjiahan in #5309
- perf: use dynamic import for node:dns by @chenjiahan in #5312
- perf: use dynamic imports for node:net by @chenjiahan in #5314
Bug Fixes 🐞
- fix: add warning for modifying plugins in
modifyRsbuildConfig
by @chenjiahan in #5293 - fix: correct plugin modification warning logic by @chenjiahan in #5302
Document 📖
- docs: update Rstack introduction by @chenjiahan in #5281
- docs: polish README files by @chenjiahan in #5286
- docs: correct build profiling output by @colinaaa in #5289
- docs: template conditional statements usage by @chenjiahan in #5291
- docs: update inlineScripts and inlineStyles types by @gaoachao in #5295
- docs: template loop statements usage by @chenjiahan in #5297
- docs: update
output.copy
examples by @puxiao in #5298 - docs: improve build profiling with additional tips by @chenjiahan in #5299
- docs(rspress): use @rspress/plugin-algolia for search by @SoonIter in #5300
- docs: clarify default minification options by @chenjiahan in #5301
Other Changes
- chore(deps): update dependency nx to ^21.1.0 by @renovate in #5285
- chore(deps): update dependency @rslib/core to v0.8.0 by @renovate in #5284
- refactor: splitting the config module into two separate files by @chenjiahan in #5287
- chore: add warnings for deprecated
source.alias
config by @chenjiahan in #5288 - test(e2e): add cases for template conditional statements by @chenjiahan in #5290
- test(e2e): enable reloading env files case by @chenjiahan in #5292
- test(e2e): add cases for template loop statements by @chenjiahan in #5296
- chore(deps): update dependency svelte to ^5.33.1 by @renovate in #5303
- chore: update rspack import statements to use named import by @chenjiahan in #5305
- chore(deps): update all patch dependencies by @renovate in #5306
- refactor: replace querystring parse with URLSearchParams by @chenjiahan in #5310
- perf: update vm imports to use named imports and dynamic require by @chenjiahan in #5313
- release: 1.3.22 by @chenjiahan in #5317
New Contributors
Full Changelog: v1.3.21...v1.3.22
v1.3.21
What's Changed
New Features 🎉
- feat(deps): update Rspack to 1.3.11 by @chenjiahan in #5282
- feat: reload server when tsconfig.json is changed by @chenjiahan in #5278
- feat: normalize tsconfigPath in environment configuration by @chenjiahan in #5263
Performance 🚀
- perf(cache): switch hash algorithm to SHA-256 and adjust output length by @chenjiahan in #5243
- perf(hash): use
crypto.hash
in higher versions of Node by @chenjiahan in #5244
Bug Fixes 🐞
- fix: update rspackMinVersion to 1.2.4 for SRI support by @chenjiahan in #5268
- fix(plugin-svelte): should transpile JS code in .svelte files by @chenjiahan in #5270
- fix(plugin-svelte): transpile the Svelte package to downgrade the syntax by @chenjiahan in #5272
- fix: narrow watchFiles type in normalized config by @chenjiahan in #5277
Document 📖
- docs: fix typo in lightningcss-loader page by @notzheng in #5237
- docs: improve description by @thinkasany in #5241
- docs: add close method for dev server API by @chenjiahan in #5242
- docs: add available callerName values by @chenjiahan in #5247
- docs: add Rstest to homepage by @chenjiahan in #5251
- docs: remove unused i18n config by @chenjiahan in #5253
- docs: fix overview page layout by @chenjiahan in #5254
- docs: move CSS-in-JS guide to separate page by @chenjiahan in #5258
- docs: enhance rsbuild.context with access methods by @chenjiahan in #5266
- docs: update
context.devServer
with examples by @chenjiahan in #5267 - docs: update SWC React options type by @chenjiahan in #5279
- docs: fix typo in
en/browserslist.mdx
by @Timeless0911 in #5280
Other Changes
- refactor(hmr): remove early exit to be bundler friendly by @chenjiahan in #5236
- chore: simplify Rspress config by @chenjiahan in #5238
- chore(deps): update Rspress to 2.0.0-beta.6 by @chenjiahan in #5255
- chore(deps): update dependency svelte-check to ^4.2.1 by @renovate in #5257
- chore(deps): update dependency svelte to ^5.30.1 by @renovate in #5256
- chore(deps): update pnpm to v10.11.0 by @renovate in #5261
- chore(deps): update sass to ^1.89.0 by @renovate in #5262
- chore: remove duplicated path helper by @chenjiahan in #5264
- refactor: migrate inspectConfig functionality to a dedicated file by @chenjiahan in #5265
- chore(deps): update all patch dependencies by @renovate in #5269
- release: @rsbuild/plugin-svelte v1.0.9 by @chenjiahan in #5271
- test(e2e): add case for transpiling .svelte files by @chenjiahan in #5273
- release: @rsbuild/plugin-svelte 1.0.10 by @chenjiahan in #5274
- chore(deps): update module federation to v0.14.0 by @renovate in #5260
- chore(types): limit readonly config to two level by @chenjiahan in #5276
- release: 1.3.21 by @chenjiahan in #5283
New Contributors
Full Changelog: v1.3.20...v1.3.21
v1.3.20
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 1.3.10 by @chenjiahan in #5229
- feat: narrow Rspack configuration type for
tools.rspack
by @chenjiahan in #5230
Document 📖
- docs: update Rspack profile recommended value by @chenjiahan in #5221
- docs: enhance buildDependencies section by @chenjiahan in #5228
- docs: add documentation for
afterListen
server method by @chenjiahan in #5231 - docs: fix Tailwind CSS optimization guidance link by @chenjiahan in #5233
Other Changes
- chore(deps): update dependency webpack to ^5.99.8 by @renovate in #5013
- chore(deps): update dependency @rslib/core to v0.7.0 by @renovate in #5232
- release: 1.3.20 by @chenjiahan in #5234
Full Changelog: v1.3.19...v1.3.20
v1.3.19
What's Changed
New Features 🎉
- feat(server): support for
server.sockWrite
by @chenjiahan in #5211 - feat: align tracing implementation with Rspack CLI by @chenjiahan in #5216
- feat: enhance sockWrite type to include 'static-changed' by @chenjiahan in #5209
Bug Fixes 🐞
- fix: failed to custom HTML plugin options via rspack-chain by @chenjiahan in #5224
Document 📖
- docs: update dev server API documentation by @chenjiahan in #5213
- docs: remove incremental from build perf guide by @chenjiahan in #5220
- docs: correct default
buildDependencies
by @colinaaa in #5222 - docs: discourage the use of rspack-chain for custom plugin options by @chenjiahan in #5223
Other Changes
- test(e2e): split setupMiddleware tests to improve clarity by @chenjiahan in #5210
- chore(hmr): remove 'still-ok' socket message type by @chenjiahan in #5214
- chore(deps): update sass to ^1.88.0 by @renovate in #5219
- chore(deps): update all patch dependencies by @renovate in #5218
- release: 1.3.19 by @chenjiahan in #5225
Full Changelog: v1.3.18...v1.3.19
v1.3.18
What's Changed
New Features 🎉
- feat: expose
defaultAllowedOrigins
from core by @chenjiahan in #5202 - feat: add
callerName
option tocreateRsbuild
by @chenjiahan in #5204
Bug Fixes 🐞
- fix: allow to replace HTML plugin option object by @chenjiahan in #5197
- fix(profile): remove unused jscpuprofile.json by @chenjiahan in #5199
- fix(mf): allow to set
server.cors
with MF Rsbuild plugin by @chenjiahan in #5200 - fix(mf): allow to set
server.cors
with built-in MF plugin by @chenjiahan in #5201
Other Changes
- chore(deps): update babel-plugin-react-compiler to 19.1.0-rc.1 by @chenjiahan in #5196
- test(e2e): fix manifest name conflict warning by @chenjiahan in #5198
- chore(deps): update dependency react-router-dom to ^7.6.0 by @renovate in #5205
- chore(deps): update Rspress to 2.0.0-beta.5 by @chenjiahan in #5206
- release: 1.3.18 by @chenjiahan in #5207
Full Changelog: v1.3.17...v1.3.18
v1.3.17
What's Changed
New Features 🎉
- feat(deps): update Rspack to v1.3.9 by @chenjiahan in #5188
- feat(plugin-less): update webpackImporter type to support 'only' by @chenjiahan in #5181
- feat(plugin-less): improve loader options type with JSDoc by @chenjiahan in #5182
Performance 🚀
- perf: update html-rspack-plugin to 6.1.0 by @chenjiahan in #5177
Bug Fixes 🐞
- fix: update html-rspack-plugin to 6.1.2 to fix template parsing by @chenjiahan in #5191
Document 📖
- docs: update quick-start to include multiple values example by @chenjiahan in #5187
Other Changes
- test: add case for HTML template caching by @chenjiahan in #5178
- chore(deps): update dependency @rsdoctor/rspack-plugin to v1.1.0 by @renovate in #5179
- chore(deps): update dependency @shikijs/transformers to ^3.4.0 by @renovate in #5180
- release: @rsbuild/plugin-less v1.2.4 by @chenjiahan in #5183
- test: remove temporary log by @chenjiahan in #5184
- chore(deps): update @rspack/plugin-react-refresh to 1.4.2 by @chenjiahan in #5185
- release: @rsbuild/plugin-react v1.3.1 by @chenjiahan in #5186
- chore: remove watchpack-related environment variable by @chenjiahan in #5189
- chore(workflow): fix e2e script name by @chenjiahan in #5190
- release: 1.3.17 by @chenjiahan in #5195
Full Changelog: v1.3.16...v1.3.17
v1.3.16
What's Changed
Performance 🚀
- perf: enable Rspack incremental build by default by @chenjiahan in #5167
New Features 🎉
- feat: add
mimetype
option toapi.transform
by @chenjiahan in #5160 - feat: add
enforce
option toapi.transform
by @chenjiahan in #5174 - feat: validate duplicated manifest filenames and throw a warning by @chenjiahan in #5165
Bug Fixes 🐞
- fix: should not apply incremental config to webpack by @chenjiahan in #5170
Document 📖
- docs: description for instance methods and plugin hooks by @chenjiahan in #5153
- docs: update creation instructions to link to create-rsbuild by @chenjiahan in #5154
- docs: update plugin example to use named export by @chenjiahan in #5155
- docs: add cheerio example for HTML manipulation by @chenjiahan in #5157
- docs: add link to middleware guide by @chenjiahan in #5159
- docs: update TransformDescriptor to include more conditions by @chenjiahan in #5158
- docs: clarify tag injection position by @chenjiahan in #5162
- docs: improve manifest data access instructions by @chenjiahan in #5164
- docs: configuring multiple environments manifest files by @chenjiahan in #5166
Other Changes
- chore: update ansiHTML to use named export by @chenjiahan in #5156
- chore(deps): update all patch dependencies by @renovate in #5163
- release: @rsbuild/plugin-less v1.2.3 by @chenjiahan in #5171
- chore: remove
watchOptions.ignored
config by @chenjiahan in #5169 - chore(deps): update dependency nx to v21 by @renovate in #5173
- release: 1.3.16 by @chenjiahan in #5175
Full Changelog: v1.3.15...v1.3.16
v1.3.15
What's Changed
New Features 🎉
- feat: allow to access manifest data in plugin hooks by @chenjiahan in #5140
- feat: rename hooks function types and export them by @chenjiahan in #5144
- feat: add new
modifyHTML
hook by @chenjiahan in #5145
Bug Fixes 🐞
- fix: make file size logs more compact by @chenjiahan in #5132
- fix: remove logging.json from profiling results by @chenjiahan in #5135
Document 📖
- docs: improve links to Rspack documentation by @chenjiahan in #5139
- docs: accessing manifest data via hooks by @chenjiahan in #5141
- docs: enhance api.transform description by @chenjiahan in #5143
- docs: add
modifyHTML
hook by @chenjiahan in #5151
Other Changes
- chore(deps): update dependency core-js to ~3.42.0 by @renovate in #5137
- test(e2e): remove Windows-specific skip from Rsdoctor plugin test by @chenjiahan in #5138
- chore(deps): update babel to ^7.27.1 by @renovate in #5142
- chore(deps): update dependency less-loader to ^12.3.0 by @renovate in #5149
- chore: add .node-version file by @chenjiahan in #5150
- chore(deps): update all patch dependencies by @renovate in #5148
- release: 1.3.15 by @chenjiahan in #5152
Full Changelog: v1.3.14...v1.3.15
v1.3.14
What's Changed
New Features 🎉
- feat(deps): update Rspack to v1.3.8 by @chenjiahan in #5127
Bug Fixes 🐞
- fix: file size logging when detail is disabled by @chenjiahan in #5125
Other Changes
- chore(deps): update all patch dependencies by @renovate in #5122
- chore(deps): update pnpm to v10.10.0 by @renovate in #5123
- test(e2e): enhance file size logging assertions by @chenjiahan in #5126
- release: 1.3.14 by @chenjiahan in #5128
Full Changelog: v1.3.13...v1.3.14