Packages

wrangler

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

Your version

4.41.0

2 Oct 2025Where it was published

4.167.0 is the newest release of 4.x.

In short

3 new10 fixed1 internal

Security

1 advisory affects 4.41.0; 4.59.1 fixes them

Release note

Minor Changes

  • Add strict mode for the wrangler deploy command

    Add a new flag: --strict that makes the wrangler deploy command be more strict and not deploy workers when the deployment could be potentially problematic. This "strict mode" currently only affects non-interactive sessions where conflicts with the remote settings for the worker (for example when the worker has been re-deployed via the dashboard) will cause the deployment to fail instead of automatically overriding the remote settings.

  • Add prompt to resource creation flow allowing for newly created resources to be remote.

Patch Changes

  • Skip banner when using --json flag in wrangler pages deployment commands

  • Skip banner when using --json flag in wrangler queues subscription commands

  • Skip banner when using --json flag in wrangler pipelines commands

  • containers: Default max_instances to 20 instead of 1.

  • Adds new Container instance types, and rename dev to lite and standard to standard-1. The new instance_types are now:

    Instance TypevCPUMemoryDisk
    lite (previously dev)1/16256 MiB2 GB
    basic1/41 GiB4 GB
    standard-1 (previously standard)1/24 GiB8 GB
    standard-216 GiB12 GB
    standard-328 GiB16 GB
    standard-4412 GiB20 GB
  • Error if the container image uri has an account id that doesn't match the current account

  • Switch zone route warning to an info message

  • Improve formatting of logged errors in some cases

  • Retry subdomain requests to be more resilient to flakes

  • Enabling or disabling workers_dev is often an indication that
    the user is also trying to enable or disable preview_urls. Warn the
    user when these enter mixed state.

  • Respect the log level set by wrangler when logging using @cloudflare/cli

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.