miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
4.20260730.0 is the newest release of 4.x.
In short
1 fixed
Release note
Patch Changes
Improve variant URLs returned by the hosted images mock for local development
The miniflare hosted images mock previously returned bare variant names (e.g.
"public") in thevariantsfield ofImageMetadata. In production, this field contains full delivery URLs. The bare names were not usable as image sources, causing applications that render images from variant URLs to fail during local development.Variant URLs now point to a new local delivery endpoint at
/cdn-cgi/imagedelivery/<image_id>/<variant>which serves image bytes directly from the local KV store with content-type detection via Sharp.
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.