Packages

miniflare

4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed

Your version

4.20260217.0

17 Feb 2026Where it was published

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 dev would fail with "RPC stub points at a non-serializable type". AI Search bindings now work correctly in local development.

  • Add MINIFLARE_CACHE_DIR environment variable and smart cache directory detection

    Miniflare now intelligently detects where to store its cf.json cache file:

    1. Use MINIFLARE_CACHE_DIR env var if set

    2. Use existing cache directory if found (node_modules/.mf or .wrangler/cache)

    3. Create cache in node_modules/.mf if node_modules exists

    4. Otherwise use .wrangler/cache

    This improves compatibility with Yarn PnP, pnpm, and other package managers that don't use traditional node_modules directories, 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.