Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v.1.4.1
What's Changed
New Features 🎉
- feat(create-rsbuild): update README additional resources by @chenjiahan in #5490
- feat: support output extra configs when
inspectConfig
by @9aoy in #5483 - feat(deps): update @rspack/core to v1.4.1 by @chenjiahan in #5496
Document 📖
- docs: add redirect from rsbuild.dev to rsbuild.rs by @chenjiahan in #5489
Other Changes
- chore(deps): update dependency @rsbuild/plugin-preact to ^1.5.0 by @renovate in #5493
- chore(deps): update dependency @rsbuild/core to ^1.4.0 by @renovate in #5492
- chore(deps): update all patch dependencies by @renovate in #5491
- chore(deps): update Rspress to 2.0.0-beta.17 by @chenjiahan in #5495
- release: 1.4.1 by @9aoy in #5497
Full Changelog: v1.4.0...v.1.4.1
v1.4.0
🎉 See Announcing Rspack 1.4 for more details.
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
- feat(create-rsbuild): update .gitignore to include rspack profile by @chenjiahan in #5349
- feat: allow to get raw JS content with
?raw
by @chenjiahan in #5353 - feat(deps): update @rspack/core to 1.3.14 by @chenjiahan in #5365
- feat(types): add type declarations for normal CSS module by @chenjiahan in #5385
- feat(create-rsbuild): enable
verbatimModuleSyntax
in tsconfig by @chenjiahan in #5399 - feat(deps): update @rspack/core to v1.4.0-beta.0 by @chenjiahan in #5407
- feat(core): add
logLevel
config by @chenjiahan in #5423 - feat: allow log level to be silent by @chenjiahan in #5426
- feat(plugin-less): add type for
lessLogAsWarnOrErr
option by @chenjiahan in #5427 - feat(deps): update @rspack/core to 1.4.0-beta.1 by @chenjiahan in #5429
- feat: improve lazy compilation options for single entry by @chenjiahan in #5431
- feat(CLI): add --logLevel flag by @chenjiahan in #5433
- feat(core): export
LogLevel
type by @chenjiahan in #5435 - feat: support lazy compilation in multi environments by @chenjiahan in #5446
- feat: expose logger in plugin API by @chenjiahan in #5462
- feat: streamline setupMiddlewares usage by @chenjiahan in #5463
- feat(deps): update @rspack/core to 1.4.0-rc.0 by @chenjiahan in #5472
- feat(deps): update @rspack/core to 1.4.0 by @chenjiahan in #5487
Performance 🚀
- perf: disable progress bar by default by @chenjiahan in #5342
- perf: remove dotenv dependency and use custom parse function by @chenjiahan in #5379
- perf: lazy import node crypto by @chenjiahan in #5383
- perf: disable Rspack config schema validation by @chenjiahan in #5475
- perf: disable bundler info injection by @chenjiahan in #5476
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
- fix: use output.assetPrefix in none mode by @chenjiahan in #5352
- fix(plugin-react): skip React Refresh injection for raw JS content by @chenjiahan in #5354
- fix(plugin-sass): pin sass-embedded to 1.89.0 by @chenjiahan in #5360
- fix(type): make the PostCSS plugin type loose by @chenjiahan in #5364
- fix(create-rsbuild): missing env.d.ts in some templates by @chenjiahan in #5382
- fix(create-rsbuild): correct ESLint template name in react18-ts preset by @Colin3191 in #5391
- fix(plugin-sass): unpin sass-embedded and update to v1.89.2 by @chenjiahan in #5404
- fix: dont redirect rsbuild.dev by @stormslowly in #5428
- fix: ensure log level can work for all logs by @chenjiahan in #5434
- fix: should set output charset for swc-loader by @chenjiahan in #5412
- fix: failed to enable lazy compilation in some cases by @chenjiahan in #5447
- fix(types): make PostCSSPlugin type loose by @chenjiahan in #5448
- fix(socketServer): use clearTimeout instead of clearInterval by @thinkasany in #5461
- fix: start compile after applying lazy compilation by @chenjiahan in #5469
- fix: lazy compilation port replacement by @chenjiahan in #5470
- fix: correct environment check for devtool filename template by @chenjiahan in #5477
- fix: allow to enable lazy compilation via Rspack config by @chenjiahan in #4928
Refactor 🔨
- refactor: rename the second parameter of setupMiddlewares by @chenjiahan in #5464
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
- docs: enhance parameter descriptions of api.transform by @chenjiahan in #5347
- docs: clarify usage of worker-rspack-loader by @chenjiahan in #5350
- docs: update static assets guide to include raw JS content support by @chenjiahan in #5355
- docs: refine source.include and clarify compilation behavior by @chenjiahan in #5345
- docs: clarify swc-loader default options by @chenjiahan in #5362
- docs: add missing default value section to server.cors by @chenjiahan in #5375
- docs: add mobile adaptation for the next step's style by @xbzhang2020 in #5376
- docs: add more hooks to migration guide by @chenjiahan in #5397
- docs: update TypeScript guide to include verbatimModuleSyntax by @chenjiahan in #5398
- docs: update Rspack tracing file name by @chenjiahan in #5410
- docs: clarify CSS Modules class name generation by @chenjiahan in #5419
- docs: add section on global styles in CSS Modules by @chenjiahan in #5420
- docs: add logLevel config by @chenjiahan in #5432
- docs: add
logLevel
page to sidebar by @chenjiahan in #5444 - docs(website): use useI18nUrl to avoid useHookAtTopLevel error by @thinkasany in #5453
- docs: update externals.mdx by @9aoy in #5454
- docs: update setupMiddlewares for clarity and usage examples by @chenjiahan in #5468
- docs(svelte): add less alias import solution by @GRAMMAC1 in #5471
- docs(svelte): prefer replace for less alias import by @GRAMMAC1 in #5474
- docs: improve env and target contexts by @chenjiahan in #5478
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 https://github.com/web-infra-dev/rsbuild/pull/...
v1.4.0-rc.0
What's Changed
New Features 🎉
- feat: expose logger in plugin API by @chenjiahan in #5462
- feat: streamline setupMiddlewares usage by @chenjiahan in #5463
- feat(deps): update @rspack/core to 1.4.0-rc.0 by @chenjiahan in #5472
Bug Fixes 🐞
- fix(socketServer): use clearTimeout instead of clearInterval by @thinkasany in #5461
- fix: start compile after applying lazy compilation by @chenjiahan in #5469
- fix: lazy compilation port replacement by @chenjiahan in #5470
Refactor 🔨
- refactor: rename the second parameter of setupMiddlewares by @chenjiahan in #5464
Document 📖
- docs(website): use useI18nUrl to avoid useHookAtTopLevel error by @thinkasany in #5453
- docs: update externals.mdx by @9aoy in #5454
- docs: update setupMiddlewares for clarity and usage examples by @chenjiahan in #5468
Other Changes
- chore(deps): update dependency @shikijs/transformers to ^3.7.0 by @renovate in #5456
- release: create-rsbuild v1.3.3 by @chenjiahan in #5457
- chore(deps): update create-rstack to v1.5.1 by @chenjiahan in #5458
- release: create-rsbuild v1.3.4 by @chenjiahan in #5459
- chore(website): remove unused useUrl helper by @chenjiahan in #5460
- chore(deps): update all patch dependencies by @renovate in #5465
- release: 1.4.0-rc.0 by @chenjiahan in #5473
Full Changelog: v1.4.0-beta.5...v1.4.0-rc.0
v1.4.0-beta.5
What's Changed
New Features 🎉
- feat: improve lazy compilation options for single entry by @chenjiahan in #5431
- feat(CLI): add --logLevel flag by @chenjiahan in #5433
- feat(core): export
LogLevel
type by @chenjiahan in #5435 - feat: support lazy compilation in multi environments by @chenjiahan in #5446
Bug Fixes 🐞
- fix: ensure log level can work for all logs by @chenjiahan in #5434
- fix: should set output charset for swc-loader by @chenjiahan in #5412
- fix: failed to enable lazy compilation in some cases by @chenjiahan in #5447
- fix(types): make PostCSSPlugin type loose by @chenjiahan in #5448
Document 📖
- docs: add logLevel config by @chenjiahan in #5432
- docs: add
logLevel
page to sidebar by @chenjiahan in #5444
Other Changes
- chore(deps): update biome to v2 by @chenjiahan in #5436
- test(e2e): capture build logs to make test logs clear by @chenjiahan in #5437
- test(e2e): remove temporary plugin by @chenjiahan in #5438
- test(e2e): improve debug mode tests by @chenjiahan in #5440
- test(e2e): ensure proper cleanup of build after execution by @chenjiahan in #5441
- chore(deps): update dependency @rslib/core to v0.10.1 by @renovate in #5442
- chore(deps): update dependency create-rstack to v1.5.0 by @renovate in #5443
- chore(deps): update dependency rspress-plugin-sitemap to ^1.2.0 by @renovate in #5450
- chore(deps): update all patch dependencies by @renovate in #5451
- release: 1.4.0-beta.5 by @chenjiahan in #5452
Full Changelog: v1.4.0-beta.4...v1.4.0-beta.5
v1.4.0-beta.4
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 1.4.0-beta.1 by @chenjiahan in #5429
- feat(core): add
logLevel
config by @chenjiahan in #5423 - feat: allow log level to be silent by @chenjiahan in #5426
- feat(plugin-less): add type for
lessLogAsWarnOrErr
option by @chenjiahan in #5427
Bug Fixes 🐞
- fix: dont redirect rsbuild.dev by @stormslowly in #5428
Document 📖
- docs: update Rspack tracing file name by @chenjiahan in #5410
- docs: clarify CSS Modules class name generation by @chenjiahan in #5419
- docs: add section on global styles in CSS Modules by @chenjiahan in #5420
Other Changes
- chore: remove useless incremental config by @chenjiahan in #5409
- chore(deps): update dependency svelte to ^5.34.1 by @renovate in #5417
- chore(deps): update playwright monorepo to v1.53.0 by @renovate in #5418
- chore(deps): update dependency nx to ^21.2.0 by @renovate in #5415
- test(e2e): rename folder for plugins by @chenjiahan in #5421
- test(e2e): clean up temporary files after tests by @chenjiahan in #5422
- chore(deps): update all patch dependencies by @renovate in #5424
- chore(deps): update dependency path-serializer to v0.5.0 by @renovate in #5416
- chore(deps): update SWC plugins to v8 (major) by @renovate in #5425
- release: 1.4.0-beta.4 by @chenjiahan in #5430
New Contributors
- @stormslowly made their first contribution in #5428
Full Changelog: v1.4.0-beta.3...v1.4.0-beta.4
v1.4.0-beta.3
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to v1.4.0-beta.0 by @chenjiahan in #5407
- feat(types): add type declarations for normal CSS module by @chenjiahan in #5385
- feat(create-rsbuild): enable
verbatimModuleSyntax
in tsconfig by @chenjiahan in #5399
Performance 🚀
- perf: remove dotenv dependency and use custom parse function by @chenjiahan in #5379
- perf: lazy import node crypto by @chenjiahan in #5383
Bug Fixes 🐞
- fix(create-rsbuild): missing env.d.ts in some templates by @chenjiahan in #5382
- fix(create-rsbuild): correct ESLint template name in react18-ts preset by @Colin3191 in #5391
- fix(plugin-sass): unpin sass-embedded and update to v1.89.2 by @chenjiahan in #5404
Document 📖
- docs: add missing default value section to server.cors by @chenjiahan in #5375
- docs: add mobile adaptation for the next step's style by @xbzhang2020 in #5376
- docs: add more hooks to migration guide by @chenjiahan in #5397
- docs: update TypeScript guide to include verbatimModuleSyntax by @chenjiahan in #5398
Other Changes
- chore(deps): update dependency @shikijs/transformers to ^3.6.0 by @renovate in #5373
- release: @rsbuild/plugin-preact v1.4.0 by @chenjiahan in #5377
- chore(deps): update @rslib/core to 0.9.2 by @chenjiahan in #5378
- chore: enable
noUncheckedSideEffectImports
in tsconfig.json by @chenjiahan in #5384 - chore(deps): update dependency @rsbuild/plugin-preact to ^1.4.0 by @renovate in #5388
- chore(deps): update all patch dependencies by @renovate in #5387
- test: use Rstest as Rsbuild's test framework by @9aoy in #5389
- release: create-rsbuild v1.3.2 by @chenjiahan in #5392
- chore(deps): bump Rstest to v0.0.1 by @9aoy in #5395
- chore:(workflow) update changelog generator to include refactor label by @chenjiahan in #5396
- chore(deps): update pnpm to v10.12.1 by @renovate in #5394
- chore(deps): update dependency core-js to ~3.43.0 by @renovate in #5393
- chore: set types field in tsconfig by @chenjiahan in #5400
- chore: remove baseUrl option from tsconfig by @chenjiahan in #5401
- test(e2e): proxy SRI plugin warning log by @chenjiahan in #5403
- release: 1.4.0-beta.3 by @chenjiahan in #5408
New Contributors
- @Colin3191 made their first contribution in #5391
Full Changelog: v1.4.0-beta.2...v1.4.0-beta.3
v1.4.0-beta.2
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 1.3.14 by @chenjiahan in #5365
Bug Fixes 🐞
- fix(plugin-sass): pin sass-embedded to 1.89.0 by @chenjiahan in #5360
- fix(type): make the PostCSS plugin type loose by @chenjiahan in #5364
Document 📖
- docs: clarify swc-loader default options by @chenjiahan in #5362
Other Changes
- chore(deps): update dependency @shikijs/transformers to ^3.5.0 by @renovate in #5358
- release: @rsbuild/plugin-sass v1.3.2 by @chenjiahan in #5361
- test(ut): remove useless mock by @chenjiahan in #5363
- Revert "fix(type): make the PostCSS plugin type loose (#5364)" by @chenjiahan in #5366
- chore(workflow): remove ecosystem CI lark alert by @chenjiahan in #5367
- chore(deps): update module federation to v0.15.0 by @renovate in #5369
- chore(deps): update all patch dependencies by @renovate in #5370
- Release 1.4.0 beta.2 by @chenjiahan in #5371
Full Changelog: v1.4.0-beta.1...v1.4.0-beta.2
v1.4.0-beta.1
What's Changed
New Features 🎉
- feat(create-rsbuild): update .gitignore to include rspack profile by @chenjiahan in #5349
- feat: allow to get raw JS content with
?raw
by @chenjiahan in #5353
Bug Fixes 🐞
- fix: use output.assetPrefix in none mode by @chenjiahan in #5352
- fix(plugin-react): skip React Refresh injection for raw JS content by @chenjiahan in #5354
Document 📖
- docs: enhance parameter descriptions of api.transform by @chenjiahan in #5347
- docs: clarify usage of worker-rspack-loader by @chenjiahan in #5350
- docs: update static assets guide to include raw JS content support by @chenjiahan in #5355
- docs: refine source.include and clarify compilation behavior by @chenjiahan in #5345
Other Changes
- chore(deps): update vitest to v3.2.0 by @chenjiahan in #5348
- release: @rsbuild/plugin-react v1.3.2 by @chenjiahan in #5356
- release: 1.4.0-beta.1 by @chenjiahan in #5357
Full Changelog: v1.4.0-beta.0...v1.4.0-beta.1
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