miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
4.20260730.0 is the newest release of 4.x.
In short
2 fixed1 internal
Release note
Patch Changes
Fix race condition that broke Browser Run on Windows when Chrome had not yet started accepting connections
When Miniflare launched Chrome for Browser Run bindings, it returned the WebSocket endpoint as soon as Chrome printed its
DevTools listening on ws://...banner. On Windows the underlying listening socket is occasionally not yet accepting connections at that point, causing the first request from workerd to Chrome to fail withConnectEx (#1225) The remote computer refused the network connection.and the user worker to receive an error response from/v1/acquire.Miniflare now probes Chrome's
/json/versionHTTP endpoint with retry/backoff after the banner is logged, only declaring the browser ready once the socket actually accepts connections. As an additional safety net, the browser binding worker also retries transientConnectEx/WSARecvfailures when establishing connections to Chrome.Fix local explorer startup in Yarn Plug'n'Play projects by copying the explorer UI assets to a real temporary directory before registering the workerd disk service.
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.