Change8

wrangler@4.80.0

📦 cloudflare-workersView on GitHub →
3 features🐛 6 fixes🔧 11 symbols

Summary

This release introduces experimental headful local development, adds support for AI Search and VPC network bindings, and includes several bug fixes related to build error visibility, D1 migration ordering, and source phase imports.

Migration Steps

  1. If using Vite version 6.0.x, auto-configuration will now upgrade it to the latest 6.x version if necessary before installing `@cloudflare/vite-plugin`.

✨ New Features

  • Add type generation for AI Search bindings via `wrangler types`, generating `AiSearchNamespace` and `AiSearchInstance` types for `ai_search_namespaces` and `ai_search` config bindings.
  • Add experimental headful browser rendering support for local development using the Browser Rendering API by setting the environment variable `X_BROWSER_HEADFUL=true` when running `wrangler dev` or `vite dev`.
  • Add `vpc_networks` binding support in `wrangler.json` for routing Worker traffic through a Cloudflare Tunnel (`tunnel_id`) or network (`network_id`).

🐛 Bug Fixes

  • Build errors for auxiliary workers in multi-worker mode (`-c` flags) are now displayed at error level instead of being logged only at debug level, preventing Wrangler from silently hanging.
  • Fix remote proxy worker not catching errors thrown by bindings during `wrangler dev`.
  • Fix source phase imports (including WebAssembly imports) in bundled and non-bundled Workers by preserving `import source` syntax when running esbuild.
  • Sort D1 migration files alphabetically when listing or applying migrations to ensure consistent chronological ordering across operating systems.
  • Polish Cloudflare Vite plugin auto-configuration: lowered minimum supported Vite version check to 6.0.0, and automatically upgrades Vite projects in the [6.0.0, 6.1.0) range to the latest 6.x before installing `@cloudflare/vite-plugin`.
  • Use today's date as the default compatibility date when generating new projects or when none is configured, improving reliability across different package manager environments (like pnpm).

Affected Symbols