miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
3.20250718.3 is the newest release of 3.x.
In short
1 fixed
Release note
Patch Changes
Ensure that Origin header is rewritten as necessary
The
wrangler devcommand puts the Worker under test behind a proxy server.
This proxy server should be transparent to the client and the Worker, which
means that theRequestarriving at the Worker with the correcturlproperty,
andHostandOriginheaders.
Previously we fixed theHostheader but missed theOriginheader which is
only added to a request under certain circumstances, such as cross-origin requests.This change fixes the
Originheader as well, so that it is rewritten, when it exists,
to use theoriginof theurlproperty.Fixes #4761
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.