Patch Changes
-
#5133
42bcc72
Thanks @mrbbot! - fix: ensure internals can accessworkerd
when starting on non-localhost
Previously, if Miniflare was configured to start on a
host
that wasn't127.0.0.1
,::1
,*
,::
, or0.0.0.0
, calls toMiniflare
API methods relying on the magic proxy (e.g.getKVNamespace()
,getWorker()
, etc.) would fail. This change ensuresworkerd
is always accessible to Miniflare's internals. This also fixeswrangler dev
when using local network address such as192.168.0.10
with the--ip
flag. -
#5133
42bcc72
Thanks @mrbbot! - fix: ensure IPv6 addresses can be used ashost
sPreviously, if Miniflare was configured to start on an IPv6
host
, it could crash. This change ensures IPv6 addresses are handled correctly. This also fixeswrangler dev
when using IPv6 addresses such as::1
with the--ip
flag.