Repository navigation
Releases
Releases · web-infra-dev/rsbuild
v2.2.0
🎉 See Announcing Rspack 2.2 for more details
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.2.0 by @chenjiahan in #8376
- feat(plugin-solid): support for Solid v2 by @chenjiahan in #7608
- feat(plugin-babel): add modifyBabelLoaders helper by @chenjiahan in #8297
- feat(create-rsbuild): add Solid 2 templates by @chenjiahan in #8306
- feat(plugin-solid): apply dev option to compiler transforms by @chenjiahan in #8311
- feat(plugin-solid): complete Solid preset option types by @chenjiahan in #8316
- feat(plugin-solid): add granular refresh option by @chenjiahan in #8320
- feat(create-rsbuild): add Octane templates by @chenjiahan in #8349
- feat(plugin-solid): add native JSX compiler by @chenjiahan in #8327
- feat(plugin-solid)!: publish as pure ESM package by @chenjiahan in #8371
- feat(plugin-solid)!: drop Rsbuild v1 support by @chenjiahan in #8372
Performance 🚀
- perf(core): enable native watcher by default by @chenjiahan in #8296
- perf: enable split chunks by default for Node.js builds by @SyMind in #8332
- perf(core): optimize manifest entry grouping by @chenjiahan in #8340
- perf(core): optimize resource hint file collection by @chenjiahan in #8342
- perf(core): cache loadBundle stats projection by @chenjiahan in #8343
- perf(core): speed up runner output file lookups by @chenjiahan in #8344
- perf(core): optimize resource hint deduplication by @chenjiahan in #8345
- perf(core): optimize manifest HTML file lookup by @chenjiahan in #8346
- perf(core): avoid repeated HTML tag sorting by @chenjiahan in #8348
- perf(core): reduce plugin dependency sorting scans by @chenjiahan in #8359
- perf(core): avoid recreating asset stat helper by @chenjiahan in #8360
- perf: set splitChunks minSize to 0 for Node.js builds by @chenjiahan in #8363
Bug Fixes 🐞
- fix(deps): update all patch dependencies by @renovate[bot] in #8276
- fix: HMR client crash on legacy browsers where URL lacks searchParams by @Saul-Mirone in #8295
- fix(core): handle server startup errors by @chenjiahan in #8307
- fix(core): clean up servers after startup failure by @chenjiahan in #8309
- fix(core): correctly resolve server port 0 by @chenjiahan in #8315
- fix(cli): support --port 0 by @chenjiahan in #8318
- fix(core): support dynamic ports in module federation by @chenjiahan in #8319
- fix(plugin-solid): skip refresh for node_modules by @chenjiahan in #8326
- fix(core): reuse dynamic port after restart by @chenjiahan in #8330
- fix(core): isolate dynamic ports across restart instances by @chenjiahan in #8331
- fix(deps): update all patch dependencies by @renovate[bot] in #8350
- fix(core): use output.target to decide HMR client injection by @ramon-villain in #8337
- fix(core): refine HMR client target detection by @chenjiahan in #8364
- fix(core): use async chunks for single-entry Node.js builds by @chenjiahan in #8365
- fix(plugin-solid): parse TypeScript correctly with Babel by @chenjiahan in #8368
- fix(plugin-solid): respect legacy decorator config by @chenjiahan in #8374
- fix(plugin-solid)!: remove deprecated solidPresetOptions by @chenjiahan in #8369
Document 📖
- docs: clarify inline scripts with ESM output by @chenjiahan in #8286
- docs: add TanStack Start migration guide by @Blinks44 in #8285
- docs(plugin-babel): document modifyBabelLoaders by @chenjiahan in #8299
- docs: document Solid v2 usage by @chenjiahan in #8304
- docs: update build performance optimization guide by @chenjiahan in #8305
- docs: clarify Baseline browser targets by @chenjiahan in #8313
- docs: clarify Solid dev option behavior by @chenjiahan in #8314
- docs: document dynamic server ports by @chenjiahan in #8323
- docs: clarify splitChunks default behavior by @chenjiahan in #8335
- docs: remove faster module concatenation guide by @chenjiahan in #8338
- docs: add Octane to quick start by @chenjiahan in #8352
- docs(create-rsbuild): add template examples and update Solid labels by @chenjiahan in #8353
- docs: document dynamic server port support by @chenjiahan in #8355
- docs: remove outdated CodeSandbox links by @chenjiahan in #8357
- docs: fix malformed configuration examples by @dajiaohuang in #8362
Other Changes
- test(core): add MPA filename hash stability e2e test by @chenjiahan in #8264
- chore(deps): update dependency globals to ^17.11.0 by @renovate[bot] in #8265
- chore(deps): update dependency less to ^4.9.0 by @renovate[bot] in #8267
- chore(deps): update dependency sass-embedded to ^1.102.0 by @renovate[bot] in #8268
- test(core): add SPA filename hash stability e2e test by @chenjiahan in #8266
- test(core): add basic web ESM e2e tests by @chenjiahan in #8269
- test(core): add web ESM chunk e2e tests by @chenjiahan in #8270
- chore(deps): update dependency rstack to ^0.6.1 by @chenjiahan in #8271
- test(core): add module worker async chunk e2e test by @chenjiahan in #8272
- chore: format codebase by @chenjiahan in #8273
- chore(deps): update pnpm to v11.22.0 by @renovate[bot] in #8277
- test(core): add web ESM auto asset prefix e2e test by @chenjiahan in #8274
- chore(deps): update swc monorepo to ^12.19.0 by @renovate[bot] in #8278
- test(core): add web ESM multiple entries e2e test by @chenjiahan in #8280
- chore: enable type-aware linting by @chenjiahan in #8281
- test(core): add web ESM inline scripts e2e test by @chenjiahan in #8284
- chore(deps): upgrade connect-next to v5.0.0 by @chenjiahan in #8287
- test(core): add web ESM base path e2e test by @chenjiahan in #8289
- test(server): cover native import in CJS bundle by @chenjiahan in #8291
- test(core): add web ESM externals e2e test by @chenjiahan in #8292
- chore: enable additional type-aware lint rules by @chenjiahan in #8282
- chore: enable no-unsafe-return rule by @chenjiahan in #8294
- chore: enable no-unnecessary-type-assertion rule by @chenjiahan in #8293
- release: @rsbuild/plugin-babel v2.1.0 by @chenjiahan in #8298
- chore(lint): enable Rstest rules by @chenjiahan in #8300
- chore(lint): enable no-misused-promises rule by @chenjiahan in #8312
- test(plugin-solid): cover HMR error recovery by @chenjiahan in #8317
- chore(lint): enable no-floating-promises rule by @chenjiahan in https://git...
v2.2.0-rc.0
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.2.0-rc.0 by @chenjiahan in #8339
- feat(create-rsbuild): add Octane templates by @chenjiahan in #8349
Performance 🚀
- perf(core): optimize manifest entry grouping by @chenjiahan in #8340
- perf(core): optimize resource hint file collection by @chenjiahan in #8342
- perf(core): cache loadBundle stats projection by @chenjiahan in #8343
- perf(core): speed up runner output file lookups by @chenjiahan in #8344
- perf(core): optimize resource hint deduplication by @chenjiahan in #8345
- perf(core): optimize manifest HTML file lookup by @chenjiahan in #8346
- perf(core): avoid repeated HTML tag sorting by @chenjiahan in #8348
Bug Fixes 🐞
Document 📖
- docs: remove faster module concatenation guide by @chenjiahan in #8338
- docs: add Octane to quick start by @chenjiahan in #8352
- docs(create-rsbuild): add template examples and update Solid labels by @chenjiahan in #8353
- docs: document dynamic server port support by @chenjiahan in #8355
Other Changes
- test: migrate module federation tests to splitChunks by @chenjiahan in #8341
- chore(deps): update sass to ^1.103.1 by @renovate[bot] in #8351
- release: v2.2.0-rc.0 by @chenjiahan in #8356
Full Changelog: v2.2.0-beta.2...v2.2.0-rc.0
v2.2.0-beta.2
What's Changed
New Features 🎉
- feat(plugin-solid): apply dev option to compiler transforms by @chenjiahan in #8311
- feat(plugin-solid): complete Solid preset option types by @chenjiahan in #8316
- feat(plugin-solid): add granular refresh option by @chenjiahan in #8320
Performance 🚀
Bug Fixes 🐞
- fix(core): clean up servers after startup failure by @chenjiahan in #8309
- fix(core): correctly resolve server port 0 by @chenjiahan in #8315
- fix(cli): support --port 0 by @chenjiahan in #8318
- fix(core): support dynamic ports in module federation by @chenjiahan in #8319
- fix(plugin-solid): skip refresh for node_modules by @chenjiahan in #8326
- fix(core): reuse dynamic port after restart by @chenjiahan in #8330
- fix(core): isolate dynamic ports across restart instances by @chenjiahan in #8331
Document 📖
- docs: clarify Baseline browser targets by @chenjiahan in #8313
- docs: clarify Solid dev option behavior by @chenjiahan in #8314
- docs: document dynamic server ports by @chenjiahan in #8323
- docs: clarify splitChunks default behavior by @chenjiahan in #8335
Other Changes
- chore(lint): enable no-misused-promises rule by @chenjiahan in #8312
- test(plugin-solid): cover HMR error recovery by @chenjiahan in #8317
- chore(lint): enable no-floating-promises rule by @chenjiahan in #8321
- test(plugin-solid): cover SSR and hydration by @chenjiahan in #8322
- chore(lint): enable require-await rule by @chenjiahan in #8324
- chore(vscode): use Rstack extension as default formatter by @chenjiahan in #8325
- chore(deps): upgrade Rstack to v0.6.2 by @chenjiahan in #8328
- test: fix Rstest lint violations by @chenjiahan in #8329
- revert: enable native watcher by default by @chenjiahan in #8333
- chore(ci): allow ecosystem CI to update PR comments by @chenjiahan in #8334
- release: v2.2.0-beta.2 by @chenjiahan in #8336
Full Changelog: v2.2.0-beta.1...v2.2.0-beta.2
v2.2.0-beta.1
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.2.0-beta.1 by @chenjiahan in #8308
- feat(plugin-babel): add modifyBabelLoaders helper by @chenjiahan in #8297
- feat(plugin-solid): support for Solid v2 by @chenjiahan in #7608
- feat(create-rsbuild): add Solid 2 templates by @chenjiahan in #8306
Performance 🚀
- perf(core): enable native watcher by default by @chenjiahan in #8296
Bug Fixes 🐞
- fix(deps): update all patch dependencies by @renovate[bot] in #8276
- fix: HMR client crash on legacy browsers where URL lacks searchParams by @Saul-Mirone in #8295
- fix(core): handle server startup errors by @chenjiahan in #8307
Document 📖
- docs: clarify inline scripts with ESM output by @chenjiahan in #8286
- docs: add TanStack Start migration guide by @Blinks44 in #8285
- docs(plugin-babel): document modifyBabelLoaders by @chenjiahan in #8299
- docs: document Solid v2 usage by @chenjiahan in #8304
- docs: update build performance optimization guide by @chenjiahan in #8305
Other Changes
- test(core): add MPA filename hash stability e2e test by @chenjiahan in #8264
- chore(deps): update dependency globals to ^17.11.0 by @renovate[bot] in #8265
- chore(deps): update dependency less to ^4.9.0 by @renovate[bot] in #8267
- chore(deps): update dependency sass-embedded to ^1.102.0 by @renovate[bot] in #8268
- test(core): add SPA filename hash stability e2e test by @chenjiahan in #8266
- test(core): add basic web ESM e2e tests by @chenjiahan in #8269
- test(core): add web ESM chunk e2e tests by @chenjiahan in #8270
- chore(deps): update dependency rstack to ^0.6.1 by @chenjiahan in #8271
- test(core): add module worker async chunk e2e test by @chenjiahan in #8272
- chore: format codebase by @chenjiahan in #8273
- chore(deps): update pnpm to v11.22.0 by @renovate[bot] in #8277
- test(core): add web ESM auto asset prefix e2e test by @chenjiahan in #8274
- chore(deps): update swc monorepo to ^12.19.0 by @renovate[bot] in #8278
- test(core): add web ESM multiple entries e2e test by @chenjiahan in #8280
- chore: enable type-aware linting by @chenjiahan in #8281
- test(core): add web ESM inline scripts e2e test by @chenjiahan in #8284
- chore(deps): upgrade connect-next to v5.0.0 by @chenjiahan in #8287
- test(core): add web ESM base path e2e test by @chenjiahan in #8289
- test(server): cover native import in CJS bundle by @chenjiahan in #8291
- test(core): add web ESM externals e2e test by @chenjiahan in #8292
- chore: enable additional type-aware lint rules by @chenjiahan in #8282
- chore: enable no-unsafe-return rule by @chenjiahan in #8294
- chore: enable no-unnecessary-type-assertion rule by @chenjiahan in #8293
- release: @rsbuild/plugin-babel v2.1.0 by @chenjiahan in #8298
- chore(lint): enable Rstest rules by @chenjiahan in #8300
- release: v2.2.0-beta.1 by @chenjiahan in #8310
New Contributors
- @Blinks44 made their first contribution in #8285
- @Saul-Mirone made their first contribution in #8295
Full Changelog: v2.1.13...v2.2.0-beta.1
v2.1.13
What's Changed
- fix(deps): upgrade Rslib to 1.0.0-beta.3 to fix tinyglobby path by @Timeless0911 in #8262
- release: v2.1.13 by @chenjiahan in #8263
Full Changelog: v2.1.12...v2.1.13
v2.1.12
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.1.10 by @chenjiahan in #8260
Document 📖
- docs: document Baseline queries by @chenjiahan in #8257
Other Changes
- test(core): consolidate defineConfig type tests by @chenjiahan in #8254
- chore(deps): upgrade rstack to v0.5.1 by @chenjiahan in #8255
- test(core): add Baseline query e2e test by @chenjiahan in #8256
- chore(deps): upgrade rstack to v0.6.0 by @chenjiahan in #8258
- chore(ci): use unified Rstack checks by @chenjiahan in #8259
- release: v2.1.12 by @chenjiahan in #8261
Full Changelog: v2.1.11...v2.1.12
v2.1.11
What's Changed
New Features 🎉
- feat(create-rsbuild): support --no-git by @chenjiahan in #8237
- feat(deps): update @rspack/core to 2.1.9 by @chenjiahan in #8252
Bug Fixes 🐞
- fix(create-rsbuild): remove redundant agent preamble by @chenjiahan in #8233
- fix(create-rsbuild): avoid opening browser by default by @chenjiahan in #8234
- fix(deps): update all patch dependencies by @renovate[bot] in #8241
- fix(create-rsbuild): add pnpm config to Svelte templates by @chenjiahan in #8247
- fix(core): restore config key completions in defineConfig by @upupming in #8248
Refactor 🔨
- refactor(create-rsbuild): use Vue Test Utils in templates by @chenjiahan in #8238
Document 📖
- docs: document create-rsbuild --no-git option by @chenjiahan in #8239
- docs: recommend pnpm in quick start by @chenjiahan in #8249
Other Changes
- chore(deps): upgrade rstack to v0.3.3 by @chenjiahan in #8227
- chore: switch VS Code formatter to Prettier by @chenjiahan in #8228
- chore(deps): upgrade rstack to v0.3.4 by @chenjiahan in #8229
- chore(deps): upgrade Rslib to v1.0.0-beta.2 by @chenjiahan in #8230
- chore(deps): replace create-rstack with create-toolkit by @chenjiahan in #8231
- chore(deps): upgrade rstack to v0.4.0 by @chenjiahan in #8235
- chore(create-rsbuild): remove redundant DOM testing dependency by @chenjiahan in #8236
- chore(deps): update dependency @hono/node-server to ^2.1.0 by @renovate[bot] in #8242
- chore(deps): upgrade create-toolkit to v2.2.1 by @chenjiahan in #8240
- chore(deps): update dependency hono to ^4.13.1 by @renovate[bot] in #8244
- chore(deps): update dependency core-js to ^3.50.0 by @renovate[bot] in #8243
- chore(deps): update dependency rspack-chain to ^2.2.0 by @renovate[bot] in #8246
- chore(deps): update dependency memfs to ^4.68.0 by @renovate[bot] in #8245
- chore(deps): upgrade create-toolkit to v2.2.3 by @chenjiahan in #8250
- release: v2.1.11 by @chenjiahan in #8253
New Contributors
Full Changelog: v2.1.10...v2.1.11
v2.1.10
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.1.8 by @chenjiahan in #8224
- feat(core): show network interface names in server URLs by @chenjiahan in #8199
Performance 🚀
- perf(core): avoid eager asset source reads by @chenjiahan in #8221
- perf(core): avoid reading inlined asset sources by @chenjiahan in #8222
- perf(core): defer inline asset source reads by @chenjiahan in #8225
Bug Fixes 🐞
- fix(core): use environment config for Node.js addons by @Timeless0911 in #8203
- fix(plugin-preact): use environment HMR config by @chenjiahan in #8204
- fix(deps): update all patch dependencies by @renovate[bot] in #8215
- fix(core): check favicon asset by output path by @chenjiahan in #8223
Document 📖
- docs: clarify getNormalizedConfig usage by @chenjiahan in #8208
- docs: improve plugin config guidance by @chenjiahan in #8209
- docs: refine normalized config terminology by @chenjiahan in #8210
Other Changes
- chore: replace Oxfmt with Prettier by @chenjiahan in #8200
- chore(deps): update dependency @rsbuild/plugin-type-check to ^1.6.0 by @renovate[bot] in #8201
- test(e2e): remove local paths from Node addon fixtures by @chenjiahan in #8205
- chore(deps): update actions/setup-node action to v7 by @renovate[bot] in #8206
- chore(deps): update dependency @testing-library/jest-dom to v7 by @renovate[bot] in #8207
- chore(deps): update dependency sass to ^1.102.0 by @renovate[bot] in #8211
- chore(deps): update dependency @shikijs/transformers to ^4.4.1 by @renovate[bot] in #8212
- chore(deps): update pnpm to v11.18.0 by @renovate[bot] in #8214
- chore: migrate formatting to rs fmt by @chenjiahan in #8217
- chore(deps): upgrade rstack to v0.3.1 by @chenjiahan in #8218
- chore(deps): upgrade rstack to v0.3.2 by @chenjiahan in #8219
- chore(deps): update dependency hono to v4.12.34 [security] by @renovate[bot] in #8220
- release: v2.1.10 by @chenjiahan in #8226
Full Changelog: v2.1.9...v2.1.10
v2.1.9
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.1.7 by @chenjiahan in #8196
Bug Fixes 🐞
- fix(deps): update all patch dependencies by @renovate[bot] in #8191
- fix(core): apply inspect mode before config generation by @chenjiahan in #8189
Document 📖
- docs: align link text with page titles by @chenjiahan in #8184
- docs: update stale config references by @chenjiahan in #8187
- docs: update stale plugin references by @chenjiahan in #8190
- docs: update stale JavaScript API references by @chenjiahan in #8188
Other Changes
- chore(deps): update Rstest to 0.11.4 by @chenjiahan in #8183
- chore(deps): update vulnerable transitive dependencies by @chenjiahan in #8185
- test(e2e): make prepareDist fixture lazy by @chenjiahan in #8186
- chore(deps): update dependency fs-extra to ^11.4.0 by @renovate[bot] in #8192
- chore(deps): update dependency less to ^4.8.0 by @renovate[bot] in #8193
- chore(deps): update dependency oxfmt to ^0.60.0 by @renovate[bot] in #8194
- chore: migrate nano-staged to Rstack CLI by @chenjiahan in #8195
- chore: migrate Git hooks to Rstack CLI by @chenjiahan in #8197
- release: v2.1.9 by @chenjiahan in #8198
Full Changelog: v2.1.8...v2.1.9
v2.1.8
What's Changed
New Features 🎉
- feat(core): support multiple CSS minimizer options by @chenjiahan in #8158
- feat(core): reload page for added and removed watched files by @chenjiahan in #8177
- feat(core): support filtering watch file events by @chenjiahan in #8178
Performance 🚀
- perf(core): avoid temporary minimizer option arrays by @chenjiahan in #8159
- perf(core): minify large third-party chunks by @chenjiahan in #8160
Bug Fixes 🐞
- fix(core): preserve options when restarting by @chenjiahan in #8161
- fix(core): preserve async config inference by @chenjiahan in #8171
Refactor 🔨
- refactor(core): output declaration files to dist by @chenjiahan in #8176
Document 📖
- docs: recommend TypeScript 7 for type checking by @chenjiahan in #8162
- docs: improve restart option heading by @chenjiahan in #8163
- docs: clarify TypeScript version compatibility by @chenjiahan in #8172
- docs: improve createRsbuild config examples by @chenjiahan in #8175
- docs: refresh Rstack slogan by @chenjiahan in #8179
- docs: document watchFiles events by @chenjiahan in #8180
- docs: mention Vue DevTools integration by @chenjiahan in #8181
Other Changes
- chore: migrate Rslint to Rstack CLI by @chenjiahan in #8164
- chore: migrate Rstest to Rstack CLI by @chenjiahan in #8166
- chore: migrate Rspress to Rstack CLI by @chenjiahan in #8167
- chore(build): simplify Rslib configs by @chenjiahan in #8168
- chore: split Rstest config by package by @chenjiahan in #8169
- chore: migrate Rslib to Rstack CLI by @chenjiahan in #8170
- chore(deps): upgrade Rslib to 1.0.0-beta.1 by @Timeless0911 in #8173
- chore: add Rstack CLI best practices skill by @chenjiahan in #8174
- release: v2.1.8 by @chenjiahan in #8182
Full Changelog: v2.1.7...v2.1.8