chore(deps): update dependency miniflare to v3.20240610.1 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.20240223.0
->3.20240610.1
Release Notes
cloudflare/workers-sdk (miniflare)
v3.20240610.1
Compare Source
Patch Changes
#6050
a0c3327
Thanks @threepointone! - chore: Normalize more depsThis is the last of the patches that normalize dependencies across the codebase. In this batch:
ws
,vitest
,zod
,rimraf
,@types/rimraf
,ava
,source-map
,glob
,cookie
,@types/cookie
,@microsoft/api-extractor
,@types/mime
,@types/yargs
,devtools-protocol
,@vitest/ui
,execa
,strip-ansi
This patch also sorts dependencies in every
package.json
#6029
f5ad1d3
Thanks @threepointone! - chore: Normalize some dependencies in workers-sdkThis is the first of a few expected patches that normalize dependency versions, This normalizes
undici
,concurrently
,@types/node
,react
,react-dom
,@types/react
,@types/react-dom
,eslint
,typescript
. There are no functional code changes (but there are a couple of typecheck fixes).#6058
31cd51f
Thanks @threepointone! - chore: Quieter buildsThis patch cleans up warnings we were seeing when doing a full build. Specifically:
@microsoft/api-extractor
so it didn't complain that it didn't match thetypescript
version (that we'd recently upgraded)wrangler
. We'll need to fix those, but we'll do that when we work on unstable_dev etc.v3.20240610.0
Compare Source
Patch Changes
#6024
c4146fc
Thanks @petebacondarwin! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v3.20240605.0
Compare Source
Patch Changes
#5961
ab95473
Thanks @CarmenPopoviciu! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v3.20240524.2
Compare Source
Patch Changes
#5922
bdbb7f8
Thanks @dario-piotrowicz! - fix: Allow the magic proxy to handle functions returning functionsPreviously functions returning functions would not be handled by the magic proxy,
the changes here enable the above, allowing for code such as the following:
This also works with the native workers RPC mechanism, allowing users to
return functions in their RPC code.
v3.20240524.1
Compare Source
Patch Changes
e0e7725
Thanks @dario-piotrowicz! - docs: add configuration section with local workerd linking to main readmev3.20240524.0
Compare Source
Minor Changes
#5917
64ccdd6
Thanks @kossnocorp! - fix: D1's JOIN behaviour when selecting columns with the same name.Properly handle the
resultsFormat
query thatworkerd
sends. This partially fixes the JOIN bug and makes the behaviour ofraw
consistent with theworkerd
behaviour.Patch Changes
#5931
4458a9e
Thanks @CarmenPopoviciu! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v3.20240512.0
Compare Source
Patch Changes
#5827
0725f6f
Thanks @petebacondarwin! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#5798
89b6d7f
Thanks @RamIdeas! - fix: update miniflare's response compression to act more like Cloudflare platformv3.20240419.1
Compare Source
Minor Changes
#5570
66bdad0
Thanks @sesteves! - feature: support delayed delivery in the miniflare's queue simulator.This change updates the miniflare's queue broker to support delayed delivery of messages, both when sending the message from a producer and when retrying the message from a consumer.
Patch Changes
#5670
9b4af8a
Thanks @dario-piotrowicz! - fix: Allow the magic proxy to proxy objects containing functionsThis was previously prevented but this change removes that restriction.
v3.20240419.0
Compare Source
Patch Changes
#5682
3a0d735
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#5482
1b7739e
Thanks @DaniFoldi! - docs: show new Discord url everywhere for consistency. The old URL still works, but https://discord.cloudflare.com is preferred.v3.20240405.2
Compare Source
Patch Changes
#5599
c9f081a
Thanks @penalosa! - fix: add support for wrapped bindings in magic proxycurrently
Miniflare#getBindings()
does not return proxies to providedwrappedBindings
, make sure that appropriate proxies are instead returnedExample:
#5599
c9f081a
Thanks @penalosa! - fix: add support for RPC in magic proxycurrently
Miniflare#getBindings()
does not return valid proxies to providedserviceBindings
using RPC, make sure that appropriate proxies are instead returnedExample:
v3.20240405.1
Compare Source
Minor Changes
#5409
08b4908
Thanks @mrbbot! - feature: respect incomingAccept-Encoding
header and ensureAccept-Encoding
/request.cf.clientAcceptEncoding
set correctlyPreviously, Miniflare would pass through the incoming
Accept-Encoding
header to your Worker code. This change ensures this header is always set toAccept-Encoding: br, gzip
for incoming requests to your Worker. The original value ofAccept-Encoding
will be stored inrequest.cf.clientAcceptEncoding
. This matches deployed behaviour.Fixes #5246
v3.20240405.0
Compare Source
Patch Changes
#5554
9575a51
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v3.20240404.0
Compare Source
Patch Changes
#5520
9f15ce1
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v3.20240403.0
Compare Source
Minor Changes
#5215
cd03d1d
Thanks @GregBrimble! - feature: customisable unsafe direct sockets entrypointsPreviously, Miniflare provided experimental
unsafeDirectHost
andunsafeDirectPort
options for starting an HTTP server that pointed directly to a specific Worker. This change replaces these options with a singleunsafeDirectSockets
option that accepts an array of socket objects of the form{ host?: string, port?: number, entrypoint?: string, proxy?: boolean }
.host
defaults to127.0.0.1
,port
defaults to0
,entrypoint
defaults todefault
, andproxy
defaults tofalse
. This allows you to start HTTP servers for specific entrypoints of specific Workers.proxy
controls theStyle
of the socket.Note these sockets set the
capnpConnectHost
workerd
option to"miniflare-unsafe-internal-capnp-connect"
.external
serviceBindings
will set theircapnpConnectHost
option to the same value allowing RPC over multipleMiniflare
instances. Refer to https://github.com/cloudflare/workerd/pull/1757 for more information.#5215
cd03d1d
Thanks @GregBrimble! - feature: support named entrypoints forserviceBindings
This change allows service bindings to bind to a named export of another Worker using designators of the form
{ name: string | typeof kCurrentWorker, entrypoint?: string }
. Previously, you could only bind to thedefault
entrypoint. With this change, you can bind to any exported entrypoint.Patch Changes
#5499
6c3be5b
Thanks @GregBrimble! - chore: Bump workerd@1.20240403.0#5215
cd03d1d
Thanks @GregBrimble! - fix: allowscript
s withoutscriptPath
s to import built-in modulesPreviously, if a string
script
option was specified withmodules: true
but without a correspondingscriptPath
, allimport
s were forbidden. This change relaxes that restriction to allow imports of built-innode:*
,cloudflare:*
andworkerd:*
modules without ascriptPath
.v3.20240329.1
Compare Source
Patch Changes
#5491
940ad89
Thanks @dario-piotrowicz! - fix: make sure the magic proxy can handle multiple parallel r2 stream readsCurrently trying to read multiple R2 streams in parallel (via
Promise.all
for example) leads to deadlock which prevents any of the target streams from being read. This is caused by the underlying implementation only allowing a single HTTP connection to the Workers runtime at a time. This change fixes the issue by allowing multiple parallel HTTP connections.v3.20240329.0
Compare Source
Minor Changes
d994066
Thanks @mrbbot! - chore: bumpworkerd
to1.20240329.0
v3.20240320.1
Compare Source
Minor Changes
fbdca7d
Thanks @OilyLime! - feature: URL decode components of the Hyperdrive config connection stringv3.20240320.0
Compare Source
Patch Changes
#5341
248a318
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v3.20240314.0
Compare Source
Minor Changes
1720f0a
Thanks @CarmenPopoviciu! - chore: bumpworkerd
to1.20240314.0
v3.20240304.2
Compare Source
Patch Changes
2e50d51
Thanks @CarmenPopoviciu! - fix: Add internal APIs to support the Workers Vitest integrationv3.20240304.1
Compare Source
Patch Changes
#5201
1235d48
Thanks @wydengyre! - fix: ensureminiflare
works with Node 21.7.0+#5191
27fb22b
Thanks @mrbbot! - fix: ensure redirect responses handled correctly withdispatchFetch()
Previously, if your Worker returned a redirect response, calling
dispatchFetch(url)
would send another request to the originalurl
rather than the redirect. This change ensures redirects are followed correctly.url
, the request will be sent to the Worker.url
, the request will also be sent to the Worker.v3.20240304.0
Compare Source
Minor Changes
#5148
11951f3
Thanks @dom96! - chore: bumpworkerd
to1.20240304.0
#5148
11951f3
Thanks @dom96! - fix: use python_workers compat flag for Pythonv3.20240223.1
Compare Source
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.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.