Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.4.6
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to v1.4.6 by @chenjiahan in #5578
Bug Fixes 🐞
- fix: update Node.js engine requirement to >=16.17.0 by @chenjiahan in #5567
- fix: patch open to maintaining Node 16.10 compatibility by @chenjiahan in #5570
Document 📖
- docs: update plugin development introduction by @chenjiahan in #5565
- docs: add note on Node.js 16 support by @chenjiahan in #5568
- docs: enhance HTML tags with detailed JSDoc by @chenjiahan in #5569
- docs: explain tag options of
html.tags
config by @chenjiahan in #5573 - docs: correct translations for
html.tags
by @chenjiahan in #5574
Other Changes
- chore(deps): update dependency @biomejs/biome to ^2.1.1 by @renovate in #5571
- chore(deps): update pnpm to v10.13.1 by @renovate in #5572
- release: 1.4.6 by @chenjiahan in #5579
Full Changelog: v1.4.5...v1.4.6
v1.4.5
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 1.4.5 by @chenjiahan in #5562
Bug Fixes 🐞
- fix: duplicated build started logs by @chenjiahan in #5554
- fix: improve formatting of minutes in build time by @chenjiahan in #5555
- fix: Use
hostname
to determine local or network by @mycoin in #5561
Document 📖
- docs: add note on missing core-js polyfills by @chenjiahan in #5560
Other Changes
- chore: simplify Rstest config by @chenjiahan in #5556
- chore(deps): update dependency core-js to ~3.44.0 by @renovate in #5557
- test: speed up UT by external
@rsbuild/core
by @9aoy in #5558 - test(e2e): fix print urls cases by @chenjiahan in #5563
- release: 1.4.5 by @chenjiahan in #5564
New Contributors
Full Changelog: v1.4.4...v1.4.5
v1.4.4
What's Changed
New Features 🎉
- feat(server): add
compress.filter
option by @chenjiahan in #5520 - feat(server): add
compress.level
option by @chenjiahan in #5522 - feat(server): token-based WebSocket authentication by @chenjiahan in #5531
Bug Fixes 🐞
- fix(plugin-react): profiling not work with React 19 by @chenjiahan in #5524
- fix: ensure that raw query of scripts can be accurately matched by @chenjiahan in #5538
- fix: ensure that raw query of styles can be accurately matched by @chenjiahan in #5540
- fix: ensure that raw query of assets can be accurately matched by @chenjiahan in #5547
Refactor 🔨
- refactor: normalize config types in compilation manager by @chenjiahan in #5529
Document 📖
- docs: add
compress.filter
option by @chenjiahan in #5521 - docs: clarify execution order with
modifyHTML
andhtml.tags
by @chenjiahan in #5523 - docs: Update typescript.mdx with fixed typo in
isolatedModules
example by @bodia-uz in #5539 - docs: fix typo in isolatedModules example by @chenjiahan in #5542
- docs: update raw import JSDoc to include scripts by @chenjiahan in #5544
- docs: add webSocketToken to documentation by @chenjiahan in #5548
Other Changes
- chore(deps): update dependency @rsbuild/plugin-vue to ^1.1.0 by @renovate in #5534
- chore(deps): update dependency svelte to ^5.35.2 by @renovate in #5536
- chore(deps): update dependency @types/node to ^22.16.0 by @renovate in #5535
- chore(deps): update module federation to v0.16.0 by @renovate in #5537
- chore(plugin-svgr): improve SVGR options type by @chenjiahan in #5541
- test(e2e): use valid browserslist value by @chenjiahan in #5545
- chore(deps): update babel to ^7.28.0 by @renovate in #5550
- chore(deps): update Rspress to 2.0.0-beta.19 by @chenjiahan in #5551
- chore(deps): update all patch dependencies by @renovate in #5549
- release: 1.4.4 by @chenjiahan in #5553
New Contributors
Full Changelog: v1.4.3...v1.4.4
v1.4.3
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to v1.4.2 by @chenjiahan in #5516
Bug Fixes 🐞
- fix(create-rsbuild): change the target of Svelte apps to es2022 by @chenjiahan in #5512
- fix(open): skip opening browser in CodeSandbox by @chenjiahan in #5515
- fix(plugin-vue): CSS Modules for SSR build by @chenjiahan in #5517
Document 📖
- docs: fix use-bundler-chain anchor by @CPunisher in #5508
Other Changes
- chore(deps): update all patch dependencies by @renovate in #5506
- test(e2e): fix unstable rspack profile cases by @chenjiahan in #5507
- release: create-rsbuild v1.4.3 by @chenjiahan in #5513
- release: 1.4.3 by @chenjiahan in #5518
New Contributors
- @CPunisher made their first contribution in #5508
Full Changelog: v1.4.2...v1.4.3
v1.4.2
What's Changed
New Features 🎉
- feat: update open to v10 and improve error handling by @chenjiahan in #5500
Performance 🚀
- perf: minify the prebundled webpack-bundle-analyzer by @chenjiahan in #5502
Bug Fixes 🐞
- fix: disable bundle info when SRI is enabled by @chenjiahan in #5498
- fix: remove invalid resource query for scripts by @chenjiahan in #5503
Document 📖
- docs: add StackBlitz example to quick start by @chenjiahan in #5501
Other Changes
- chore: move pnpm config from .npmrc to pnpm-workspace.yaml by @chenjiahan in #5499
- release: 1.4.2 by @chenjiahan in #5504
Full Changelog: v.1.4.1...v1.4.2
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