Packages

wrangler

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

Your version

3.28.3

16 Feb 2024Where it was published

3.114.17 is the newest release of 3.x.

In short

1 new4 fixed1 internal

Security

1 advisory affects 3.28.3; 3.114.17 fixes them

Release note

Patch Changes

  • Make sure getPlatformProxy produces a production-like caches object

    make sure that the caches object returned to getPlatformProxy behaves
    in the same manner as the one present in production (where calling unsupported
    methods throws a helpful error message)

    note: make sure that the unsupported methods are however not included in the
    CacheStorage type definition

  • Don't suggest reporting user errors to GitHub

    Wrangler has two different types of errors: internal errors caused by something going wrong, and user errors caused by an invalid configuration. Previously, we would encourage users to submit bug reports for user errors, even though there's nothing we can do to fix them. This change ensures we only suggest this for internal errors.

  • Allow hyperdrive users to set local connection string as environment variable

    Wrangler dev now supports the HYPERDRIVE_LOCAL_CONNECTION_STRING environmental variable for connecting to a local database instance when testing Hyperdrive in local development. This environmental variable takes precedence over the localConnectionString set in wrangler.toml.

  • Wait for actual port before opening browser with --port=0

    Previously, running wrangler dev --remote --port=0 and then immediately pressing b would open localhost:0 in your default browser. This change queues up opening the browser until Wrangler knows the port the dev server was started on.

  • Relax the getPlatformProxy's' cache request/response types

    prior to these changes the caches obtained from getPlatformProxy
    would use unknowns as their types, this proved too restrictive
    and incompatible with the equivalent @cloudflare/workers-types
    types, we decided to use anys instead to allow for more flexibility
    whilst also making the type compatible with workers-types

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.