Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
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
v1.0.13
What's Changed
New Features 🎉
- feat(deps): bump Rspack v1.0.10 by @chenjiahan in #3685
Performance 🚀
- perf: initialize PostCSS plugin to avoid multiple initialization by @chenjiahan in #3682
Bug Fixes 🐞
- fix(core): ensure that keep the original URL by @Cheese-Yu in #3674
Other Changes
- chore(deps): update all patch dependencies by @renovate in #3678
- chore(deps): update rspress to v1.33.0 by @renovate in #3684
New Contributors
- @Cheese-Yu made their first contribution in #3674
Full Changelog: 1.0.12...v1.0.13
v1.0.12
What's Changed
New Features 🎉
- feat: validate Rspack plugins configuration by @chenjiahan in #3667
- feat: beautify file size logs for multiple environments by @chenjiahan in #3668
- feat: update building logs by @chenjiahan in #3672
- feat(deps): bump rspack 1.0.9 by @9aoy in #3676
Performance 🚀
- perf: merge file size logs by @chenjiahan in #3673
Bug Fixes 🐞
- fix(comment): hmr broken docs link by @GRAMMAC1 in #3663
- fix: occasional preview assets failure by @9aoy in #3665
Document 📖
Other Changes
- test(e2e): add cases for web workers by @chenjiahan in #3664
- test(e2e): add test case for CSS layers by @chenjiahan in #3669
- release: 1.0.12 by @9aoy in #3677
Full Changelog: v1.0.11...1.0.12