Release Notes
Vite 8 support
This release adds Vite 8 support to RedwoodSDK.
The SDK plugin layer now works with Vite 8's Rolldown-based build and dependency optimizer pipeline. Vite 8 is the default path in the SDK test apps going forward.
This is not intended to force every app to upgrade Vite on the same day. [email protected] still accepts Vite ^6.2.6, 7.x, and 8.x, so existing Vite 6/7 apps can update RedwoodSDK first and move to Vite 8 when ready.
Upgrade notes
For apps moving to Vite 8:
pnpm add [email protected]
pnpm add -D vite@latest
If your app uses @vitejs/plugin-react, upgrade that package too:
pnpm add -D @vitejs/plugin-react@latest
If your Vite config passes Babel plugins through react({ babel: ... }), move that config to @rolldown/plugin-babel. @vitejs/plugin-react v6 no longer accepts the babel option.
Before:
react({
babel: {
plugins: ['babel-plugin-react-compiler'],
},
})
After:
import babel from '@rolldown/plugin-babel'
import react, { reactCompilerPreset } from '@vitejs/plugin-react'
export default defineConfig({
plugins: [
react(),
babel({ presets: [reactCompilerPreset()] }),
// redwood(), cloudflare(), etc.
],
})
If you do not use React Compiler or custom Babel options, react() is enough.
Also check any other Vite plugins in your app for Vite 8-compatible versions.
Compatibility notes
- Vite 8 is the recommended path for new upgrade work.
- Vite 6/7 compatibility remains available in this release so apps can migrate incrementally.
- The Vite 7 path has focused SDK smoke and playground coverage. The Vite 8 path has the full default SDK coverage.
Full Changelog: https://github.com/redwoodjs/sdk/compare/v1.4.1...v1.5.0