wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
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
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 3.114.17
Release note
Patch Changes
Display a warning when authentication errors occur and the
account_idin 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 yourwrangler.tomlorwrangler.jsoncfile.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.persistbeing flagged as an unexpected field during the wrangler config file validationImprove 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 intsconfig.json, Wrangler's module-collection plugin now correctly resolves these imports. Previously, path aliases were only respected for JavaScript/TypeScript files, causing imports likeimport 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 executeto SentryAvoid using object lookup for OAuth Error classes
Fixed conflict between
--envand--expiresflags inwrangler r2 object put.--enow aliases--envonly, and NOT--expires.Acquire Cloudflare Access tokens for additional requests made during a
wrangler dev --remotesessionFixed 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 devremote mode, behind the--x-tail-tagsflag. This will become the default in the future.Clarify that
wrangler check startupgenerates a local CPU profileExplicitly close FileHandle in
wrangler d1 executeto support Node 25Fixed 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 --remotesessions will no longer have an associated inspector connection. In advance of these backend changes, we've enabled a newwrangler tail-based logging strategy forwrangler dev --remote. For now, you can revert to the previous logging strategy withwrangler 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.