Packages

wrangler

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

Upgrading wrangler From 3.59.0 to 4.164.0

353 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.59.0Newest 3.x, Clears its advisory3.114.17
  1. 3.59.0yours
  2. 112 releases
  3. 4.0.0major
  4. 124 releases
  5. 4.72.0security
  6. 27 releases
  7. 4.93.1security
  8. 8 releases
  9. 4.102.0security
  10. 8 releases
  11. 4.110.0security
  12. 23 releases
  13. 4.131.0security
  14. 12 releases
  15. 4.139.0security
  16. 4 releases
  17. 4.143.1security
  18. 12 releases
  19. 4.153.0security
  20. 6 releases
  21. 4.158.0security
  22. 4.159.0security
  23. 5 releases
  24. 4.164.0target
  25. 1 pre

Start here

Before you upgrade

Tick each one off as you go
  • 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
  • Breaking4.70.0

Security

Fixes 1 advisory affecting 3.59.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
  • This addresses the GHSA-r4xh-jqrq-34v2 advisory against earlier versions of the parser.

    4.139.0

Release by release

  1. 4.164.0

    17 Nov 20261 new
    • New

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

  2. 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

  3. 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

  4. 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

  5. 4.160.1nothing new or fixed in the note

  6. 4.160.0

    10 Nov 20262 new · 3 fixes
    • New

      Support forwarded Wrangler development server options in the experimental cf-wrangler delegate

    • New

      Add custom Cloudflare API headers through CLOUDFLARE_API_HEADERS

    • Fixed

      Keep local Container images available for upload retries

    • Fixed

      Redact header values outside a safe diagnostic allowlist, regardless of log sanitization settings.

    • Fixed

      Fix JavaScript configuration parsing for Svelte projects using object spread

  7. 4.159.0

    Security fix9 Nov 20265 new · 7 fixes
    • Security

      Update bundled third-party dependencies with known security fixes

    • New

      Store experimental cf-wrangler dev state in .cloudflare/state

    • New

      Add --compatibility flag to wrangler d1 export

    • New

      Support CLOUDFLARE_AUTH_PROFILE for shared authentication profile selection

  8. 4.158.0

    Security fix5 Nov 20261 new · 2 fixes
    • Security

      Bump bundled brace-expansion to pick up security fixes

    • Security

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

    • Security

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

    • Security

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

13 other lines we could not sort, mostly version bumps
  • JSRPC over Service Bindings

    4.31.0
  • JSRPC over Dispatch Namespace Bindings

    4.31.0
  • Dispatch Namespaces

    4.19.0
  • Rename wrangler pipelines show to wrangler pipelines get

    4.8.0
  • Replace --enable-worker-binding and --enable-http with --source worker and --source http (or --source http worker for both)

    4.8.0
  • Clarify the minimums, maximums, and defaults (if unset) for wrangler pipelines create commands.

    4.8.0
  • Default wrangler d1 export to --local rather than failing

    3.101.0
  • Detect Pages & Workers CI

    3.98.0
  • Filter out default args (e.g. --x-versions, --x-dev-env, and --latest) by only including args that were in argv

    3.98.0
  • fixtures/remix-pages-app had a bunch of warnings about impending features that it should be upgraded to, so I did that. (tbh this one needs a full upgrade of packages, but we'll get to that later when we're upgrading across the codebase)

    3.61.0

543 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.