wrangler@4.91.0
📦 cloudflare-workersView on GitHub →
✨ 3 features🐛 5 fixes🔧 3 symbols
Summary
This release introduces named tunnel support for stable local development hostnames via `wrangler dev`. It also includes several bug fixes, such as normalizing instance type aliases and ensuring worker preview bindings match deployment behavior for non-string variables.
✨ New Features
- Added named tunnel support and tunnel shortcuts to `wrangler dev`, allowing users to start a dev session with a stable public hostname using `wrangler dev --tunnel --tunnel-name <name>`.
- Wrangler now summarizes repeated missing `vars` and `define` entries in environment configuration warnings.
- Experimental `unsafe` warnings are now only emitted once when the field appears at both the top level and in the active environment.
🐛 Bug Fixes
- Normalized legacy instance type aliases (`standard` → `standard-1`, `dev` → `lite`) to prevent phantom EDIT diffs on every deploy.
- Wrangler dev server hotkeys (e.g. `b` to open browser and `x` to exit) now work consistently when Caps Lock is enabled.
- 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`.
- Preserved native shape of non-string `vars` in worker previews; they are no longer coerced to strings via `stringify`, matching `wrangler deploy` behavior for JS native values.
- Propagated `unsafe.bindings` and service binding `cross_account_grant` to worker previews, ensuring internal binding shapes are correctly reflected.