Packages

wrangler

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

Your version

3.104.0

22 Jan 2025Where it was published

3.114.17 is the newest release of 3.x.

npm marks 3.104.0 as deprecated: Downgrade to 3.103.2

In short

2 new4 fixed2 internal

Security

1 advisory affects 3.104.0; 3.114.17 fixes them

Release note

The section about wrangler of a note shared by several packages.

Minor Changes

  • Support service bindings from Pages projects to Workers in a single workerd instance. To try it out, pass multiple -c flags to Wrangler: i.e. wrangler pages dev -c wrangler.toml -c ../other-worker/wrangler.toml. The first -c flag must point to your Pages config file, and the rest should point to Workers that are bound to your Pages project.

  • 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.json
    {
      "name": "my-worker",
      "assets": {
        "directory": "./public/",
        "binding": "ASSETS"
      },
      "vars": {
        "MY_VAR": "my-var"
      }
    }
    import { getPlatformProxy } from "wrangler";
    
    const { env, dispose } = await getPlatformProxy();
    
    if (env.ASSETS) {
      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

  • Fix Durable Objects transfer migration validation

  • wrangler: Fix wrangler config schema defaults

  • Relax the messaging when Wrangler uses redirected configuration

    Previously the messaging was rendered as a warning, which implied that the user
    had done something wrong. Now it is just a regular info message.

  • Improve multi account error message in non-interactive mode

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.