Packages

wrangler

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

Upgrading wrangler From 4.71.0 to 4.167.0

119 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.71.0Latest4.164.0
  1. 4.71.0yours
  2. 4.72.0security
  3. 27 releases
  4. 4.93.1security
  5. 8 releases
  6. 4.102.0security
  7. 8 releases
  8. 4.110.0security
  9. 23 releases
  10. 4.131.0security
  11. 12 releases
  12. 4.139.0security
  13. 4 releases
  14. 4.143.1security
  15. 12 releases
  16. 4.153.0security
  17. 6 releases
  18. 4.158.0security
  19. 4.159.0security
  20. 7 releases
  21. 4.166.0security
  22. 4.167.0target

Before you upgrade

Tick each one off as you go
  • Breaking4.167.0
  • Breaking4.132.0
  • Breaking4.131.0
  • Breaking4.125.0
  • Breaking4.117.0
  • Breaking4.111.0
  • Breaking4.111.0
  • Breaking4.107.0
  • Breaking4.103.0
  • Breaking4.96.0

Security

  • Update Undici to 7.30.2 to include upstream security fixes

    4.166.0
  • Update bundled third-party dependencies with known security fixes

    4.159.0
  • Bump bundled brace-expansion to pick up security fixes

    4.158.0
  • Bump bundled fast-xml-parser from 4.4.1 to 4.5.5 to pick up security fixes

    4.158.0
  • Bump bundled minimatch from 5.1.6 to 5.1.9 to pick up security fixes

    4.158.0
  • Bump bundled shell-quote from 1.10.0 to 1.11.0 to pick up a security fix

    4.158.0
  • Bump bundled yaml from 2.8.1 to 2.9.0 to pick up a security fix

    4.158.0
  • This fixes GHSA-xjj6-f33q-929c and keeps the matching Undici types on the same version.

    4.153.0
  • Update Zod to 4.6.6 to address GHSA-mrhx-c7xc-m3w5

    4.153.0
  • Undici 7.29.1 fixes GHSA-3wwx-pv8p-q78v.

    4.143.1

Release by release

  1. 4.167.0

    Migration needed23 Nov 20261 new · 4 fixes
    • Breaking

      Remove the wrangler dispatch-namespace rename command

    • New

      Support --env-file in the experimental cf-wrangler dev delegate

    • Fixed

      Exit with a nonzero status when the Basin SQL service rejects a query

    • Fixed

      Show that --local is the default in D1 command help

    • Fixed

      Recover from missing Worker scripts after an interrupted first deploy

    • Fixed

      Fix intermittent subdomain lookup failures on a Worker's first deploy

  2. 4.166.0

    Security fix20 Nov 20263 new · 6 fixes
    • Security

      Update Undici to 7.30.2 to include upstream security fixes

    • New

      Show configured trigger targets during experimental wrangler triggers deploy --dry-run

    • New

      Add images.url_transformations to the Wrangler configuration

    • New

      Add --show-diff flag to wrangler triggers deploy

  3. 4.165.0

    18 Nov 20261 new · 5 fixes
    • New

      Add a new --force flag to d1 migrations apply which skips the interactive confirmation and applies any pending migrations non-interactively. This is useful for CI and automation.

    • Fixed

      Correct the dry-run setup message to say "exiting now" instead of "existing now".

    • Fixed

      Report .dev.vars and .env files that are not UTF-8 instead of silently loading no variables

    • Fixed

      Replace the unmaintained asset hashing dependency with hash-wasm

    • Fixed

      Fail remote RPC binding requests on network errors instead of hanging

    • Fixed

      Fix TypeScript errors when importing Wrangler's APIs

  4. 4.164.0

    17 Nov 20261 new
    • New

      Add custom CA and client certificate references to Workers VPC service TLS settings

  5. 4.163.0

    16 Nov 20262 new · 5 fixes
    • New

      Write Build Output to .cloudflare/output/v1/ and record the producer

    • New

      Start local Workflows from Artifacts events

    • Fixed

      Run experimental cf projects with their installed Vite or Vite+ commands

    • Fixed

      Stop wrangler dev from missing config file changes made soon after a reload

    • Fixed

      Use the effective max_instances value when choosing the default container rollout steps

    • Fixed

      Avoid redundant OAuth refreshes after a sibling process updates credentials

    • Fixed

      Detect Cloudflare Build Output of any version before deploying

  6. 4.162.0

    13 Nov 20263 new · 2 fixes
    • New

      Use the local simulator for Artifacts bindings that omit remote

    • New

      Reject settings on a workflows binding to a Workflow declared in exports

    • New

      Upload Workflow export settings with the Worker

    • Fixed

      Fix packages with nested package.json files missing from deploy metadata

    • Fixed

      Fix requests hanging when a local Worker reload finishes before an inflight request fails

  7. 4.161.0

    12 Nov 20261 new · 3 fixes
    • New

      Write source maps in Build Output with sources relative to each source map file

    • Fixed

      Name cf commands and cloudflare.config.ts settings in remote bindings errors from cf-wrangler

    • Fixed

      Normalize relative redirect pathnames consistently across Pages and Workers assets

    • Fixed

      Keep the remote bindings session when you remove the last remote binding

  8. 4.160.1nothing new or fixed in the note

231 internal lines (docs, tests, tooling) left out.

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.