Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.1.7
What's Changed
New Features 🎉
- feat: add
resolve.dedupe
config by @chenjiahan in #4092 - feat: add
resolve.alias
and deprecatesource.alias
by @chenjiahan in #4098 - feat: add
resolve.aliasStrategy
and deprecatesource.aliasStrategy
by @chenjiahan in #4101 - feat: only print total size if there are more than one asset by @chenjiahan in #4072
- feat: always write manifest to disk by @9aoy in #4074
- feat(CLI): set default
process.title
by @chenjiahan in #4083 - feat(CLI): close instance after building by @chenjiahan in #4068
- feat: complete the error message prefix by @chenjiahan in #4084
Bug Fixes 🐞
- fix: remove unused if condition by @chenjiahan in #4097
Document 📖
- docs: tip for style-loader source map by @chenjiahan in #4073
- docs: fix SSR Node bundle usage in docs by @xettri in #4076
- docs: update ssr environment to node environment by @9aoy in #4080
- docs: tip for gzip compression by @chenjiahan in #4086
- docs: update MF guides to @module-federation/rsbuild-plugin by @chenjiahan in #4087
- docs: clarify chunk-split behavior for different targets by @chenjiahan in #4088
- docs: add
resolve.dedupe
config by @chenjiahan in #4093 - docs: improve dedupe guides by @chenjiahan in #4095
- docs: update stucture in configure-rsbuild by @chenjiahan in #4099
- docs: update environment and template parameters by @chenjiahan in #4100
Other Changes
- chore(deps): update dependency @types/node to ^22.10.0 by @renovate in #4077
- chore(deps): remove unused rimraf and fs-extra by @chenjiahan in #4079
- chore(deps): update dependency prettier to ^3.4.1 by @renovate in #4078
- test: add e2e case for build API by @chenjiahan in #4081
- chore(deps): update dependency vue-router to ^4.5.0 by @renovate in #4082
- chore(deps): update dependency path-serializer to v0.3.4 by @renovate in #4091
- chore(deps): update dependency @module-federation/rsbuild-plugin to v0.8.0 by @renovate in #4090
Full Changelog: v1.1.6...v1.1.7
v1.1.6
What's Changed
Highlights 💡
Rsbuild no longer watches the node_modules
directory by default, resulting in significant performance improvements:
- Up to 40% faster startup
- Up to 30% faster HMR
- 20% less memory
See #4058 for more details.
Performance 🚀
- perf: aggregateTimeout defaults to 0 by @chenjiahan in #4062
- perf: no need to calc gzipped size for Node bundles by @chenjiahan in #4066
New Features 🎉
- feat: add plugin
onCloseBuild
hook by @9aoy in #4065 - feat(deps): bump Rspack v1.1.4 by @chenjiahan in #4067
Document 📖
- docs: update ts checker plugin links by @chenjiahan in #4054
- docs: improve migration guides by @chenjiahan in #4055
- docs: update file watching by @chenjiahan in #4061
Other Changes
- test(e2e): add case for copy with context by @chenjiahan in #4060
Full Changelog: v1.1.5...v1.1.6
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/[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