Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.1.1
What's Changed
New Features 🎉
- feat: allow to configure dev.writeToDisk in environments by @9aoy in #3946
- feat(deps): bump rspack 1.1.1 by @9aoy in #3949
- feat: update the assignment method of host in baseUrl by @junxiongchu in #3943
Bug Fixes 🐞
- fix(plugin-svelte): failed to compile *.svslte.ts by @chenjiahan in #3918
- fix(plugin-svelte):
*.svslte.ts
files are transformed twice by @chenjiahan in #3920 - fix: proxy type error by @9aoy in #3936
- fix: line breaks
\n
in error overlay messages by @ymq001 in #3944 - fix: open page with the correct host by @chenjiahan in #3954
Document 📖
- docs: improve guide for viewing dev output by @chenjiahan in #3923
- docs: reference other plugins by @chenjiahan in #3947
- docs: explain TypeScript extension alias by @chenjiahan in #3952
Other Changes
- chore(deps): update dependency @rsbuild/plugin-preact to ^1.2.0 by @renovate in #3915
- chore(deps): update dependency react-router-dom to ^6.28.0 by @renovate in #3916
- release: @rsbuild/[email protected] by @chenjiahan in #3921
- chore(deps): update dependency @rsbuild/core to ^1.1.0 by @renovate in #3922
- chore(deps): update dependency @modern-js/module-tools to ^2.61.0 by @renovate in #3926
- chore(deps): update dependency @rsbuild/plugin-check-syntax to ^1.1.0 by @renovate in #3927
- chore(deps): update dependency browserslist-load-config to v1 by @renovate in #3928
- chore(deps): update all patch dependencies by @renovate in #3934
- test: use hydrateRoot API in SSR case by @9aoy in #3935
- chore: reduce monorepo root dependencies by @chenjiahan in #3937
- chore(config): migrate renovate config by @renovate in #3929
- chore(core): use Rslib to bundle client code by @chenjiahan in #3938
- chore(deps): update dependency @types/node to v22 by @renovate in #3942
- chore(deps): update dependency nx to ^20.1.0 by @renovate in #3940
- chore(deps): update rspress to v1.36.0 by @renovate in #3941
- refactor(core): use Rslib to build by @chenjiahan in #3939
- chore(build): enable Rslib's
dts.build
by @chenjiahan in #3948 - chore(deps): bump Rslib 0.0.18 by @chenjiahan in #3951
New Contributors
- @junxiongchu made their first contribution in #3943
Full Changelog: v1.1.0...v1.1.1
v1.1.0
See Announcing Rspack 1.1 for more details 🎉
What's Changed
New Features 🎉
- feat(webpack): use Rslib to bundle by @chenjiahan in #3713
- feat: support
queueMicroTask
on the server side of SSR by @LingyuCoder in #3873 - feat: export ModifyWebpackConfigFn hook type by @caohuilin in #3876
- feat: automatically read tsconfig paths by
references
by @chenjiahan in #3882 - feat: add
layer
option toapi.transform()
by @chenjiahan in #3883 - feat: add
issuerLayer
option toapi.transform()
by @chenjiahan in #3884 - feat: add
cliShortcuts.help
option by @chenjiahan in #3889 - feat: allow to import TS files with .js extension by @chenjiahan in #3899
- feat: allow to import TSX files with .jsx extension by @chenjiahan in #3900
- feat(server): support viewing served files via /rsbuild-dev-server route by @hangCode2001 in #3896
- feat: optimize UI for assets report page by @chenjiahan in #3902
- feat(deps): bump Rspack 1.1.0 by @9aoy in #3913
Performance 🚀
- perf: enable Node cache before loading modules by @chenjiahan in #3894
Bug Fixes 🐞
- fix(webpack): avoid duplicate import core package by @chenjiahan in #3871
- fix(plugin-vue): allow to override builtin split chunks by @chenjiahan in #3886
- fix(plugin-react): allow to override builtin split chunks by @chenjiahan in #3887
- fix: duplicated plugins info in the inspected Rsbuild config by @chenjiahan in #3888
- fix: no need for checking NODE_DISABLE_COMPILE_CACHE by @chenjiahan in #3895
Document 📖
- docs: correct CSS Modules named import example by @chenjiahan in #3865
- docs: add license to website footer by @chenjiahan in #3866
- docs(tailwindcss): improve configuration guide by @chenjiahan in #3877
- docs: add guide for assets report page by @chenjiahan in #3910
Other Changes
- chore: merge build config for core package by @chenjiahan in #3868
- release: 1.1.0-beta.0 by @9aoy in #3872
- test: remove case for plugin-styled-components by @chenjiahan in #3878
- chore: regenerate pnpm lock file by @chenjiahan in #3879
- chore(workflow): only check dependency version in CI by @chenjiahan in #3880
- test(e2e): upgrade e2e cases to Svelte 5 by @chenjiahan in #3881
- chore(deps): update dependency svelte to v5.1.9 by @renovate in #3813
- release: 1.1.0-beta.1 by @chenjiahan in #3885
- chore(deps): update all patch dependencies by @renovate in #3890
- chore(deps): update dependency core-js to ~3.39.0 by @renovate in #3891
- chore(deps): update dependency @module-federation/rspack to v0.7.0 by @renovate in #3905
- chore(plugin-preact): update dependency @swc/plugin-prefresh to v5 by @renovate in #3908
- chore(deps): update dependency @swc/plugin-remove-console to v5 by @renovate in #3909
- chore(deps): update all patch dependencies by @renovate in #3907
New Contributors
- @hangCode2001 made their first contribution in #3896
Full Changelog: v1.0.19...v1.1.0
v1.1.0-beta.1
What's Changed
New Features 🎉
- feat: automatically read tsconfig paths by
references
by @chenjiahan in #3882 - feat: add
layer
option toapi.transform()
by @chenjiahan in #3883 - feat: add
issuerLayer
option toapi.transform()
by @chenjiahan in #3884 - feat: export
ModifyWebpackConfigFn
hook type by @caohuilin in #3876
Document 📖
- docs(tailwindcss): improve configuration guide by @chenjiahan in #3877
Other Changes
- test: remove case for plugin-styled-components by @chenjiahan in #3878
- chore: regenerate pnpm lock file by @chenjiahan in #3879
- chore(workflow): only check dependency version in CI by @chenjiahan in #3880
- test(e2e): upgrade e2e cases to Svelte 5 by @chenjiahan in #3881
- chore(deps): update dependency svelte to v5.1.9 by @renovate in #3813
Full Changelog: v1.1.0-beta.0...v1.1.0-beta.1
v1.1.0-beta.0
What's Changed
New Features 🎉
- feat(webpack): use Rslib to bundle by @chenjiahan in #3713
- feat(deps): bump rspack 1.1.0-beta.0 by @9aoy in #3870
- feat: support
queueMicroTask
on the server side of SSR by @LingyuCoder in #3873
Bug Fixes 🐞
- fix(webpack): avoid duplicate import core package by @chenjiahan in #3871
Document 📖
- docs: correct CSS Modules named import example by @chenjiahan in #3865
- docs: add license to website footer by @chenjiahan in #3866
Other Changes
- chore: merge build config for core package by @chenjiahan in #3868
Full Changelog: v1.0.19...v1.1.0-beta.0
v1.0.19
What's Changed
New Features 🎉
- feat(plugin-less): allow to register multiple times by @chenjiahan in #3842
- feat(plugin-less): add
include
option by @chenjiahan in #3843 - feat(plugin-sass): allow to register multiple times by @chenjiahan in #3844
- feat(plugin-sass): add
include
option by @chenjiahan in #3845 - feat: support import attributes by @9aoy in #3849
- feat: apply SRI to preload link tags by @chenjiahan in #3853
- feat: support for
postcssOptions
function by @chenjiahan in #3858 - feat(plugin-preact): integrate
@swc/plugin-prefresh
to enhance prefresh by @chenjiahan in #3861
Bug Fixes 🐞
- fix: remove RC version from peer dependencies by @chenjiahan in #3838
- fix(plugin/assets-retry): calculate the times independently in each retry by @SoonIter in #3852
- fix(plugin/assets-retry): make loadScript safer by @SoonIter in #3860
Document 📖
- docs: add Prefesh recognition tip by @chenjiahan in #3839
- docs(plugin-sass): add note for deprecation warnings by @chenjiahan in #3840
- docs: add practices for multiple Less plugins by @chenjiahan in #3850
- docs: update
tools.postcss
config loading notes by @chenjiahan in #3854 - docs: add resolveLoader tip by @9aoy in #3855
Other Changes
- test: reorganize assets e2e cases by @chenjiahan in #3841
- chore(deps): update all patch dependencies by @renovate in #3846
- chore(deps): update dependency @rsbuild/plugin-preact to ^1.1.0 by @renovate in #3847
Full Changelog: v1.0.18...v1.0.19
v1.0.18
What's Changed
New Features 🎉
- feat: improve JSDoc for
output
andhtml
configurations by @chenjiahan in #3804 - feat: add new
source.assetsInclude
config by @chenjiahan in #3808 - feat: allow to configure
dataUriLimit
for extended assets by @chenjiahan in #3826 - feat(plugin-preact): support for prefresh by @chenjiahan in #2469
- feat(plugin-preact): add
include
andexclude
options by @chenjiahan in #3835
Bug Fixes 🐞
- fix: allow Rsbuild plugin to be registered times by @chenjiahan in #3818
- fix(plugin-less): lessLoaderOptions.lessOptions.plugins has lose it's prototype. by @Sang-Sang33 in #3815
- fix(plugin-preact): allow to use Prefresh in IE11 by @chenjiahan in #3831
Document 📖
- docs: update vite.mdx to fix npm command reference by @adammark in #3802
- docs: add guide for using Web Workers by @9aoy in #3795
- docs: add guide for worker-loader by @9aoy in #3809
- docs: update guide for additional asset types by @chenjiahan in #3811
- docs: add how to import absolute path in CSS files by @Timeless0911 in #3816
- docs: correct
rsbuild.addPlugins
typing by @chenjiahan in #3817 - docs(plugin-prefresh): add
prefreshEnabled
option by @chenjiahan in #3829 - docs: update example in transform-import.mdx by @wangi4myself in #3825
Other Changes
- chore(renovate): bump Rslib separately by @chenjiahan in #3807
- test: group e2e test cases by @chenjiahan in #3806
- chore(deps): update rspress to v1.35.0 by @renovate in #3812
- chore: extract
isTTY
helper by @chenjiahan in #3821 - test(plugin-less): fix plugin snapshot by @chenjiahan in #3822
- chore: simplify
isPlainObject
helper by @chenjiahan in #3823 - chore: correct some cases by @chenjiahan in #3830
- test(e2e): avoid writing temp files to git by @chenjiahan in #3832
- chore(deps): update babel to ^7.26.0 by @renovate in #3833
New Contributors
- @adammark made their first contribution in #3802
- @Sang-Sang33 made their first contribution in #3815
- @wangi4myself made their first contribution in #3825
Full Changelog: v1.0.17...v1.0.18
v1.0.17
What's Changed
New Features 🎉
- feat(plugin-stylus): update dependency stylus to v0.64.0 by @renovate in #3776
- feat: support
api.resolve
hook by @9aoy in #3785 - feat(deps): bump rspack 1.0.14 by @9aoy in #3793
- feat(create-rsbuild): check unused locals via tsconfig.json by @chenjiahan in #3799
Bug Fixes 🐞
- fix:
dev.assetPrefix: true
not work withserver.base
by @chenjiahan in #3789 - fix: failed to load MF remote modules when using
server.base
by @chenjiahan in #3790
Document 📖
- docs: add example for get assets info after building by @chenjiahan in #3783
- docs: update zh/configure-rsbuild.mdx by @Timeless0911 in #3791
- docs: update en/configure-rsbuild.mdx by @Timeless0911 in #3792
- docs: fix output.target link by @9aoy in #3797
- docs: update issue template for upstream bugs by @chenjiahan in #3798
Other Changes
- chore(deps): update all patch dependencies by @renovate in #3775
- chore: declare __dirname for Node.js ES modules by @chenjiahan in #3782
- chore(deps): bump React Compiler Beta by @chenjiahan in #3788
- chore(create-rsbuild): sort tsconfig.json fields by @chenjiahan in #3800
Full Changelog: v1.0.16...v1.0.17
v1.0.16
What's Changed
New Features 🎉
- feat: add appendRules util to
tools.rspack
config by @9aoy in #3755 - feat:
output.filename.css
allow function by @gaoachao in #3752 - feat(create-rsbuild): support for both svelte4 and svelte5 by @chenjiahan in #3771
Bug Fixes 🐞
- fix: use
getCompilationHooks
of HTML plugin by @chenjiahan in #3750 - fix: revert to the
getHooks
of HTML plugin by @chenjiahan in #3753 - fix: configure the default assetPrefix for MF apps correctly by @chenjiahan in #3757
Document 📖
- docs: improve
output.filename
function type by @chenjiahan in #3764 - docs: fix proxy links in features.mdx by @s-chance in #3767
- docs: update framework guides by @chenjiahan in #3772
Other Changes
- chore(CI): fix eco-ci ref & release checkout branch by @9aoy in #3746
- chore(deps): update dependency terser to v5.36.0 by @renovate in #3761
- chore(deps): update dependency sass-embedded to ^1.80.3 by @renovate in #3763
- chore(deps): update rspress to v1.34.1 by @renovate in #3762
- chore(deps): update dependency sass to ^1.80.3 by @renovate in #3760
- chore(deps): update dependency path-serializer to v0.2.2 by @renovate in #3768
- chore(deps): bump svelte to v5 by @chenjiahan in #3770
New Contributors
Full Changelog: v1.0.15...v1.0.16
v1.0.15
What's Changed
New Features 🎉
- feat(webpack-swc): use Rslib to bundle by @chenjiahan in #3726
- feat(assets-retry): use Rslib to bundle by @chenjiahan in #3727
- feat: add rawPublicVars for
loadEnv
by @chenjiahan in #3732 - feat(plugin-react): allow to disable fast refresh by @chenjiahan in #3738
- feat(deps): bump rspack 1.0.13 by @9aoy in #3743
Bug Fixes 🐞
- fix: allow to print URLs when HTML is disabled by @chenjiahan in #3737
Document 📖
- docs: add note for destructuring of
process.env
to CRA guide by @chenjiahan in #3734 - docs: fix lazy compilation typo by @9aoy in #3736
- docs: add
process.env.NODE_ENV
inject tip by @9aoy in #3744
Other Changes
- release: 1.0.14 by @chenjiahan in #3717
- chore(deps): update rspress 1.33.1 by @SoonIter in #3719
- ci: enhance Rsbuild ecosystem CI by @9aoy in #3712
- ci: should update eco-ci result in comment by @9aoy in #3722
- ci: not run eco-ci when only docs changed by @9aoy in #3735
- chore(deps): update the path-serializer by @SoonIter in #3739
- chore(deps): update dependency terser to v5.35.0 by @renovate in #3741
- release: 1.0.15 by @9aoy in #3745
Full Changelog: v1.0.14...v1.0.15
v1.0.14
What's Changed
New Features 🎉
- feat(core): add
distPath.assets
andfilename.assets
by @SoonIter in #3688 - feat(core): allow to unset the title tag by @chenjiahan in #3714
- feat(core): make it easier to remove the built-in alias by @chenjiahan in #3715
- feat(plugin-stylus): use Rslib to bundle by @chenjiahan in #3679
- feat(plugin-solid): use Rslib to bundle by @chenjiahan in #3693
- feat(plugin-vue): use Rslib to bundle by @chenjiahan in #3697
- feat(plugin-babel): use Rslib to bundle by @chenjiahan in #3691
- feat(plugin-svgr): use Rslib to bundle by @chenjiahan in #3698
- feat(plugin-sass): use Rslib to bundle by @chenjiahan in #3703
- feat(plugin-react): use Rslib to bundle by @chenjiahan in #3704
- feat(plugin-svelte): use Rslib to bundle by @chenjiahan in #3705
Bug Fixes 🐞
- fix(plugin-less): missing
lessOptions
type with TS node16 resolution by @chenjiahan in #3695 - fix: prebundle breaks RspackChain type by @chenjiahan in #3710
- fix(create-rsbuild): require is not defined by @chenjiahan in #3716
Other Changes
- chore: update bug report issue template by @chenjiahan in #3689
- chore: prefer using the node16 tsconfig by @chenjiahan in #3694
- chore(deps): update dependency react-router-dom to ^6.27.0 by @renovate in #3707
- chore(deps): update all patch dependencies by @renovate in #3706
- chore(deps): update dependency sirv to v3 by @renovate in #3708
- test: add rsbuild-ecosystem-ci test by @9aoy in #3690
Full Changelog: v1.0.13...v1.0.14