Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.1.3
What's Changed
New Features 🎉
- feat: support print error module traces by @9aoy in #3986
- feat(plugin-sass): mute deprecation warnings of dependencies by @chenjiahan in #3998
Bug Fixes 🐞
- fix(webpack): move Rslib to devDependencies by @colinaaa in #3990
- fix: pin Rspack 1.1.0 to fix "Tsconfig not found" by @chenjiahan in #4001
Document 📖
- docs: add rsbuild-plugin-tailwindcss to optimize bundle size by @chenjiahan in #3991
- docs: add explanation to .env by @hangCode2001 in #3993
Other Changes
- chore: move
runCLI
from internal helpers to index export by @chenjiahan in #3981 - chore: simplify isGlob helper by @chenjiahan in #3982
- chore: normalize stats with
getStatsOptions
by @chenjiahan in #3987 - chore(deps): update dependency sass to ^1.81.0 by @renovate in #3988
- chore(deps): update dependency sass-embedded to ^1.81.0 by @renovate in #3989
- chore(CI): reduce playwright install time by @chenjiahan in #3995
- release: @rsbuild/plugin-webpack-swc 1.0.8 by @chenjiahan in #3997
- chore(deps): update all patch dependencies by @renovate in #3999
- chore(deps): update dependency svelte to ^5.2.2 by @renovate in #4000
- chore(deps): update dependency tsconfig-paths-webpack-plugin to v4.2.0 by @renovate in #4002
- chore(deps): update rspress to v1.37.0 by @renovate in #4003
Full Changelog: v1.1.2...v1.1.3
v1.1.2
What's Changed
New Features 🎉
- feat: add new
output.emitCss
config by @chenjiahan in #3967 - feat: support restart build in build watch mode by @9aoy in #3974
Performance 🚀
- perf: bump chokidar to v4 and remove fsevents dependency by @chenjiahan in #3960
- perf(build): custom Rslib minify options for Node output by @chenjiahan in #3966
Bug Fixes 🐞
- fix:
watchFiles.type
not work as expected by @chenjiahan in #3963 - fix(plugin-vue): should transpile all Vue SFC by @chenjiahan in #3964
- fix: close API does not actually close the build by @9aoy in #3969
- fix(plugin-stylus):
stylusOptions.import
should be an array by @chenjiahan in #3972
Document 📖
- docs: remove npm packages page by @chenjiahan in #3970
Other Changes
- test: replace strip-ansi with Node.js builtin util by @chenjiahan in #3976
- chore: clean up unused internal helpers by @chenjiahan in #3977
- refactor: move internal helpers to provider parameters by @chenjiahan in #3978
Full Changelog: v1.1.1...v1.1.2
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