miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
4.20260730.0 is the newest release of 4.x.
In short
1 new1 fixed1 internal
Release note
Minor Changes
Support
cf.image(transform via Workers) image transformations in local devfetch(url, { cf: { image: { ... } } })now transforms images locally via Sharp, instead of returning the original bytes unchanged. This mirrors the production "transform via Workers" feature, so Workers already usingcf.imagebehave much more closely to production inwrangler dev.As with the Images binding,
cf.imagetransforms require Sharp to be installed — transforms are silently skipped if Sharp is unavailable.
Patch Changes
Improve errors for missing resource bindings
When methods like
getKVNamespace()orgetR2Bucket()are called with a binding name that is not configured for that resource type, Miniflare now reports the expected binding type in the error message.
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.