github cloudflare/workers-sdk wrangler@4.20.1

Patch Changes

  • #9536 3b61c41 Thanks @dario-piotrowicz! - expose Unstable_Binding type

  • #9564 1d3293f Thanks @skepticfx! - Switch container registry to registry.cloudflare.com from registry.cloudchamber.cfdata.org.
    Also adds the env var CLOUDFLARE_CONTAINER_REGISTRY to override this

  • #9520 04f9164 Thanks @vicb! - fix the default value for keep_names (true)

  • #9506 36113c2 Thanks @penalosa! - Strip the CF-Connecting-IP header from outgoing fetches

  • #9592 49f5ac7 Thanks @petebacondarwin! - Point to the right location for docs on telemetry

  • #9593 cf33417 Thanks @vicb! - drop unused WRANGLER_UNENV_RESOLVE_PATHS env var

  • #9566 521eeb9 Thanks @vicb! - Bump @cloudflare/unenv-preset to 2.3.3

  • #9344 02e2c1e Thanks @dario-piotrowicz! - add warning about env not specified to potentially risky wrangler commands

    add a warning suggesting users to specify their target environment (via -e or --env)
    when their wrangler config file contains some environments and they are calling one
    of the following commands:

    • wrangler deploy
    • wrangler versions upload
    • wrangler versions deploy
    • wrangler versions secret bulk
    • wrangler versions secret put
    • wrangler versions secret delete
    • wrangler secret bulk
    • wrangler secret put
    • wrangler secret delete
    • wrangler triggers deploy

    this is a measure we're putting in place to try to prevent developers from accidentally applying
    changes to an incorrect (potentially even production) environment

  • #9344 02e2c1e Thanks @dario-piotrowicz! - allow passing an empty string to the -e|--env flag to target the top-level environment

  • #9536 3b61c41 Thanks @dario-piotrowicz! - performance improvement: restart a mixed mode session only if the worker's remote bindings have changed

  • #9550 c117904 Thanks @dario-piotrowicz! - allow startWorker to accept false as an inspector option (to disable the inspector server)

  • #9473 fae8c02 Thanks @dario-piotrowicz! - expose new experimental_maybeStartOrUpdateMixedModeSession utility

  • Updated dependencies [bd528d5, 2177fb4, 36113c2, e16fcc7]:

    • miniflare@4.20250612.0

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.