miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
4.20260730.0 is the newest release of 4.x.
In short
3 fixed
Release note
Patch Changes
Support WebSocket proxying to workerd
The dev registry proxy server now correctly handles WebSocket upgrade requests and
tunnels bidirectional frames between the workerd processes. Previously,
handshakes would fail due to missing upgrade logic.Enable HTTPS support when proxying to workerd
The Miniflare dev-registry proxy previously assumed workerd would always use HTTP,
so enablinghttpson miniflare might caused connection failures in some setups.This ensures proxying works whether the option is enabled or not.
Support
mf.getBindings()when dev registry is enabledFixes a deadlock when using bindings from
mf.getBindings()with the dev registry enabled. The deadlock happened because the runtime attempted to resolve a worker address via the loopback server, which was blocked by the Node.js thread waiting on the same runtime.Address lookup has been moved to a proxy running in a worker thread to avoid blocking the main thread.
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.