miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
4.20260730.0 is the newest release of 4.x.
In short
3 fixed1 internal
Release note
Patch Changes
Use
127.0.0.1instead oflocalhostfor the runtime inspector addressOn systems where
getaddrinfo("localhost")returns::1but IPv6 is disabled at the kernel level,workerdfails to bind the inspector socket and silently continues without emitting thelisten-inspectorevent to the control FD. This causedwrangler devto hang indefinitely at "Starting local server..." with no error output.Using
127.0.0.1explicitly is consistent withDEFAULT_HOST,--debug-port, andresolveLocalhost()already in the codebase.Remove trailing periods from URLs in terminal output
URLs printed to the terminal with a sentence-ending period (e.g.
https://example.com/path.) would include the period when clicked in some terminal emulators, causing 404 errors. This removes trailing periods from all URLs displayed in CLI output across wrangler, miniflare, vitest-pool-workers, and workers-utils.Pin non-bundled runtime dependencies to exact versions
Dependencies that are not bundled into a package's published output are installed directly into consumers' dependency trees, so they are now pinned to exact versions instead of semver ranges. This closes a supply-chain gap where an unpinned external dependency could resolve to a compromised upstream release on a fresh install. A new
pnpm check:pinned-depslint enforces this for all published packages (and for the shared pnpm catalog) going forward.
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.