Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.1.5
What's Changed
New Features 🎉
- feat: allow
output.sourceMap
to be boolean value by @chenjiahan in #4037 - feat: add
printFileSize.include
option by @chenjiahan in #4044 - feat: add
printFileSize.exclude
option by @chenjiahan in #4045
Bug Fixes 🐞
- fix: should close compiler when dev closed by @9aoy in #4027
- fix(plugin-assets-retry): avoid webpack_require.e pollution and add some try catch to be safer by @SoonIter in #4025
Document 📖
- docs(deps): bump rspress 1.37.2 by @9aoy in #4023
- docs: fix broken api links by @9aoy in #4028
- docs: add intro for TanStack Router by @chenjiahan in #4036
- docs: update description for Rslib by @chenjiahan in #4039
- docs: add JSDoc for
PrintFileSizeOptions
by @chenjiahan in #4043 - docs: manual tags injection guide by @chenjiahan in #4049
- docs: update configuration migration by @chenjiahan in #4051
Other Changes
- chore(examples): use MF Rsbuild plugin by @chenjiahan in #4022
- test(e2e): enable MF v2 HMR case by @chenjiahan in #4024
- chore: switch to ESM loaders by @chenjiahan in #4030
- release: @rsbuild/plugin-assets-retry 1.0.5 by @SoonIter in #4031
- chore(deps): bump Rslib v0.1.0 by @chenjiahan in #4032
- chore(build): remove dirname shims by @chenjiahan in #3984
- chore(deps): update all patch dependencies by @renovate in #4035
- chore(deps): update dependency reduce-configs to ^1.1.0 by @renovate in #4042
- chore(deps): bump typescript v5.7 by @chenjiahan in #4046
- chore(deps): update dependency preact to ^10.25.0 by @renovate in #4047
- chore(deps): update dependency svelte-check to ^4.1.0 by @renovate in #4048
- chore(deps): update dependency react-router-dom to v7 by @renovate in #4050
- chore(deps): update all patch dependencies by @renovate in #4052
- release: 1.1.5 by @9aoy in #4053
Full Changelog: v1.1.4...v1.1.5
v1.1.4
What's Changed
New Features 🎉
- feat: enable module trace by default by @9aoy in #4008
- feat: reference script modules as URL assets by @chenjiahan in #4011
- feat: reference style modules as URL assets by @chenjiahan in #4016
- feat(loadConfig): allow to pass a meta data by @hasnum-stack in #4013
- feat(deps): bump Rspack v1.1.2 by @chenjiahan in #4017
Bug Fixes 🐞
Document 📖
- docs: add more JavaScript runtimes by @chenjiahan in #4009
- docs: unify handler param by @9aoy in #4014
- docs: complete loadConfig options by @chenjiahan in #4019
Other Changes
- chore(deps): update dependency rspack-chain to ^1.1.0 by @renovate in #4010
- chore(deps): update all patch dependencies by @renovate in #4018
- release: 1.1.4 by @9aoy in #4020
Full Changelog: v1.1.3...v1.1.4
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/plugin-svelte@1.0.4 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