github cloudflare/workers-sdk create-cloudflare@2.8.0

Minor Changes

  • #4494 9bea4e32 Thanks @RamIdeas! - Change the default project type to the hello world worker script.

  • #4525 294ca542 Thanks @jculvey! - C3: Use latest version of wrangler and @cloudflare/workers-types.

    Also updates the types entry of the project's tsconfig.json to use type definitions corresponding to the latest compatibility date.

Patch Changes

  • #4445 652cc422 Thanks @petebacondarwin! - fix: ensure shell scripts work on Windows

    Our use of shell-quote was causing problems on Windows where it was
    escaping character (such as @) by placing a backslash in front.
    This made Windows think that such path arguments, were at the root.

    For example, npm install -D @cloudflare/workers-types was being converted to
    npm install -D \@cloudflare/workers-types, which resulted in errors like:

    npm ERR! enoent ENOENT: no such file or directory, open 'D:\@cloudflare\workers-types\package.json'
    

    Now we just rely directly on the Node.js spawn API to avoid any shell quoting
    concerns. This has resulted in a slightly less streamlined experience for people
    writing C3 plugins, but has the benefit that the developer doesn't have to worry
    about quoting spawn arguments.

    Closes #4282

  • #4432 04a2d0ed Thanks @dependabot! - C3: Bumped create-solid from 0.3.9 to 0.3.10

  • #4465 d79a68fd Thanks @dependabot! - C3: Bumped create-svelte from 5.2.0 to 5.3.1

  • #4472 beed1575 Thanks @dependabot! - C3: Bumped nuxi from 3.9.1 to 3.10.0

  • #4491 e6ddf8a7 Thanks @dependabot! - C3: Bumped create-qwik from 1.2.17 to 1.2.19

  • #4504 3b5407a9 Thanks @dependabot! - C3: Bumped @angular/create from 17.0.1 to 17.0.3

  • #4506 d8b5a01e Thanks @dependabot! - C3: Bumped gatsby from 5.12.9 to 5.12.11

  • #4507 743d15fe Thanks @dependabot! - C3: Bumped create-remix from 2.2.0 to 2.3.1

  • #4508 743df0af Thanks @dependabot! - C3: Bumped create-svelte from 5.3.1 to 5.3.2

  • #4530 774b16c9 Thanks @dependabot! - C3: Bumped @angular/create from 17.0.3 to 17.0.5

  • #4481 18a4dd92 Thanks @jculvey! - Minor improvements when using the --existing-script scriptName flag:

    • Format the type as "Pre-existing Worker (from Dashboard)"
    • Defaults the project name to scriptName
  • #4445 652cc422 Thanks @petebacondarwin! - fix: update Nuxt template to work on Windows

    Rather than relying upon the non-Windows shell syntax to specify an environment variable,
    we now update the nuxt.config.ts files to include the cloudflare preset.

    Fixes #4285

  • #4520 1b945a07 Thanks @petebacondarwin! - fix: ensure Angular alter-polyfill script works on Windows

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.