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
Add
Miniflare#purgeCache()method to clear cache entries programmaticallyThis allows developers to clear cached data during local development without
restarting the Miniflare instance. Useful when working with Workers Sites
or any application that uses the Cache API.const mf = new Miniflare({ /* options */ }); // Purge the default cache await mf.purgeCache(); // Purge a specific named cache await mf.purgeCache("my-named-cache");Local explorer: add /query endpoint to introspect sqlite in DOs
This required adding a wrapper that extends user DO classes and adds in an extra method to access
ctx.storage.sql. This shouldn't have any impact on user code, but is gated by the env varX_LOCAL_EXPLORER.This is for an experimental WIP feature.
Patch Changes
The maximum allowed delivery and retry delays for Queues is now 24 hours
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.