v1.0.0-alpha.1
Pre-release
Pre-release
·
899 commits
to main
since this release
What's Changed
- feat(deps): Switch to peer dependency model for React by @justinvdm in #708
Full Changelog: v1.0.0-alpha.0...v1.0.0-alpha.1
BREAKING CHANGES & MIGRATION GUIDE
1. Add Core Dependencies
Your project's package.json must now include explicit dependencies for React and the Cloudflare toolchain. Add the following to your dependencies and devDependencies:
// package.json
"dependencies": {
// ... your other dependencies
"react": "19.2.0-canary-3fb190f7-20250908",
"react-dom": "19.2.0-canary-3fb190f7-20250908",
"react-server-dom-webpack": "19.2.0-canary-3fb190f7-20250908"
},
"devDependencies": {
// ... your other devDependencies
"@cloudflare/vite-plugin": "1.12.4",
"wrangler": "4.35.0"
}2. Update Wrangler Configuration
To ensure the Cloudflare Workers runtime supports the features required by modern React, update your wrangler.jsonc (or wrangler.toml):
- Set the
compatibility_dateto2025-08-21or later.
// wrangler.jsonc
{
// ...
"compatibility_date": "2025-08-21",
// ...
}After making these changes, run your package manager's install command (e.g., pnpm install) to apply the updates.