create-cloudflare@2.70.14
📦 cloudflare-workersView on GitHub →
🐛 2 fixes🔧 4 symbols
Summary
This patch release updates dependencies for create-cloudflare, fixes an issue with Cloudflare bindings in Nuxt/pnpm projects, and improves React Router integration by leveraging its default server entry.
Migration Steps
- For Nuxt (Workers) projects created with pnpm, ensure `h3` is installed with a version compatible with your Nitropack dependency (e.g., `h3@^1`).
- For new React Router projects, remove custom server entry files if not strictly necessary, as React Router 8.2 provides a default compatible server entry.
🐛 Bug Fixes
- Fixed Cloudflare bindings being unavailable during `nuxt dev` in pnpm projects created from the Nuxt template by ensuring `h3` is installed with a compatible version (`^1`). This resolves issues where `getRequestURL` from h3 v2 would throw when called with an h3 v1 event, leading to bindings not being assigned and server routes crashing.
- Stopped adding a custom React Router server entry file to new projects, as React Router 8.2 now provides a Web Streams-compatible default server entry for non-Node runtimes. Newly generated projects will use this default, only requiring `app/entry.server.tsx` for custom server rendering.