create-cloudflare@2.12.0
Minor Changes
-
#4996
246512c8
Thanks @jculvey! - feature: AddgetBindingsProxy
support tonuxt
template vianitro-cloudflare-dev
module.The
nuxt
template now uses the default dev command fromcreate-nuxt
instead of usingwrangler pages dev
on build output in order to improve the developer workflow.nitro-cloudflare-dev
is a nitro module that leveragesgetBindingsProxy
and allows bindings to work in nitro commands. -
#5027
a751489f
Thanks @jculvey! - feature: Improve bindings support in Svelte template.C3 will now create Svelte projects with a hook that uses
getPlatformProxy
to proxy bindings in development mode. Awrangler.toml
file will also be added where bindings can be added to be used in conjunction withgetPlatformProxy
.Along with this change, projects will use the default vite-based dev command from
create-svelte
instead of usingwrangler pages dev
on build output.When Typescript is used, the
app.d.ts
will be updated to add type definitions forcf
andctx
to thePlatform
interface from the@cloudflare/workers-types
package. Types for bindings onplatform.env
can be re-generated with a newly addedbuild-cf-types
script.
Patch Changes
-
#5001
efe8b444
Thanks @dependabot! - chore: Bumpedcreate-hono
from0.3.2
to0.4.0
-
#5011
89482d44
Thanks @dependabot! - chore: Bumpedcreate-qwik
from1.4.4
to1.4.5
-
#5019
f939ed73
Thanks @dependabot! - chore: Bumped@angular/create
from17.1.3
to17.2.0
-
#5020
0e74c743
Thanks @dependabot! - chore: Bumpednuxi
from3.10.0
to3.10.1
-
#5021
ae1ef47c
Thanks @dependabot! - chore: Bumpedcreate-astro
from4.7.2
to4.7.3
-
#5009
1e263694
Thanks @dario-piotrowicz! - chore: update Next.js templateUpdate the C3 Next.js template so that it uses the latest
@cloudflare/next-on-pages
tooling (i.e.setupDevPlatform
andgetRequestContext
) -
#4996
246512c8
Thanks @jculvey! - feature: Add an emptywrangler.toml
file to qwik and nuxt templates. -
#4999
ce6d4bc4
Thanks @dario-piotrowicz! - fix: make sure not to wrongly ask users if they want to use typescriptcurrently if a CLI invoked by C3 asks the user if they want to use
typescript and the user opted out of it, C3 could actually again offer
typescript to the user afterwords, make sure that this does not happen -
#5010
9f787042
Thanks @dario-piotrowicz! - chore: update qwik template to usegetPlatformProxy
update the C3 Qwik template to use the
getPlatformProxy
utility instead of the deprecatedgetBindingsProxy
one