Packages

wrangler

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

Your version

4.15.0

13 May 2025Where it was published

4.167.0 is the newest release of 4.x.

npm marks 4.15.0 as deprecated: Please downgrade to v4.14.4

In short

5 new4 fixed1 internal

Security

1 advisory affects 4.15.0; 4.59.1 fixes them

Release note

Minor Changes

  • This adds support for more accurate types for service bindings when running wrangler types. Previously, running wrangler types with a config including a service binding would generate an Env type like this:

    interface Env {
        SERVICE_BINDING: Fetcher;
    }

    This type was "correct", but didn't capture the possibility of using JSRPC to communicate with the service binding. Now, running wrangler types -c wrangler.json -c ../service/wrangler.json (the first config representing the current Worker, and any additional configs representing service bound Workers) will generate an Env type like this:

    interface Env {
        SERVICE_BINDING: Service<import("../service/src/index").Entrypoint>;
    }
  • Add --metafile flag to generate esbuild metadata file during build

  • Unhide wrangler workflows delete command

Patch Changes

  • Remove experimental MixedModeConnectionString type

    remove the experimental MixedModeConnectionString type which
    is now exposed by Miniflare instead

  • miniflare: Strip CF-Connecting-IP header from all outbound requests

  • Fix d1 info command showing read_replication: [object Object]

  • Validate r2 bucket names

  • Add remote option to initial bindings

    add the remote option (initial implementation
    gated behind --x-mixed-mode) for the following
    bindings: service, kv, r2, d1, queue and workflow

  • Implement mixed mode proxy server & client

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.