Packages

wrangler

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

Your version

4.49.0

18 Nov 2025Where it was published

4.167.0 is the newest release of 4.x.

In short

6 new10 fixed1 internal

Security

1 advisory affects 4.49.0; 4.59.1 fixes them

Release note

Minor Changes

  • Add support for streaming tail consumers in local dev. This is an experimental new feature that allows you to register a tailStream() handler (compared to the existing tail() handler), which will receive streamed tail events from your Worker (compared to the tail() handler, which only receives batched events after your Worker has finished processing).

  • When the WRANGLER_HIDE_BANNER environment variable is provided, Wrangler will no longer display a version banner. This applies to all commands.

    For instance, previously running wrangler docs would give the following output:

    > wrangler docs  
     ⛅️ wrangler 4.47.0  
    ───────────────────  
    Opening a link in your default browser: https://developers.cloudflare.com/workers/wrangler/commands/

    With WRANGLER_HIDE_BANNER, this is now:

    > WRANGLER_HIDE_BANNER=true wrangler docs  
    Opening a link in your default browser: https://developers.cloudflare.com/workers/wrangler/commands/
    
  • Implement the wrangler r2 bulk put bucket-name --filename list.json command.

    The command uploads multiple objects to an R2 bucket.

    The list of object is provided as a JSON encoded file via --filename. It is a list of key and file (respectively the name and the content for the object).

    [  
      { "key": "/path/to/obj", "file": "/path/to/file_1"},  
      { "key": "/path/to/other/obj", "file": "/path/to/file_2"},  
      // ...  
    ]

    Uploads are executed concurrently and the level of concurrency can be set via --concurrency.

    The command supports the same options as wrangler r2 object put, minus --file, and --pipe and plus --concurrency

  • Support SvelteKit projects in autoconfig

  • Add --dry-run flag to wrangler setup and also a dryRun option to runAutoConfig

Patch Changes

  • Avoid using object lookup for OAuth Error classes

  • Make sure that experimental_patchConfig doesn't throw if it encounters a null value

  • Bump p-queue to ^9.0.0

  • Fixes a bug that caused .dev.vars to be ignored in OpenNext

  • Internal refactoring to improve error traceability in wrangler dev

  • Add unstable_getDurableObjectClassNameToUseSQLiteMap export. This is an internal function for use in the Vite plugin.

  • Use the smol-toml library for parsing TOML instead of @iarna/toml

  • Refresh expired preview tokens when running in remote dev mode

  • wrangler deploy failing to patch local wrangler.jsonc files if the remote tail_consumers value is null

  • Ensure that wrangler deploy run with a positional argument or with --assets does not trigger the autoconfig process (even with --experimental-autoconfig)

  • Make sure that remote proxy sessions's debug logs are enabled when the wrangler log level is set to "debug"

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.