Minor Changes
-
#5080
2aa7913
Thanks @jculvey! - feature: Use newvite-cloudflare
template in Remix projects.Remix has released a new official Cloudflare template that uses
getPlatformProxy
under the hood to provide better support for bindings in dev. Remix projects created with C3 will now use this new template.Along with this change, projects will use the default vite-based dev command from
create-remix
instead of usingwrangler pages dev
on build output.A new
build-cf-types
script has also been added to re-generate theEnv
type defined inload-context.ts
based on the contents ofwrangler.toml
. A defaultwrangler.toml
will be added to new Remix projects to accomodate this workflow. -
#5072
cab7e1c
Thanks @jculvey! - feature: Improve bindings support in Astro template.C3 will now create Astro projects configured to use miniflare in dev automatically. This is done by adding a configuration for the adapter of
{ runtime: 'local'}
(see Astro docs for more details). Awrangler.toml
file will also be added where bindings can be added to be used in dev.Along with this change, projects will now use the default vite-based
astro dev
command instead of usingwrangler pages dev
on build output.When Typescript is used, the
src/env.d.ts
file will be updated to add type definitionsruntime.env
which can be re-generated with a newly addedbuild-cf-types
script.
Patch Changes
-
#5074
e37c1b8
Thanks @dependabot! - chore: Bumpedcreate-svelte
from6.0.8
to6.0.9
-
#5075
c1ed773
Thanks @dependabot! - chore: Bumpedcreate-remix
from2.7.1
to2.7.2
-
#5078
64236b0
Thanks @dependabot! - chore: Bumped@angular/create
from17.2.0
to17.2.1