github cloudflare/workers-sdk wrangler@4.82.0

latest releases: wrangler@4.82.1, @cloudflare/vite-plugin@1.32.1, @cloudflare/vitest-pool-workers@0.14.5...
5 hours ago

Minor Changes

  • #13353 5338bb6 Thanks @mattzcarey! - Add artifacts:write to Wrangler's default OAuth scopes, enabling wrangler login to request access to Cloudflare Artifacts (registries and artifacts).

  • #13139 79fd529 Thanks @roerohan! - feat: add Flagship feature flag binding support

    Adds 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.json with a flagship array containing binding and app_id entries. In local dev, the binding returns default values for all flag evaluations; use "remote": true in the binding to evaluate flags against the live Flagship service.

  • #12983 28bc2be Thanks @1000hz! - Added the wrangler preview command family for creating Preview deployments (currently in private beta).

  • #13197 4fd138b Thanks @shahsimpson! - Add preview output-file entries for wrangler preview deployments

    wrangler preview now writes a preview entry to the Wrangler output file when WRANGLER_OUTPUT_FILE_PATH or WRANGLER_OUTPUT_FILE_DIRECTORY is 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 bafb96b Thanks @ruifigueira! - Add wrangler browser commands for managing Browser Rendering sessions

    New commands for Browser Rendering DevTools:

    • wrangler browser create [--lab] [--keepAlive <seconds>] [--open] - Create a new session
    • wrangler browser close <sessionId> - Close a session
    • wrangler browser list - List active sessions
    • wrangler browser view [sessionId] [--target <selector>] [--open] - View a live browser session

    The view command auto-selects when only one session exists, or prompts for selection when multiple are available.

    The --open flag controls whether to open DevTools in browser (default: true in interactive mode, false in CI/scripts). Use --no-open to just print the DevTools URL.

    All commands support --json for programmatic output. Also adds browser:write OAuth scope to wrangler login.

  • #13392 2589395 Thanks @emily-shen! - Add telemetry to local REST API

    The 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 1313275 Thanks @emily-shen! - explorer: expose the local explorer hotkey

    List the local explorer's hotkey [e] in wrangler dev output.

Patch Changes

  • #13393 c50cb5b Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20260409.1 1.20260410.1
  • #13424 525a46b Thanks @paulelliotco! - Keep proxy notices off stdout for JSON Wrangler commands

    Wrangler now writes the startup notice for HTTP_PROXY and HTTPS_PROXY to stderr instead of stdout. This keeps commands like wrangler auth token --json machine-readable when a proxy is configured.

  • Updated dependencies [79fd529, c50cb5b, 2589395, 5eff8c1]:

    • miniflare@4.20260410.0

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.