Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v2.0.3
What's Changed
New Features 🎉
- feat(source-map): update source map extract schema by @zalishchuk in #7547
- feat(plugin-sass): support Sass URL query by @chenjiahan in #7554
- feat(plugin-less): support Less URL query by @chenjiahan in #7557
- feat(plugin-stylus): support Stylus URL query by @chenjiahan in #7559
- feat(core): add overlay errors option by @chenjiahan in #7564
- feat(deps): update @rspack/core to 2.0.1 by @chenjiahan in #7566
- feat(core): support filtering overlay build errors by @chenjiahan in #7568
Bug Fixes 🐞
- fix(deps): update swc monorepo to ^12.9.0 by @renovate[bot] in #7555
- fix(core): filter Rspack runtime stack frames by @chenjiahan in #7562
- fix(core): override merged overlay error filters by @chenjiahan in #7570
Document 📖
- docs: add CSS url query docs by @chenjiahan in #7569
Other Changes
- test(e2e): cover CSS url query edge cases by @chenjiahan in #7553
- chore: update renovate range strategy by @chenjiahan in #7556
- release: @rsbuild/plugin-sass v1.5.2 by @chenjiahan in #7558
- release: @rsbuild/plugin-less v1.6.3 by @chenjiahan in #7560
- release: @rsbuild/plugin-stylus v1.3.2 by @chenjiahan in #7561
- chore: update skills by @chenjiahan in #7563
- test: fix environment hot send e2e by @chenjiahan in #7567
- release: v2.0.3 by @chenjiahan in #7573
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
New Features 🎉
- feat(core): support CSS url imports by @chenjiahan in #7541
Bug Fixes 🐞
- fix(core): pass asset info to CSS url filenames by @chenjiahan in #7543
- fix(core): avoid CSS url asset name conflicts by @chenjiahan in #7542
- fix: preserve console argument side effects by @AielloChan in #7550
Refactor 🔨
- refactor(core): simplify CSS url loader request by @chenjiahan in #7551
Other Changes
- chore(types): update swc decorator types by @chenjiahan in #7539
- test(e2e): cover CSS Modules url query error by @chenjiahan in #7544
- test(e2e): cover Tailwind CSS url query by @chenjiahan in #7545
- chore(deps): update all patch dependencies by @renovate[bot] in #7548
- chore(deps): restrict rspack minor upgrades by @chenjiahan in #7546
- release: v2.0.2 by @chenjiahan in #7552
New Contributors
- @AielloChan made their first contribution in #7550
Full Changelog: v2.0.1...v2.0.2
v2.0.1
What's Changed
New Features 🎉
- feat(plugin-svgr): support publicPath options in internal assetLoader by @Timeless0911 in #7523
Bug Fixes 🐞
- fix(core): print fallback URL when HTML is disabled by @chenjiahan in #7534
- fix(deps): update all patch dependencies by @renovate[bot] in #7535
Document 📖
- docs: add new blog post page by @chenjiahan in #7521
- docs: fix v2.0 og image by @chenjiahan in #7522
- docs: fix v1/v2 links and enable v2 announcement by @chenjiahan in #7525
- docs: add authors metadata to blog posts by @chenjiahan in #7529
- docs(website): add BlogBackButton, BlogBackground and improve BlogList by @SoonIter in #7532
Other Changes
- release: @rsbuild/plugin-svgr v2.0.1 by @chenjiahan in #7524
- chore: simplify renovate config by @chenjiahan in #7528
- chore(deps): bump @rslint/core to 0.5.0 and fix lint errors by @chenjiahan in #7526
- test(type-tests): add plugin package coverage by @chenjiahan in #7527
- chore(deps): update all patch dependencies by @renovate[bot] in #7530
- chore: enable tsgo in CI by @chenjiahan in #7531
- release: v2.0.1 by @chenjiahan in #7536
Full Changelog: v2.0.0...v2.0.1
v2.0.0
💡 See Announcing Rsbuild 2.0 for more details
New Features 🎉
- feat(deps): update dependency @rspack/core to ~1.7.1 by @chenjiahan in #6908
- feat!: do not minify Node bundles by @chenjiahan in #6922
- feat(server)!: change default host from 0.0.0.0 to localhost by @chenjiahan in #6940
- feat(cli): update host option to accept boolean by @chenjiahan in #6942
- feat(server): print hint when host is not set by @chenjiahan in #6943
- feat(create-rsbuild): add
@rstest/adapter-rsbuildto reuse rsbuild's configuration by @9aoy in #6941 - feat!: output ESM by default for node target by @chenjiahan in #6950
- feat!: remove deprecated 'content-changed' socket type by @chenjiahan in #6955
- feat(plugin-vue): bump rspack-vue-loader to support hot update by @9aoy in #6956
- feat(deps): update dependency @rspack/core to v1.7.2 by @chenjiahan in #6959
- feat!: raise default Node target to 20 by @chenjiahan in #6965
- feat!: raise default browserslist to baseline 2025-05-01 by @chenjiahan in #6966
- feat(deps)!: update @rspack/core to v2 canary by @chenjiahan in #6988
- feat!: remove
performance.removeMomentLocaleoption by @chenjiahan in #6991 - feat(deps): update @rspack/core to 2.0.0-alpha.0 by @chenjiahan in #7014
- feat(deps)!: upgrade chokidar to ^5.0.0 by @chenjiahan in #7020
- feat!: set default config loader to 'auto' for loadConfig by @chenjiahan in #7024
- feat: support server custom message handling by module.hot.on by @SyMind in #7003
- feat(core): add ignore option for public directory copy in server plugin by @JSH-data in #7023
- feat!: convert the built‑in JS rule to oneOf structure by @chenjiahan in #7032
- feat!: convert the built‑in CSS rule to oneOf structure by @chenjiahan in #7037
- feat(plugin-less): compatible with Rsbuild v1 by @chenjiahan in #7054
- feat(plugin-sass): compatible with Rsbuild v1 by @chenjiahan in #7055
- feat(plugin-stylus): compatible with Rsbuild v1 by @chenjiahan in #7056
- feat!: remove support for
?__inline=falsequery by @chenjiahan in #7057 - feat(plugin-svgr): compatible with Rsbuild v1 by @chenjiahan in #7061
- feat(plugin-babel): compatible with Rsbuild v1 by @chenjiahan in #7062
- feat(plugin-svelte): compatible with Rsbuild v1 by @chenjiahan in #7063
- feat(deps): upgrade @rspack/core to 2.0.0-alpha.1 by @chenjiahan in #7065
- feat: introduce new splitChunks config by @chenjiahan in #7073
- feat: remove default
lib-axiossplit from default preset by @chenjiahan in #7079 - feat: support boolean type for server host configuration by @chenjiahan in #7084
- feat: allow to set split chunks for non-web targets by @chenjiahan in #7087
- feat: add support for 'none' preset in splitChunks by @chenjiahan in #7099
- feat(deps)!: update http-proxy-middleware to v3 by @chenjiahan in #7116
- feat!: streamline proxy config typing by @chenjiahan in #7120
- feat(deps): upgrade @rspack/core to 2.0.0-beta.0 by @chenjiahan in #7134
- feat: add
liveReload.htmloption to control HTML reload by @chenjiahan in #7144 - feat: updates the default contenthash length in filenames from 8 to 10 by @chenjiahan in #7154
- feat: normalize shortcut input to handle whitespace and case by @chenjiahan in #7159
- feat(deps): update @rspack/core to 2.0.0-beta.2 by @chenjiahan in #7172
- feat(core): add setupMiddlewares support for preview mode by @T9-Forever in #7145
- feat: rename
preview.setupMiddlewarestoserver.setupMiddlewaresby @chenjiahan in #7192 - feat: add new
server.setupconfig by @chenjiahan in #7197 - feat: add environments to prod server setup context by @chenjiahan in #7201
- feat: extend onBeforeStartProdServer hook with params by @chenjiahan in #7206
- feat: expose
portin prod server API by @chenjiahan in #7209 - feat: export full server API for
startDevServerby @chenjiahan in #7215 - feat: expose
httpServerfor prod server by @chenjiahan in #7216 - feat: expose
closemethod for prod server by @chenjiahan in #7217 - feat: expose preview server instance for
rsbuild.previewby @chenjiahan in #7219 - feat: export more server types by @chenjiahan in #7221
- feat(server)!: rename prod server hooks to preview server by @chenjiahan in #7222
- feat: add
openandprintUrlsmethods to preview server by @chenjiahan in #7224 - feat(deps): update @rspack/core to 2.0.0-beta.3 by @chenjiahan in #7241
- feat(deps): update @rspack/core to 2.0.0-beta.4 by @chenjiahan in #7251
- feat(deps)!: update style-loader to v4 by @chenjiahan in #7270
- feat(deps): update @rspack/core to 2.0.0-beta.5 by @chenjiahan in #7285
- feat(deps): update @rspack/core to 2.0.0-beta.6 by @chenjiahan in #7307
- feat(create-rsbuild): add React Compiler support for React templates by @chenjiahan in #7329
- feat(deps): update @rspack/core to 2.0.0-beta.7 by @chenjiahan in #7335
- feat(source-map): add
extractoption by @zalishchuk in #7340 - feat: export
createLoggerto create isolated logger instances by @chenjiahan in #7353 - feat: add support for custom logger by @chenjiahan in #7357
- feat: use instance-level logger by @chenjiahan in #7360
- feat(core): add rsbuild.logger by @chenjiahan in #7365
- feat(create-rsbuild): update typescript to v6 by @chenjiahan in #7374
- feat(core): support decorators version 2023-11 by @chenjiahan in #7394
- feat(deps): update @rspack/core to 2.0.0-beta.9 by @chenjiahan in #7397
- feat(deps): update @rspack/core to 2.0.0-rc.0 by @chenjiahan in #7413
- feat: use
detectSyntax: 'auto'in the default SWC loader config by @chenjiahan in #7410 - feat(server): support full-reload socket type by @chenjiahan in #7426
- feat(server): support full-reload path option by @chenjiahan in #7427
- feat(deps): upgrade http-proxy-middleware to v4.0.0-beta.2 by @chenjiahan in #7436
- feat(create-rsbuild): add rsbuild best practices skill by @colinaaa in #7445
- feat(deps): update @rspack/core to 2.0.0-rc.1 by @chenjiahan in #7450
- feat!: change default decorators version to 2023-11 by @chenjiahan in #7395
- feat(plugin-react)!: drop Rsbuild v1 support by @chenjiahan in #7458
- feat(plugin-svgr)!: drop Rsbuild v1 support by @chenjiahan in #7460
- feat(plugin-react)!: publish as pure ESM package by @chenjiahan in #7461
- feat(plugin-svgr)!: pu...
v2.0.0-rc.4
What's Changed
New Features 🎉
- feat(create-rsbuild): remove Vue 2 templates by @chenjiahan in #7501
- feat(create-rsbuild): add react best practices skill by @chenjiahan in #7502
- feat(deps): update @rspack/core to 2.0.0-rc.3 by @chenjiahan in #7504
Bug Fixes 🐞
- fix(create-rsbuild): gate rstest skill by selected tools by @chenjiahan in #7500
Document 📖
- docs: clarify output.externals usage by @chenjiahan in #7497
- docs: update Rstest examples section by @chenjiahan in #7498
Other Changes
- chore(deps): update dependency hono to v4.12.14 [security] by @renovate[bot] in #7499
- chore: normalize tsconfig output paths by @chenjiahan in #7503
- release: v2.0.0-rc.4 by @chenjiahan in #7505
Full Changelog: v2.0.0-rc.3...v2.0.0-rc.4
v2.0.0-rc.3
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.0.0-rc.2 by @chenjiahan in #7491
- feat(create-rsbuild): add rstest-best-practices skill entry by @chenjiahan in #7488
- feat(create-rsbuild): support create-rstack 2.0.0 by @chenjiahan in #7494
Bug Fixes 🐞
- fix(core): avoid string-built CJS runner wrapper by @chenjiahan in #7485
Refactor 🔨
- refactor(plugin-svgr): use internal asset loader by @chenjiahan in #7482
- refactor(plugin-svgr): use import.meta.dirname for loaders by @chenjiahan in #7483
Document 📖
- docs: clarify runtime-tools dependency in module federation docs by @chenjiahan in #7487
Other Changes
- chore: use ESM cspell config by @chenjiahan in #7480
- chore(deps): update all patch dependencies by @renovate[bot] in #7484
- test(e2e): add loadBundle CJS runner coverage by @chenjiahan in #7486
- chore: remove ignored dependencies from renovate config by @chenjiahan in #7489
- chore(deps): update dependency happy-dom to ^20.9.0 by @renovate[bot] in #7490
- chore(deps): update all patch dependencies by @renovate[bot] in #7493
- test(e2e): stabilize environment hot send case by @chenjiahan in #7492
- chore: use rslint for type checking by @chenjiahan in #7495
- release: v2.0.0-rc.3 by @chenjiahan in #7496
Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3
v2.0.0-rc.2
What's Changed
New Features 🎉
- feat(core): support environment.hot.send API by @chenjiahan in #7475
- feat(plugin-react)!: drop Rsbuild v1 support by @chenjiahan in #7458
- feat(plugin-svgr)!: drop Rsbuild v1 support by @chenjiahan in #7460
- feat(plugin-react)!: publish as pure ESM package by @chenjiahan in #7461
- feat(plugin-svgr)!: publish as pure ESM package by @chenjiahan in #7463
Bug Fixes 🐞
- fix(core): prioritize common config files in lookup by @chenjiahan in #7473
Refactor 🔨
- refactor(core): remove redundant bundlerInfo.force config by @chenjiahan in #7453
- refactor(core): merge ESM output handling into output plugin by @chenjiahan in #7455
- refactor(plugin-react): inline react setup into index by @chenjiahan in #7462
- refactor(core): resolve prefer-const lint errors by @chenjiahan in #7474
- refactor(core): rename socket server send method by @chenjiahan in #7476
Document 📖
- docs: clarify v2 upgrade guide by @chenjiahan in #7470
- docs: clarify Environment API naming in server setup docs by @chenjiahan in #7472
- docs: clarify hot.send and sockWrite API docs by @chenjiahan in #7477
Other Changes
- chore(deps): update dependency @hono/node-server to v1.19.13 [security] by @renovate[bot] in #7447
- chore(plugin-react): upgrade @rspack/plugin-react-refresh to v2.0.0 by @chenjiahan in #7456
- chore(deps): update Rslib 0.21.0 by @Timeless0911 in #7457
- chore(deps): update dependency nano-staged to v1 by @renovate[bot] in #7459
- chore(deps): enable pnpm dedupePeers by @chenjiahan in #7464
- chore: enable type check for pure ESM packages by @chenjiahan in #7465
- test(e2e): remove router fixture dependencies by @chenjiahan in #7466
- chore(deps): upgrade @rslint/core to 0.4.0 by @chenjiahan in #7467
- release: @rsbuild/plugin-react v2.0.0-rc.2 by @chenjiahan in #7468
- release: @rsbuild/plugin-svgr v2.0.0-rc.2 by @chenjiahan in #7469
- chore(deps): update all patch dependencies by @renovate[bot] in #7478
- release: v2.0.0-rc.2 by @chenjiahan in #7479
Full Changelog: v2.0.0-rc.1...v2.0.0-rc.2
v2.0.0-rc.1
What's Changed
New Features 🎉
- feat!: change default decorators version to 2023-11 by @chenjiahan in #7395
- feat(deps): update @rspack/core to 2.0.0-rc.1 by @chenjiahan in #7450
- feat(deps): upgrade http-proxy-middleware to v4.0.0-beta.2 by @chenjiahan in #7436
- feat(server): support
full-reloadsocket type by @chenjiahan in #7426 - feat(server): support
full-reloadpath option by @chenjiahan in #7427 - feat(create-rsbuild): add rsbuild best practices skill by @colinaaa in #7445
Bug Fixes 🐞
- fix(create-rsbuild): ensure svelte-ts-template passes svelte-check by @mhutter in #7430
- fix(server): reload html routes without .html extension by @chenjiahan in #7428
- fix(server): use HTTP/2 server with HTTPS proxy by @chenjiahan in #7437
Refactor 🔨
- refactor(core): remove redundant plugin helpers by @chenjiahan in #7451
Document 📖
- docs: update upgrade guide to reflect Rsbuild 2.0 RC by @chenjiahan in #7420
Other Changes
- chore(deps): update all patch dependencies by @renovate[bot] in #7418
- chore(deps): update rstackjs/rstack-ecosystem-ci action to v0.3.0 by @renovate[bot] in #7419
- chore(deps): update dependency create-rstack to v1.9.0 by @renovate[bot] in #7422
- chore(deps): upgrade rspack-chain to 2.0.0-rc.1 by @chenjiahan in #7424
- chore(deps): update all patch dependencies by @renovate[bot] in #7421
- test(e2e): remove lodash from transformImport case by @chenjiahan in #7425
- test(core): cover sockWrite full-reload wildcard path by @chenjiahan in #7431
- test(e2e): stabilize sockWrite reload assertions by @chenjiahan in #7432
- chore(deps): update dependency heading-case to ^1.1.0 by @renovate[bot] in #7433
- chore(deps): update sass to ^1.99.0 by @renovate[bot] in #7434
- test(e2e): enable linting for e2e directory by @chenjiahan in #7435
- chore(deps): update dependency react-router-dom to ^7.14.0 by @renovate[bot] in #7439
- chore(deps): update swc monorepo to ^12.8.0 by @renovate[bot] in #7440
- chore(deps): update all patch dependencies by @renovate[bot] in #7438
- chore(deps): update playwright monorepo to v1.59.1 by @renovate[bot] in #7442
- chore(deps): upgrade http-proxy-middleware to v4.0.0-beta.3 by @chenjiahan in #7444
- chore(deps): update dependency @rsbuild/plugin-vue-jsx to v2 by @renovate[bot] in #7449
- chore(deps): update dependency hono to v4.12.12 [security] by @renovate[bot] in #7448
- chore(deps): update dependency hono to v4.12.12 [security] by @renovate[bot] in #7452
- release: v2.0.0-rc.1 by @chenjiahan in #7454
New Contributors
Full Changelog: v2.0.0-rc.0...v2.0.0-rc.1
v2.0.0-rc.0
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.0.0-rc.0 by @chenjiahan in #7413
- feat: use
detectSyntax: 'auto'in the default SWC loader config by @chenjiahan in #7410
Bug Fixes 🐞
- fix(core): normalize non-object exports in module runner by @chenjiahan in #7409
- fix(source-map): correct sources in CSS source map by @chenjiahan in #7412
Refactor 🔨
- refactor(core): tighten runner module types by @chenjiahan in #7408
Other Changes
- chore(deps): update dependency rsbuild-plugin-arethetypeswrong to v0.3.1 by @renovate[bot] in #7404
- chore(config): switch tsconfig-node16 to nodenext by @chenjiahan in #7411
- chore(skills): add upgrade-rspack skill by @chenjiahan in #7414
- chore: remove dependency version consistency check by @chenjiahan in #7417
- chore(release): skip non-package workspaces by @chenjiahan in #7416
- release: v2.0.0-rc.0 by @chenjiahan in #7415
Full Changelog: v2.0.0-beta.11...v2.0.0-rc.0
v2.0.0-beta.11
What's Changed
New Features 🎉
- feat(core): support decorators version
2023-11by @chenjiahan in #7394 - feat(deps): update @rspack/core to 2.0.0-beta.9 by @chenjiahan in #7397
Bug Fixes 🐞
- fix: standardize the naming of fallback source maps by @SyMind in #7343
- fix(create-rsbuild): remove React 18 templates by @chenjiahan in #7387
- fix(create-rsbuild): use rsbuild as default dev command by @chenjiahan in #7386
- fix(create-rsbuild): update React Compiler babel config by @chenjiahan in #7393
Document 📖
- docs: widen React Compiler include to optimize custom hooks in .ts files by @RobHannay in #7392
Other Changes
- chore: update release skill and remove bumpp scripts by @chenjiahan in #7383
- chore(deps): update pnpm to v10.33.0 by @renovate[bot] in #7384
- chore: use default rslib build command by @chenjiahan in #7385
- chore: remove E2E report artifacts from CI by @chenjiahan in #7396
- chore(deps): update @rslint/core to v0.3.3 by @chenjiahan in #7398
- chore(deps): update module federation to v2.3.0 by @renovate[bot] in #7401
- chore(deps): update dependency svelte to ^5.55.0 by @renovate[bot] in #7400
- test: restructure type tests into separate resolution modes by @chenjiahan in #7333
- chore(deps): update all patch dependencies by @renovate[bot] in #7403
- release: v2.0.0-beta.11 by @chenjiahan in #7405
Full Changelog: v2.0.0-beta.10...v2.0.0-beta.11