Minor Changes
-
#13822
c8be316Thanks @edmundhung! - Add named tunnel support and tunnel shortcuts towrangler devYou can now use
wrangler dev --tunnel --tunnel-name <name>to start a dev session with an existing named Cloudflare Tunnel, or set--tunnel-nameahead of time and start it later by pressingtto start or close the tunnel. This gives you a stable public hostname for local development instead of the temporarytrycloudflare.comURL used by Quick Tunnels.
Patch Changes
-
#13848
d4794a8Thanks @MattieTK! - Condense repeated environment configuration warningsWrangler now summarises repeated missing
varsanddefineentries in environment configuration warnings. Experimentalunsafewarnings are also only emitted once when the field appears at both the top level and in the active environment. -
#13894
58b4403Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260508.1 1.20260511.1 -
#13780
4352f87Thanks @matingathani! - Normalize legacy instance type aliases (standard→standard-1,dev→lite) to prevent phantom EDIT diffs on every deploy -
#13834
a9e6741Thanks @matingathani! - fix: hotkeys now work with Caps Lock enabledWrangler's dev server hotkeys (e.g.
bto open browser andxto exit) did not respond when Caps Lock was enabled. These hotkeys now work consistently whether or not Caps Lock is on. -
#13750
da664d5Thanks @matingathani! - fix: automatically delete log files older than 30 days and add WRANGLER_WRITE_LOGS=false to disable disk loggingWrangler previously accumulated log files in
~/.wrangler/logs/indefinitely, causing some users to accumulate gigabytes of logs over time.Log files older than 30 days are now automatically cleaned up on the first log write. Disk logging can be disabled entirely by setting
WRANGLER_WRITE_LOGS=false. -
#13914
bdc398cThanks @Maximo-Guk! - preserve native shape of non-stringvarsin worker previewswrangler previewpreviously coerced every non-string entry inpreviews.vars(arrays, objects, numbers, booleans) into aplain_textbinding viaJSON.stringify, so at runtime the worker saw a literal string instead of the value declared inwrangler.jsonc.wrangler deployalready serializes non-string vars asjsonbindings so the Workers runtime parses them back into native JS values; previews now match.Before:
// wrangler.jsonc — previews.vars { "ALLOWLIST": ["a@example.com", "b@example.com"] } // runtime typeof env.ALLOWLIST === "string" // true (was '["a@example.com","b@example.com"]')
After:
typeof env.ALLOWLIST === "object"; // Array.isArray(env.ALLOWLIST) === true
-
#13778
1420f10Thanks @maxwellpeterson! - Propagateunsafe.bindingsand service bindingcross_account_grantto worker previewsWorker previews now propagate
unsafe.bindingsdeclared on thepreviewsconfig block to the deployment metadata, mirroring the deploy-time behavior. Without this, internal binding shapes that wrangler doesn't yet model (notably service bindings carryingcross_account_grant) were silently dropped on previews while working fine on regular deploys. The same change wires throughcross_account_granton typedservicesbindings. -
Updated dependencies [
58b4403,f781a2b]:- miniflare@4.20260511.0