Note 💡
This is an early preview release intended for testing only. It introduces a number of breaking changes that are not yet final.
- Rsbuild 2.0 upgrade guide: https://v2.rsbuild.rs/guide/upgrade/v1-to-v2
- The full list of breaking changes: #5275
What's Changed
New Features 🎉
- feat(deps)!: update @rspack/core to v2 canary by @chenjiahan in #6988
- feat!: remove
performance.removeMomentLocaleoption by @chenjiahan in #6991
Bug Fixes 🐞
- fix(create-rsbuild): update @rsbuild/core dependency to v2.0.0-0 by @chenjiahan in #6978
- fix: ensure
output.minifyhas a default value based on target by @chenjiahan in #6979 - fix: remove unused CHAIN_ID entries by @chenjiahan in #6980
- fix: update type definitions for
source.defineby @chenjiahan in #6985 - fix: update transformImport typing by @chenjiahan in #6986
- fix: correct 'drafts' in lightningcss minimize plugin by @chenjiahan in #6987
Refactor 🔨
- refactor: simplify Rspack plugin and config types by @chenjiahan in #7000
Document 📖
- docs: add
performance.removeMomentLocaleto upgrade guide by @chenjiahan in #6994 - docs: add Rspack v2 dependency information to upgrade guide by @chenjiahan in #6996
Other Changes
- chore(deps): update dependency svelte to v5.46.4 [security] by @renovate[bot] in #6981
- chore(deps): update dependency @rsdoctor/rspack-plugin to v1.5.0 by @renovate[bot] in #6982
- chore(deps): update dependency @rslint/core to ^0.2.0 - autoclosed by @renovate[bot] in #6983
- chore(deps): update all patch dependencies by @renovate[bot] in #6984
- chore(deps): update dependency happy-dom to ^20.3.1 by @renovate[bot] in #6989
- chore(deps): update dependency prettier to ^3.8.0 by @renovate[bot] in #6990
- chore(deps): update actions/setup-node action to v6.2.0 by @renovate[bot] in #6993
- chore(deps): update all patch dependencies by @renovate[bot] in #6992
- chore(deps): update dependency @babel/plugin-transform-class-properties to ^7.28.6 by @renovate[bot] in #6997
- test(e2e): enable skipped tests for Preact by @chenjiahan in #7001
- chore: update @rspack/core to 2.0.0-canary.20260120 by @chenjiahan in #7002
- chore: remove Netlify configuration and add redirects file by @chenjiahan in #7004
- chore: update renovate configuration to include Rstest group by @chenjiahan in #7006
- release: 2.0.0-alpha.1 by @chenjiahan in #7005
Full Changelog: v2.0.0-alpha.0...v2.0.0-alpha.1