Packages

wrangler

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

Your version

3.35.0

19 Mar 2024Where it was published

3.114.17 is the newest release of 3.x.

In short

1 deprecated3 new1 fixed1 internal

  • Deprecated

    Deprecate wrangler version command

Security

1 advisory affects 3.35.0; 3.114.17 fixes them

Release note

Minor Changes

  • Implement config file validation for Pages projects

    Wrangler proper has a mechanism in place through which it validates a wrangler.toml file for Workers projects. As part of adding wrangler toml support for Pages, we need to put a similar mechanism in place, to validate a configuration file against Pages specific requirements.

  • Support the hidden command wrangler pages functions build-env

  • Add --dispatch-namespace to wrangler deploy to support uploading Workers directly to a Workers for Platforms dispatch namespace.

Patch Changes

  • Ensure tail exits when the WebSocket disconnects

    Previously when the tail WebSocket disconnected, e.g. because of an Internet failure,
    the wrangler tail command would just hang and neither exit nor any longer receive tail messages.

    Now the process exits with an exit code of 1, and outputs an error message.

    The error message is formatted appropriately, if the tail format is set to json.

    Fixes #3927

  • Deprecated

    Deprecate wrangler version command

    wrangler version is an undocumented alias for wrangler --version. It is being deprecated in favour of the more conventional flag syntax to avoid confusion with a new (upcoming) wrangler versions command.

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.