Change8

miniflare@4.20260217.0

📦 cloudflare-workersView on GitHub →
3 features🐛 1 fixes🔧 2 symbols

Summary

This release introduces experimental local explorer endpoints for DO namespaces and objects, fixes a bug preventing AI Search bindings from working in local development, and improves Miniflare's cache directory detection for better package manager compatibility.

Migration Steps

  1. If you rely on Miniflare's cache location and need to explicitly set it, use the new MINIFLARE_CACHE_DIR environment variable.

✨ New Features

  • Local explorer now includes endpoints to list Durable Object (DO) namespaces and objects (experimental feature).
  • Miniflare now supports the MINIFLARE_CACHE_DIR environment variable for specifying the cache directory.
  • Miniflare now intelligently detects the cache directory location based on environment variables or standard locations, improving compatibility with modern package managers like Yarn PnP and pnpm.

🐛 Bug Fixes

  • Fixed an issue where AI Search bindings would fail during local development (`wrangler dev`) with an error indicating a non-serializable type in the RPC stub.

Affected Symbols