miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
4.20260730.0 is the newest release of 4.x.
In short
2 new1 fixed1 internal
Release note
Minor Changes
Local explorer: add endpoints to list DO namespaces and objects
This is part of an experimental, WIP feature.
Patch Changes
Fix AI Search binding failing in local dev
Using AI Search bindings with
wrangler devwould fail with "RPC stub points at a non-serializable type". AI Search bindings now work correctly in local development.Add
MINIFLARE_CACHE_DIRenvironment variable and smart cache directory detectionMiniflare now intelligently detects where to store its cf.json cache file:
Use
MINIFLARE_CACHE_DIRenv var if setUse existing cache directory if found (
node_modules/.mfor.wrangler/cache)Create cache in
node_modules/.mfifnode_modulesexistsOtherwise use
.wrangler/cache
This improves compatibility with Yarn PnP, pnpm, and other package managers that don't use traditional
node_modulesdirectories, without requiring any configuration.
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.