miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
3.20250718.3 is the newest release of 3.x.
In short
2 fixed
Release note
Patch Changes
Ensure
miniflareworks with Node 21.7.0+Ensure redirect responses handled correctly with
dispatchFetch()Previously, if your Worker returned a redirect response, calling
dispatchFetch(url)would send another request to the originalurlrather than the redirect. This change ensures redirects are followed correctly.If your Worker returns a relative redirect or an absolute redirect with the same origin as the original
url, the request will be sent to the Worker.If your Worker instead returns an absolute redirect with a different origin, the request will be sent to the Internet.
If a redirected request to a different origin returns an absolute redirect with the same origin as the original
url, the request will also be sent to the Worker.
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.