Packages

wrangler

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

Your version

4.22.0

26 Jun 2025Where it was published

4.167.0 is the newest release of 4.x.

In short

1 new3 fixed

Security

1 advisory affects 4.22.0; 4.59.1 fixes them

Release note

Minor Changes

  • Add support for assets bindings to getPlatformProxy

    this change makes sure that that getPlatformProxy, when the input configuration
    file contains an assets field, correctly returns the appropriate asset binding proxy

    example:

    // wrangler.jsonc
    {
        "name": "my-worker",
        "assets": {
            "directory": "./public/",
            "binding": "ASSETS",
        },
    }
    import { getPlatformProxy } from "wrangler";
    
    const { env, dispose } = await getPlatformProxy();
    
    const text = await (await env.ASSETS.fetch("http://0.0.0.0/file.txt")).text();
    console.log(text); // logs the content of file.txt
    
    await dispose();

Patch Changes

  • Containers should default to a "dev" instance type when no instance type is specified in the wrangler config

  • Simplify containers images list output format

  • Select only successfully deployed deployments when tailing.

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.