Packages

wrangler

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

Your version

4.20.0

12 Jun 2025Where it was published

4.167.0 is the newest release of 4.x.

In short

4 new4 fixed2 internal

Security

1 advisory affects 4.20.0; 4.59.1 fixes them

Release note

Minor Changes

  • Add static routing options via 'run_worker_first' to Wrangler

    Implements the proposal noted here github.com/cloudflare/workers-sdk/discussions/9….

    This is now usable in wrangler dev and in production - just specify the routes that should hit the worker first with run_worker_first in your Wrangler config. You can also omit certain paths with ! negative rules.

Patch Changes

  • Slightly improve wrangler dev bindings loggings

    improve the bindings loggings by:

    • removing the unnecessary (and potentially incorrect) [connected] suffix for remote bindings

    • making sure that the modes presented in the bindings logs are correctly aligned

  • Add hello world binding that serves as as an explanatory example.

  • Add workerName option to startMixedModeSession API

  • Make workers created with startWorker await the ready promise on dispose

  • Add mixed-mode support for mtls bindings

  • Make sure that remote binding errors are surfaced when using mixed (hybrid) mode

  • Reorder deploy output when deploying a container worker so the worker url is printed last and the worker triggers aren't deployed until the container has been built and deployed successfully.

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.