github cloudflare/workers-sdk miniflare@3.20240304.1

Patch Changes

  • #5201 1235d48 Thanks @wydengyre! - fix: ensure miniflare works with Node 21.7.0+

  • #5191 27fb22b Thanks @mrbbot! - fix: ensure redirect responses handled correctly with dispatchFetch()

    Previously, if your Worker returned a redirect response, calling dispatchFetch(url) would send another request to the original url rather 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.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.