Packages

wrangler

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

Your version

3.114.16

19 Dec 2025Where it was published

3.114.17 is the newest release of 3.x.

In short

3 new16 fixed1 internal

Security

1 advisory affects 3.114.16; 3.114.17 fixes them

Release note

Patch Changes

  • Display a warning when authentication errors occur and the account_id in your Wrangler configuration does not match any of your authenticated accounts. This helps identify configuration issues where you may have the wrong account ID set in your wrangler.toml or wrangler.jsonc file.

  • Allow WRANGLER_SEND_ERROR_REPORTS env var to override whether to report Wrangler crashes to Sentry

  • Reduce the amount of arguments being passed in metrics capture.

    Now the argument values that are captured come from an allow list,
    and can be marked as ALLOW (capture the real value) or REDACT (capture as "<REDACTED>").

  • Fix observability.logs.persist being flagged as an unexpected field during the wrangler config file validation

  • Improve the formatting of the D1 execute command to always show the duration in milliseconds with two decimal places.

  • Respect TypeScript path aliases when resolving non-JS modules with module rules

    When importing non-JavaScript files (like .graphql, .txt, etc.) using TypeScript path aliases defined in tsconfig.json, Wrangler's module-collection plugin now correctly resolves these imports. Previously, path aliases were only respected for JavaScript/TypeScript files, causing imports like import schema from '~lib/schema.graphql' to fail when using module rules.

  • Log a more helpful error when attempting to "r2 object put" a non-existent file

  • Prevent reporting SQLite error from wrangler d1 execute to Sentry

  • Avoid using object lookup for OAuth Error classes

  • Fixed conflict between --env and --expires flags in wrangler r2 object put.

    --e now aliases --env only, and NOT --expires.

  • Acquire Cloudflare Access tokens for additional requests made during a wrangler dev --remote session

  • Fixed self-bindings (service bindings to the same worker) showing as [not connected] in wrangler dev. Self-bindings now correctly show as [connected] since a worker is always available to itself.

  • Implement tail-based logging for wrangler dev remote mode, behind the --x-tail-tags flag. This will become the default in the future.

  • Clarify that wrangler check startup generates a local CPU profile

  • Explicitly close FileHandle in wrangler d1 execute to support Node 25

  • Fixed duplicate warning messages appearing during wrangler dev when configuration changes or state transitions occur

  • Fix "TypeError: Body is unusable: Body has already been read" when failing to exchange oauth code because of double response.text().

  • We're soon going to make backend changes that mean that wrangler dev --remote sessions will no longer have an associated inspector connection. In advance of these backend changes, we've enabled a new wrangler tail-based logging strategy for wrangler dev --remote. For now, you can revert to the previous logging strategy with wrangler dev --remote --no-x-tail-logs, but in future it will not be possible to revert.

    The impact of this will be that logs that were previously available via devtools will now be provided directly to the Wrangler console and it will no longer be possible to interact with the remote Worker via the devtools console.

  • Add more logging around Wrangler authentication to help diagnose issues

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.