Skip to content

Releases: cloudflare/workers-sdk

wrangler@4.121.0

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Aug 19:22
15fc568

Minor Changes

  • #15079 15cad03 Thanks @podonnell-dev! - Add Preview base config secret commands

    Wrangler now manages Worker Preview base config secrets with wrangler preview base-config secret put, delete, list, and bulk. These commands update the Worker's previews_base_config.env, keeping shared defaults scoped to all of that Worker's Previews. wrangler preview base-config secret list reads from the Worker's Preview base config and prints secret names with values masked. wrangler preview base-config secret bulk deletes a secret when its value is null, matching wrangler secret bulk.

  • #15000 731b33a Thanks @edmundhung! - Allow Wrangler projects to build a Worker once and reuse it in createTestHarness()

    Build the Worker once:

    wrangler deploy --dry-run --outdir ./worker-output

    Then reuse the emitted Worker during test harness startup and reset:

    const server = createTestHarness({
      workers: [
        {
          configPath: "./wrangler.jsonc",
          prebuiltWorkerDir: "./worker-output",
        },
      ],
    });
  • #14737 e1b5b4b Thanks @ttoino! - Add email.sending as an event subscription source for queues

    wrangler queues subscription create now accepts --source email.sending alongside two new flags, --zone-id and --domain, which identify the zone and the sending domain (zone apex or a verified subdomain) to subscribe to. Both flags are required for this source. The subscription's resource is displayed as the sending domain in wrangler queues subscription get.

  • #15073 d669088 Thanks @FlorentCollin! - Add US jurisdiction support to wrangler d1 create

    You can now create a D1 database in the US jurisdiction with wrangler d1 create <name> --jurisdiction us. The new jurisdiction is also listed in the command's help output.

  • #15079 15cad03 Thanks @podonnell-dev! - Use Preview deployment PATCH APIs for Preview secret commands

    Wrangler now updates Worker Preview secrets by patching the named Preview's latest deployment instead of patching the Worker's Previews settings. This keeps secret changes scoped to one Preview, avoids affecting production or other Previews, and creates a new Preview deployment that goes live at 100% immediately. wrangler preview secret list now reads from the named Preview's latest deployment and prints secret names with values masked. wrangler preview secret bulk now deletes a secret when its value is null, matching wrangler secret bulk.

  • #14924 0aa8fa5 Thanks @ariesclark! - Honor DO_NOT_TRACK=1 as a telemetry opt-out

    Wrangler now disables telemetry when DO_NOT_TRACK=1 is set, regardless of other telemetry settings.

Patch Changes

  • #15081 026e058 Thanks @podonnell-dev! - Compact wrangler preview deployment success output

    wrangler preview now prints a concise success summary with the Preview name, Preview URL, deployment ID, and Deployment URL instead of the previous box-art settings summary.

  • #15132 5b1b930 Thanks @dario-piotrowicz! - Fetch script metadata directly instead of listing all scripts

    When resolving Durable Object migrations, fetch the specific script's service metadata via /workers/services/{name} instead of listing all scripts in the account via /workers/scripts. This avoids downloading metadata for every Worker in the account just to find one script's migration tag.

  • #15032 6e7d37d Thanks @Sertug17! - Fix wrangler dev commands crashing with No such module "wrangler:modules-watch" when "no_bundle": true

    Running wrangler dev or wrangler pages dev with bundling disabled ("no_bundle": true in wrangler.json, or the --no-bundle flag) no longer crashes at startup with Uncaught Error: No such module "wrangler:modules-watch". Live reloading on file changes continues to work as before.

  • Updated dependencies [c7aede7]:

create-cloudflare@2.71.0

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Aug 19:22
15fc568

Minor Changes

  • #14924 0aa8fa5 Thanks @ariesclark! - Honor DO_NOT_TRACK=1 as a telemetry opt-out

    Create Cloudflare now disables telemetry when DO_NOT_TRACK=1 is set, regardless of other telemetry settings.

Patch Changes

  • #15098 4cb1547 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-next-app 16.2.12 16.3.0
  • #15099 aa9b121 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-solid 0.8.0 0.8.1
  • #15100 cf785d7 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    @angular/create 22.1.2 22.1.3
  • #15101 35e4cff Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    @tanstack/cli 0.70.1 0.70.2
  • #15102 72154fd Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-vike 0.0.671 0.0.673

@cloudflare/workers-utils@0.32.0

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Aug 19:22
15fc568

Minor Changes

  • #14924 0aa8fa5 Thanks @ariesclark! - Add shared support for the DO_NOT_TRACK environment variable

    Add utilities for recognizing DO_NOT_TRACK=1 and incorporating it when resolving Wrangler's telemetry preference.

@cloudflare/workers-auth@0.6.2

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Aug 19:22
15fc568

Patch Changes

  • Updated dependencies [0aa8fa5]:
    • @cloudflare/workers-utils@0.32.0

@cloudflare/vitest-pool-workers@0.21.1

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Aug 19:22
15fc568

Patch Changes

  • #14882 ab9132d Thanks @petebacondarwin! - Report built-in modules that a Worker's compatibility settings don't provide as module errors, instead of crashing workerd

    Previously, a Worker whose module graph statically reached a compatibility-gated built-in that wasn't enabled — for example import "node:child_process" without nodejs_compat — took down the runtime with *** Received signal #11: Segmentation fault before any test ran. Vitest reported only Worker exited unexpectedly, naming neither the module nor the file that imported it, which made the cause very hard to find. The import didn't even have to be called; being reachable from the entrypoint was enough.

    The module fallback service answered these specifiers with a redirect to the modules root, but workerd already resolves node:/cloudflare:/workerd: specifiers there, so the redirect pointed back at the module workerd was in the middle of resolving and it recursed until the stack overflowed. Such a specifier only reaches the fallback service when workerd's own registry has already missed, so it's now reported as not found: workerd raises No such module "node:child_process", matching what wrangler dev does for the same Worker. The accompanying pool error names the module and points at compatibility flags rather than suggesting you bundle it, which can't help for a module built into the runtime.

  • Updated dependencies [15cad03, 026e058, 731b33a, e1b5b4b, 5b1b930, 6e7d37d, d669088, 15cad03, c7aede7, 0aa8fa5]:

@cloudflare/vite-plugin@1.51.3

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Aug 19:22
15fc568

Patch Changes

@cloudflare/runtime-types@0.0.12

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Aug 19:22
15fc568

Patch Changes

@cloudflare/remote-bindings@0.0.10

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Aug 19:22
15fc568

Patch Changes

@cloudflare/pages-shared@0.13.167

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Aug 19:22
15fc568

Patch Changes

@cloudflare/deploy-helpers@0.6.8

Choose a tag to compare

@workers-devprod workers-devprod released this 11 Aug 19:22
15fc568

Patch Changes

  • #15081 026e058 Thanks @podonnell-dev! - Compact wrangler preview deployment success output

    wrangler preview now prints a concise success summary with the Preview name, Preview URL, deployment ID, and Deployment URL instead of the previous box-art settings summary.

  • #15132 5b1b930 Thanks @dario-piotrowicz! - Fetch script metadata directly instead of listing all scripts

    When resolving Durable Object migrations, fetch the specific script's service metadata via /workers/services/{name} instead of listing all scripts in the account via /workers/scripts. This avoids downloading metadata for every Worker in the account just to find one script's migration tag.

  • Updated dependencies [c7aede7, 0aa8fa5]: