Minor Changes
-
#13353
5338bb6Thanks @mattzcarey! - Addartifacts:writeto Wrangler's default OAuth scopes, enablingwrangler loginto request access to Cloudflare Artifacts (registries and artifacts). -
#13139
79fd529Thanks @roerohan! - feat: add Flagship feature flag binding supportAdds end-to-end support for the Flagship feature flag binding, which allows Workers to evaluate feature flags from Cloudflare's Flagship service. Configure it in
wrangler.jsonwith aflagshiparray containingbindingandapp_identries. In local dev, the binding returns default values for all flag evaluations; use"remote": truein the binding to evaluate flags against the live Flagship service. -
#12983
28bc2beThanks @1000hz! - Added thewrangler previewcommand family for creating Preview deployments (currently in private beta). -
#13197
4fd138bThanks @shahsimpson! - Addpreviewoutput-file entries forwrangler previewdeploymentswrangler previewnow writes apreviewentry to the Wrangler output file whenWRANGLER_OUTPUT_FILE_PATHorWRANGLER_OUTPUT_FILE_DIRECTORYis configured. The entry includes the Worker name, preview metadata (preview_id,preview_name,preview_slug,preview_urls) and deployment metadata (deployment_id,deployment_urls).This makes preview command runs machine-readable in the same output stream as other Wrangler commands, which helps CI integrations consume preview URLs and IDs directly.
-
#13159
bafb96bThanks @ruifigueira! - Addwrangler browsercommands for managing Browser Rendering sessionsNew commands for Browser Rendering DevTools:
wrangler browser create [--lab] [--keepAlive <seconds>] [--open]- Create a new sessionwrangler browser close <sessionId>- Close a sessionwrangler browser list- List active sessionswrangler browser view [sessionId] [--target <selector>] [--open]- View a live browser session
The
viewcommand auto-selects when only one session exists, or prompts for selection when multiple are available.The
--openflag controls whether to open DevTools in browser (default: true in interactive mode, false in CI/scripts). Use--no-opento just print the DevTools URL.All commands support
--jsonfor programmatic output. Also addsbrowser:writeOAuth scope towrangler login. -
#13392
2589395Thanks @emily-shen! - Add telemetry to local REST APIThe local REST API (used by the local explorer) now collects anonymous usage telemetry. This respects any existing telemetry preferences, which can be disabled by running the command
wrangler telemetry disable.This only applies when the dev session is started via Wrangler, and not via the Vite plugin or standalone Miniflare.
No actual data values, keys, query contents, or resource IDs are collected.
Event schema:
{ "event": "localapi.<route>.<method>", // e.g. localapi.kv.keys.get "deviceId": "<uuid>", "timestamp": 1234567890, "properties": { "userAgent": "Mozilla/5.0 ...", // Only for localapi.local.workers.get: "workerCount": 2, "kvCount": 3, "d1Count": 1, "r2Count": 0, "doCount": 1, "workflowsCount": 0 } }Note: the Local Explorer and corresponding local REST API is still an experimental feature.
-
#13137
1313275Thanks @emily-shen! - explorer: expose the local explorer hotkeyList the local explorer's hotkey
[e]in wrangler dev output.
Patch Changes
-
#13393
c50cb5bThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260409.1 1.20260410.1 -
#13424
525a46bThanks @paulelliotco! - Keep proxy notices off stdout for JSON Wrangler commandsWrangler now writes the startup notice for
HTTP_PROXYandHTTPS_PROXYto stderr instead of stdout. This keeps commands likewrangler auth token --jsonmachine-readable when a proxy is configured. -
Updated dependencies [
79fd529,c50cb5b,2589395,5eff8c1]:- miniflare@4.20260410.0