Packages

miniflare

4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed

Your version

4.20260317.1

20 Mar 2026Where it was published

4.20260730.0 is the newest release of 4.x.

In short

4 new1 fixed

Release note

Minor Changes

  • 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.

  • 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.

  • 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.

  • 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

  • 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.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.