Packages

wrangler

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

Your version

2.20.0

8 May 2023Where it was published

2.21.3 is the newest release of 2.x.

npm marks 2.20.0 as deprecated: Wrangler v2 is no longer supported. Please upgrade to Wrangler v4

In short

4 new2 fixed

Security

3 advisories affect 2.20.0; 3.114.17 fixes them

Release note

Minor Changes

  • Add support for the undocumented _worker.js/ directory in Pages

  • Add support for placement in wrangler config

    Allows a placement object in the wrangler config with a mode of off or smart to configure Smart placement. Enabling Smart Placement can be done in your wrangler.toml like:

    [placement]
    mode = "smart"
  • Support sourcemaps in DevTools

    Intercept requests from DevTools in Wrangler to inject sourcemaps and enable folders in the Sources Panel of DevTools. When errors are thrown in your Worker, DevTools should now show your source file in the Sources panel, rather than Wrangler's bundled output.

Patch Changes

  • Do not render "value of stdout.lastframe() is undefined" if the output is an empty string

    Fixes #2907

  • Fix pages building not taking into account the nodejs_compat flag (and improve the related error message)

  • Added output for tail being in "sampling 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.