💡 See Announcing Rsbuild 2.1 for more details
What's Changed
New Features 🎉
- feat(core): limit printed server routes by @chenjiahan in #7912
- feat(plugin-svgr): add parallel option by @chenjiahan in #7915
- feat(plugin-babel): add parallel option by @chenjiahan in #7917
- feat(core): enable source import by default by @chenjiahan in #7930
- feat(deps): update @rspack/core to 2.1.0-beta.0 by @chenjiahan in #7937
- feat(plugin-react): add reactCompiler option by @chenjiahan in #7938
- feat(create-rsbuild): use reactCompiler option by @chenjiahan in #7948
- feat(plugin-vue): drop Rsbuild v1 support by @chenjiahan in #7975
- feat(deps): update @rspack/core to 2.1.0-rc.0 by @chenjiahan in #7984
- feat(core): support environment scoped exposed APIs by @9aoy in #7994
- feat(deps): update @rspack/core to 2.1.0 by @chenjiahan in #7996
- feat(plugin-babel)!: publish as pure ESM package by @chenjiahan in #7919
- feat(plugin-babel)!: drop Rsbuild v1 support by @chenjiahan in #7922
- feat(plugin-sass)!: publish as pure ESM by @chenjiahan in #7956
- feat(plugin-less)!: publish as pure ESM by @chenjiahan in #7957
- feat(plugin-sass)!: drop Rsbuild v1 support by @chenjiahan in #7958
- feat(plugin-less)!: drop Rsbuild v1 support by @chenjiahan in #7959
- feat(plugin-vue)!: publish as pure ESM package by @chenjiahan in #7974
Performance 🚀
- perf(core): optimize initial chunks collection by @chenjiahan in #7909
- perf(core): patch dotenv-expand to improve performance by @chenjiahan in #7910
- perf(core): reduce file size report allocations by @chenjiahan in #7941
- perf(core): reduce file size formatting promises by @chenjiahan in #7947
Bug Fixes 🐞
- fix(core): compact build time logs by @chenjiahan in #7911
- fix(core): update route limit hint without shortcuts by @chenjiahan in #7913
- fix(plugin-babel): remove rspack cache guard by @chenjiahan in #7928
- fix(core): generate correct script paths in RsbuildHtmlPlugin by @hpoepping in #7934
- fix(plugin-react): check reactCompiler rspack version by @chenjiahan in #7940
Refactor 🔨
- refactor: use rspack magic comment prefix by @chenjiahan in #7864
Document 📖
- docs: use giget for example initialization by @chenjiahan in #7918
- docs: update parallel loader docs by @chenjiahan in #7920
- docs: update parallel performance guide by @chenjiahan in #7921
- docs: remove buildCache experimental notices by @chenjiahan in #7929
- docs: add Wasm source import usage by @chenjiahan in #7932
- docs(plugin-react): document reactCompiler option by @chenjiahan in #7944
- docs: update build performance guidance by @chenjiahan in #7953
- docs(skills): document e2e mock node_modules convention by @chenjiahan in #7963
- docs(skills): add release plugin package skill by @chenjiahan in #7965
- docs(skills): add rsbuild performance profiling skill by @chenjiahan in #7966
- docs: add plugin changelogs by @chenjiahan in #7970
- docs: update plugin release skill by @chenjiahan in #7971
- docs: fix onBeforeEnvironmentCompile config parameter by @9aoy in #7973
- docs(plugin-vue): update loader references in types by @chenjiahan in #7976
- docs: update agent instructions by @chenjiahan in #7978
- docs: add Rsbuild 2.1 release blog by @chenjiahan in #7991
Other Changes
- chore: add plugin npm support metadata by @sh962214-hub in #7914
- release: @rsbuild/plugin-svgr v2.0.4 by @chenjiahan in #7916
- chore(deps): update playwright monorepo to v1.61.0 by @renovate[bot] in #7923
- release: @rsbuild/plugin-babel v2.0.0 by @chenjiahan in #7924
- chore(plugin-babel): add npm support metadata by @alejandrorivas-pixel in #7925
- chore(deps): update dependency @rslib/core to v0.23.0 by @renovate[bot] in #7926
- chore(deps): update babel to v2 by @renovate[bot] in #7927
- test: add Wasm source import e2e case by @chenjiahan in #7931
- chore: add bugs metadata to remaining plugin packages by @killernova in #7935
- test: refine html tag relative path e2e by @chenjiahan in #7936
- chore(deps): update dependency http-proxy-middleware to v4.1.1 [security] by @renovate[bot] in #7939
- chore(deps): update dependency oxfmt to ^0.55.0 by @renovate[bot] in #7942
- chore(deps): update swc monorepo to ^12.13.0 by @renovate[bot] in #7943
- release: @rsbuild/plugin-react v2.1.0 by @chenjiahan in #7945
- release: v2.1.0-beta.0 by @chenjiahan in #7946
- chore(deps): update pnpm to v11.7.0 by @renovate[bot] in #7950
- chore(deps): update node.js to v24.17.0 by @renovate[bot] in #7949
- chore(deps): keep Babel updates on v7 by @chenjiahan in #7952
- chore: check formatting in lint CI by @chenjiahan in #7954
- chore(deps): pin node.js to v24.16.0 by @chenjiahan in #7955
- chore(deps): upgrade reduce-configs catalog to v2 by @chenjiahan in #7960
- release: @rsbuild/plugin-sass v2.0.0 by @chenjiahan in #7961
- release: @rsbuild/plugin-less v2.0.0 by @chenjiahan in #7962
- test: mock Rsdoctor package in e2e by @chenjiahan in #7964
- chore(deps): update pnpm to v11.8.0 by @renovate[bot] in #7968
- chore(deps): update all patch dependencies by @renovate[bot] in #7967
- chore(deps): update swc monorepo to ^12.14.0 by @renovate[bot] in #7969
- chore: check plugin changelogs with cspell by @chenjiahan in #7972
- release: @rsbuild/plugin-vue v2.0.0 by @chenjiahan in #7977
- chore: move build out of prepare by @chenjiahan in #7979
- chore(plugin-babel): remove prebundled babel-loader by @chenjiahan in #7980
- release: v2.1.0-rc.0 by @chenjiahan in #7985
- chore(ci): confirm release npm tag by @chenjiahan in #7986
- chore: add latest-v1 release tag by @chenjiahan in #7987
- chore(deps): update module federation to v2.6.0 by @renovate[bot] in #7992
- chore: update agent skills by @chenjiahan in #7993
- ci: keep reproduction label until close by @chenjiahan in #7995
- release: v2.1.0 by @chenjiahan in #7997
New Contributors
- @sh962214-hub made their first contribution in #7914
- @alejandrorivas-pixel made their first contribution in #7925
- @killernova made their first contribution in #7935
- @hpoepping made their first contribution in #7934
Full Changelog: v2.0.15...v2.1.0