Packages

wrangler

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

Your version

3.31.0

5 Mar 2024Where it was published

3.114.17 is the newest release of 3.x.

In short

1 new5 fixed1 internal

Security

1 advisory affects 3.31.0; 3.114.17 fixes them

Release note

Minor Changes

  • Python support for remote dev

  • Including version identifiers in Python requirements.txt will now throw an error

Patch Changes

  • Switch default logging level of unstable_dev() to warn

    When running unstable_dev() in its default "test mode", the logging level was set to none. This meant any Worker startup errors or helpful warnings wouldn't be shown. This change switches the default to warn. To restore the previous behaviour, include logLevel: "none" in your options object:

    const worker = await unstable_dev("path/to/script.js", {
        logLevel: "none",
    });
  • Add legacy_env support to experimental versions upload command.

  • Make wrangler types always generate a d.ts file for module workers

    Currently if a config file doesn't define any binding nor module, running
    wrangler types against such file would not produce a d.ts file.

    Producing a d.ts file can however still be beneficial as it would define a correct
    env interface (even if empty) that can be expanded/referenced by user code (this can
    be particularly convenient for scaffolding tools that may want to always generate an
    env interface).

    Example:
    Before wrangler types --env-interface MyEnv run with an empty wrangler.toml file
    would not generate any file, after these change it would instead generate a file with
    the following content:

    interface MyEnv {  
    }
    
  • Ensure Workers-AI local mode fetcher returns headers to client worker

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.