miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
4.20260730.0 is the newest release of 4.x.
In short
2 new4 fixed1 internal
Release note
Minor Changes
Add extended sslmode support for Hyperdrive local dev. This adds support for sslmodes verify-full / verify-ca for Postgres and VERIFY_IDENTITY / VERIFY_CA for MySQL
Force Flagship bindings to always use remote mode in local dev
Flagship bindings now always access the remote Flagship service during local development, matching the behavior of AI bindings. Previously, Flagship supported both local and remote modes, but the local stub only returned default values, providing no real functionality and creating a dual source of truth for flag evaluations.
The
remoteconfig field is retained for backward compatibility but only controls whether a warning is displayed. Settingremote: truesuppresses the warning that Flagship bindings always access remote resources and may incur usage charges in local dev.
Patch Changes
Allow multiple workers with browser bindings in dev
You can now run multiple workers with multiple browser bindings in miniflare. Previously, this would crash with
kj/table.c++:49: failed: inserted row already exists in table.Fix service binding and tail consumer
propsbeing dropped between workers in different local dev instancesWhen a service binding or tail consumer configured with
propstargeted a worker running in a separatewrangler devinstance (via the dev registry), thepropswere silently dropped and the remote entrypoint saw an emptyctx.props. Props are now forwarded correctly across the dev registry boundary, matching the behavior users get when all workers run in a single instance.// wrangler.json { "services": [ { "binding": "AUTH", "service": "auth-worker", // may be in a separate `wrangler dev` process "entrypoint": "SessionEntry", "props": { "tenant": "acme" } } ] }The target worker's
SessionEntryentrypoint now correctly receives{ tenant: "acme" }onctx.propsregardless of which local dev instance it runs in.Fix
TypeError: rules is not iterablein the router-worker whenstatic_routingis configured withoutuser_workerrulesThe router-worker's static-routing include-rule evaluation passed
config.static_routing.user_workerdirectly to the matcher, which iterates withfor...of. Whenstatic_routingwas set butuser_workerwas omitted, the matcher threwTypeError: rules is not iterableand failed the request. The adjacentasset_workerbranch already falls back to `` in this case; theuser_workerbranch now does the same.Preserve internal counter suffix on workflow step names in local explorer API
Stop stripping the
-Nsuffix from step names in the API response so the UI can distinguish duplicate step names. The suffix is now stripped only visually in the UI.
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.