github cloudflare/workers-sdk miniflare@4.20260317.1

6 hours ago

Minor Changes

  • #12972 cb71403 Thanks @NuroDev! - Add worker filtering to the local explorer UI

    When multiple workers share a dev registry, all their bindings were previously shown together in a single flat list. The explorer now shows a worker selector dropdown, letting you inspect each worker's bindings independently.

    The selected worker is reflected in the URL as a ?worker= search param, so deep links work correctly. By default the explorer selects the worker that is hosting the dashboard itself.

  • #12888 3a1c149 Thanks @emily-shen! - Add R2 support to the local explorer.

    The local explorer now supports the following:

    • Viewing, modifying & deleting objects
    • Uploading files
    • Creating directories / prefixes

    Note: The local explorer is an experimental WIP feature that is now enabled by default. This can still be opt-ed out of by using X_LOCAL_EXPLORER=false to disable it.

  • #12848 ce48b77 Thanks @emily-shen! - Enable local explorer by default

    This ungates the local explorer, a UI that lets you inspect the state of D1, DO and KV resources locally by visiting /cdn-cgi/explorer during local development.

    Note: this feature is still experimental, and can be disabled by setting the env var X_LOCAL_EXPLORER=false.

  • #12881 8729f3d Thanks @pombosilva! - Workflow instances now support pause, resume, restart, and terminate in local dev.

    const instance = await env.MY_WORKFLOW.create({
      id: "my-instance",
    });
    
    await instance.pause(); // pauses after the current step completes
    await instance.resume(); // resumes from where it left off
    await instance.restart(); // restarts the workflow from the beginning
    await instance.terminate(); // terminates the workflow immediately

Patch Changes

  • #12960 3c988e2 Thanks @penalosa! - Exclude metadata.sqlite when listing Durable Object instances

    An upcoming version of workerd stores per-namespace alarm metadata in a metadata.sqlite file alongside per-actor .sqlite files. The local explorer's DO object listing was treating this file as a Durable Object instance, inflating counts and breaking pagination. This file is now filtered out.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.