github cloudflare/workers-sdk create-cloudflare@2.70.0

5 hours ago

Minor Changes

  • #14095 8b4e917 Thanks @dario-piotrowicz! - Hide non-framework categories when --platform=pages is specified

    When running C3 with --platform=pages, the "Hello World example" and "Application Starter" categories are now hidden since they only produce Workers projects. The framework list is also filtered to only show frameworks that support the Pages platform. This makes it clear that C3 can only create Pages projects when using a framework.

Patch Changes

  • #14128 7868998 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    @angular/create 21.2.12 21.2.13
  • #14129 fe97ff8 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-react-router 7.15.1 7.16.0
  • #14113 063d98e Thanks @petebacondarwin! - Switch the react-router template to scaffold from the upstream create-react-router default template and overlay Cloudflare-specific files locally

    Previously, C3 invoked create-react-router with --template <pinned GitHub URL> pointing at a specific commit of remix-run/react-router-templates/cloudflare. This pinning was needed because the upstream Cloudflare template had been deleted before, leaving us reliant on a third-party source we don't control.

    We now invoke create-react-router without --template (using the upstream default template) and overlay all Cloudflare-specific files — workers/app.ts, wrangler.jsonc, split tsconfigs, a Cloudflare-flavored vite.config.ts, entry.server.tsx, etc. — from templates/react-router/ts/. A configure step deletes Dockerfile/.dockerignore and the @react-router/node/@react-router/serve dependencies and start script that ship with the default template.

    This brings the react-router template in line with how astro, svelte, and react already work and removes our dependency on a deleted upstream template. The scaffolded project is functionally equivalent to before.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.