Packages

wrangler

4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed

Your version

4.20.1

17 Jun 2025Where it was published

4.167.0 is the newest release of 4.x.

In short

5 new6 fixed2 internal

Security

1 advisory affects 4.20.1; 4.59.1 fixes them

Release note

Patch Changes

  • Expose Unstable_Binding type

  • Switch container registry to registry.cloudflare.com from registry.cloudchamber.cfdata.org.
    Also adds the env var CLOUDFLARE_CONTAINER_REGISTRY to override this

  • Fix the default value for keep_names (true)

  • Strip the CF-Connecting-IP header from outgoing fetches

  • Point to the right location for docs on telemetry

  • Drop unused WRANGLER_UNENV_RESOLVE_PATHS env var

  • 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

  • Allow passing an empty string to the -e|--env flag to target the top-level environment

  • Performance improvement: restart a mixed mode session only if the worker's remote bindings have changed

  • Allow startWorker to accept false as an inspector option (to disable the inspector server)

  • Expose new experimental_maybeStartOrUpdateMixedModeSession utility

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.