miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
4.20260730.0 is the newest release of 4.x.
In short
2 new2 fixed1 internal
Release note
Minor Changes
Add missing devtools endpoints to browser rendering local binding.
The local browser rendering binding now implements the full set of devtools endpoints, matching the remote Browser Rendering API:
GET /v1/limits— returns local concurrency defaultsGET /v1/history— returns empty array (no persistence in local dev)GET /v1/devtools/session- list and inspect active sessionsGET /v1/devtools/session/:id— list and inspect active sessionGET /v1/devtools/browser/:id/json/version— Browser version metadata, includes webSocketDebuggerUrlGET /v1/devtools/browser/:id/json/list— A list of all available websocket targetsGET /v1/devtools/browser/:id/json— Alias forGET /v1/devtools/browser/:id/jsonGET /v1/devtools/browser/:id/json/protocol— The current devtools protocol, as JSON. Includes webSocketDebuggerUrl and devtoolsFrontendUrlPUT /v1/devtools/browser/:id/json/new— Opens a new tab. Responds with the websocket target data for the new tabGET /v1/devtools/browser/:id/json/activate/:target— Brings a page into the foreground (activate a tab)GET /v1/devtools/browser/:id/json/close/:target— Closes the target page identified by targetIdGET /v1/devtools/browser/:id/page/:target— WebSocket connection to a page targetGET /v1/devtools/browser/:id— WebSocket connection to a previously acquired browser sessionDELETE /v1/devtools/browser/:id— Closes a browser sessionPOST /v1/devtools/browser— Acquires a new sessionGET /v1/devtools/browser— Acquire a new session and connect via WebSocket in one step, returningcf-browser-session-idheader
Add Workflows support to the local explorer UI.
The local explorer (
/cdn-cgi/explorer/) now includes a full Workflows dashboard for viewing and managing workflow instances during local development.UI features:
Workflow instance list with status badges, creation time, action buttons, and pagination
Status summary bar with instance counts per status
Status filter dropdown and search
Instance detail page with step history, params/output cards, error display, and expandable step details
Create instance dialog with optional ID and JSON params
Patch Changes
Fix noisy EBUSY errors on Windows when disposing Miniflare instances
On Windows,
workerdmay not release file handles immediately after disposal, causingEBUSYerrors when Miniflare tries to remove its temporary directory duringdispose(). Previously, this error propagated to the caller (e.g. vitest-pool-workers), producing repeated noisy error messages in test output. The cleanup is now best-effort — matching the existing exit hook behaviour — since the temporary directory lives inos.tmpdir()and will be cleaned up by the OS.Remove
LOCAL_EXPLORER_BASE_PATHandLOCAL_EXPLORER_API_PATHconstants in favor ofCorePaths.EXPLORERThese were redundant aliases introduced before
CorePathswas centralized. All internal consumers now useCorePaths.EXPLORERdirectly.
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.