Wrangler 4.163.0, released November 16, writes Build Output v1 from vite build and from the experimental wrangler build --experimental-cf-build-output. The files go in .cloudflare/output/v1/, with account settings nested under settings in the root config.json. Each command records itself as the producer, so a reader can name the tool that wrote the output. Previews from Build Output read the account settings from that location. Declare Artifacts events on exports.workflow({ name, events }) in cloudflare.config.ts to start the owning Workflow locally in cf, Vite, and Workers Vitest. Wrangler configurations keep using triggers.events. Native config conversion derives those targets from the Workflow export, and cf migrate attaches existing event subscriptions to the matching Workflow exports. Local Artifacts namespaces publish the documented cf.artifacts.* messages for repository create, import, fork, and delete, and for token creation and revocation. A successful create, import, or fork also publishes the initial token-created event. Delivery follows the committed mutation, is unordered, and does not fail the repository operation if a destination rejects it. Push, clone, and fetch events are not published locally yet, and this release does not add local Artifacts-to-queue subscriptions. cf dev, cf build, and a deployment that builds the project can use an installed Vite or Vite+ command even when no framework command is detected, including a dependency hoisted to the root of a configured workspace. A workspace application with a custom-named Vite config should declare @cloudflare/vite-plugin in its own manifest, or add vite or vite-plus as a dependency or dev dependency, so a shared root tool is not chosen for a sibling that is not a Vite app. Existing framework commands still take priority. Lookup of a bare executable walks the detected node_modules paths and stops at the validated workspace root. A standalone application uses only its own node_modules/.bin. A config passed later with --config is evaluated by Vite when the command runs. Inspection can recognize a Cloudflare configuration before dependencies are installed, and a command says what to install when the tools are missing or the plugin is outside >=2.0.0-beta.v.13 <3. Automatic setup asks for CommonJS .cjs and .cts Vite configs to be converted to ESM .mjs or .mts before it adds the plugin. Native builds also work with the Windows shell. wrangler dev keeps one config watcher while the watched set is unchanged, so a save in the gap after a reload is applied, and a second save within 50 ms of the previous one is kept. When max_instances is omitted, container rollout steps are [10, 100]. They had been a single 100% step, because the omitted value was treated as 0 instances while the deploy still used 20. A max_instances of 0 or 1 still uses one 100% step. New projects, and projects with no compatibility date, default to 2026-11-16. The bundled workers-types and workerd dependencies move to 5.20261116.1 and 1.20261116.1. After a sibling process saves a valid access token, Wrangler reuses that token instead of exchanging it again, so an older refresh response cannot overwrite a newer refresh token. wrangler deploy, wrangler versions upload, and wrangler preview still refuse to run when a project has Cloudflare Build Output, and they now detect any .cloudflare/output/v<N>/ directory, including output left by an older or newer cf.
Source: Wrangler releases