chore(deps): update devdependency miniflare to v4 #52
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.20250718.1
->^4.20250813.1
Release Notes
cloudflare/workers-sdk (miniflare)
v4.20250813.1
Compare Source
Minor Changes
#10349
d54d8b7
Thanks @edmundhung! - feat: addunsafeHandleDevRegistryUpdate
callback option to MiniflareAdds a new option to Miniflare that allows users to register a callback function that gets invoked whenever the dev registry is updated with changes to external services that the current Worker depends on.
This callback is useful for scenarios where you need to react to changes in bound services, such as updating bindings tables or reloading configurations when dependent Workers are added, removed, or modified in the dev registry.
Patch Changes
ae0c806
Thanks @ruifigueira! - Browser Rendering for local development now uses @puppeteer/browsers package instead of puppeteerv4.20250813.0
Compare Source
Patch Changes
#10229
5020694
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v4.20250803.1
Compare Source
Patch Changes
#10273
1479fd0
Thanks @edmundhung! - fix: support WebSocket proxying to workerdThe dev registry proxy server now correctly handles WebSocket upgrade requests and
tunnels bidirectional frames between the workerd processes. Previously,
handshakes would fail due to missing upgrade logic.
#10281
05c5b28
Thanks @edmundhung! - fix: enable HTTPS support when proxying to workerdThe Miniflare dev-registry proxy previously assumed workerd would always use HTTP,
so enabling
https
on miniflare might caused connection failures in some setups.This ensures proxying works whether the option is enabled or not.
#10142
e3d9703
Thanks @edmundhung! - fix: supportmf.getBindings()
when dev registry is enabledFixes a deadlock when using bindings from
mf.getBindings()
with the dev registry enabled. The deadlock happened because the runtime attempted to resolve a worker address via the loopback server, which was blocked by the Node.js thread waiting on the same runtime.Address lookup has been moved to a proxy running in a worker thread to avoid blocking the main thread.
v4.20250803.0
Compare Source
Minor Changes
#10004
b4d1373
Thanks @dario-piotrowicz! - addstructuredWorkerdLogs
optionadd a new top-level option named
structuredWorkerdLogs
that makes workerd print to stdout structured logs (stringified jsons of the following shape:{ timestamp: number, level: string, message: string }
) instead of printing logs to stdout and stderr#9556
8ba7736
Thanks @edmundhung! - Added aserviceName
option tounsafeDirectSockets
This allows registering the current worker in the dev registry under its own name, but routing to a different service.
Patch Changes
#10148
631f26d
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#10203
d6ecd05
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#10176
07c8611
Thanks @devin-ai-integration! - Add macOS version validation to prevent EPIPE errors on unsupported macOS versions (below 13.5). Miniflare and C3 fail hard while Wrangler shows warnings but continues execution.v4.20250730.0
Compare Source
Patch Changes
#10129
9b61f44
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v4.20250726.0
Compare Source
Patch Changes
#10075
82a5b2e
Thanks @vicb! - fix the type of ForwardableEmailMessage#10058
f8f7352
Thanks @edmundhung! - fix: service binding fetch over dev registry should work without host header#9968
2df1d06
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v4.20250712.2
Compare Source
Minor Changes
#9971
19794bf
Thanks @edmundhung! - feat: add stripDisablePrettyError option to control whether the header is stripped#10041
059a39e
Thanks @ruifigueira! - Add @cloudflare/plywright support for Browser Rendering local modev4.20250712.1
Compare Source
Patch Changes
#9866
7e5585d
Thanks @invisal! - Fix D1 SQL dump generation: escape identifiers and handle SQLite's dynamic typingEscape column and table names to prevent SQL syntax errors.
Escape values based on their runtime type to support SQLite's flexible typing.
v4.20250712.0
Compare Source
Minor Changes
5b0fc9e
Thanks @edmundhung! - Improved error logging to include error causes in stack traces with internal stack frames removed.Patch Changes
#9854
ac08e68
Thanks @dario-piotrowicz! - fix incorrect bindings remote deduplication logicwhen bindings are registered deduplication logic is applied to make sure that the same binding is not unnecessarily registered multiple times, the changes here fix the fact that such deduplication logic doesn't currently take into account whether bindings are used or not in remote mode (which is problematic when the same binding is used both in remote and local mode)
#9912
3bb69fa
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9930
274a826
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9950
77d1cb2
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9954
bf4c9ab
Thanks @penalosa! - Support Images binding ingetPlatformProxy()
#9847
14ce577
Thanks @penalosa! - Upgrade Undiciv4.20250709.0
Compare Source
Patch Changes
#9881
bb09e50
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9894
25dbe54
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9876
3bdec6b
Thanks @edmundhung! - chore: update youch versionv4.20250705.0
Compare Source
Minor Changes
ba69586
Thanks @simonabadoiu! - Browser Rendering local modePatch Changes
#9784
1a75f85
Thanks @Mkassabov! - fix inspector proxy not proxying workers created via setOptions#9757
395f36d
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9855
6f344bf
Thanks @petebacondarwin! - use logger (and log level) from miniflare for asset metadata parsing/loading logsv4.20250617.5
Compare Source
Minor Changes
#9535
56dc5c4
Thanks @penalosa! - In 2023 we announced breakpoint debugging support for Workers, which meant that you could easily debug your Worker code in Wrangler's built-in devtools (accessible via the[d]
hotkey) as well as multiple other devtools clients, including VSCode. For most developers, breakpoint debugging via VSCode is the most natural flow, but until now it's required manually configuring alaunch.json
file, runningwrangler dev
, and connecting via VSCode's built-in debugger.Now, using VSCode's built-in JavaScript Debug Terminals, there are just two steps: open a JS debug terminal and run
wrangler dev
(orvite dev
). VSCode will automatically connect to your running Worker (even if you're running multiple Workers at once!) and start a debugging session.v4.20250617.4
Compare Source
Patch Changes
b137a6f
Thanks @emily-shen! - fix: correctly pass container engine config to miniflarev4.20250617.3
Compare Source
Minor Changes
#9640
bfb791e
Thanks @emily-shen! - Add ability to dump workerd config into a file for debugging.You can enable this by setting
MINIFLARE_WORKERD_CONFIG_DEBUG
to a file path where you want the config to be written.Patch Changes
5162c51
Thanks @CarmenPopoviciu! - add ability to pull images for containers local devv4.20250617.2
Compare Source
Patch Changes
17d23d8
Thanks @emily-shen! - Add rebuild hotkey for containers local dev, and clean up containers at the end of a dev session.v4.20250617.1
Compare Source
Patch Changes
d1d34fe
Thanks @penalosa! - Remove the Mixed Mode naming in favour of "remote bindings"/"remote proxy"v4.20250617.0
Compare Source
Patch Changes
#9591
828b7df
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9576
2671e77
Thanks @vicb! - Add core local dev functionality for containers.Adds a new WRANGLER_DOCKER_HOST env var to customise what socket to connect to.
v4.20250612.0
Compare Source
Patch Changes
#9529
bd528d5
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9582
2177fb4
Thanks @vicb! - Update capnp generated code from the workerd.capnp#9506
36113c2
Thanks @penalosa! - Strip theCF-Connecting-IP
header from outgoing fetches#9493
e16fcc7
Thanks @vicb! - bump capnp-es to 0.0.11 in miniflarev4.20250604.1
Compare Source
Minor Changes
#9509
0b2ba45
Thanks @emily-shen! - feat: add static routing options via 'run_worker_first' to WranglerImplements the proposal noted here https://github.com/cloudflare/workers-sdk/discussions/9143.
This is now usable in
wrangler dev
and in production - just specify the routes that should hit the worker first withrun_worker_first
in your Wrangler config. You can also omit certain paths with!
negative rules.Patch Changes
#9475
931f467
Thanks @edmundhung! - add hello world binding that serves as as an explanatory example.#9443
95eb47d
Thanks @dario-piotrowicz! - add mixed-mode support for mtls bindingsv4.20250604.0
Compare Source
Patch Changes
#9508
4ab5a40
Thanks @edmundhung! - fix: ensure default registry path matches wrangler settings"#9385
485cd08
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9469
e3b3ef5
Thanks @edmundhung! - refactor: the dev registry will now create a file watcher only when the Worker has a binding to external services.v4.20250525.1
Compare Source
Minor Changes
#9173
fac2f9d
Thanks @edmundhung! - feat: exportgetDefaultDevRegistryPath()
utilityThis provides a default XDG app-path for the Dev Registry, which can be used to set the
unsafeDevRegistryPath
option in Miniflare and will be used by both Wrangler and @cloudflare/vite-plugin.#9313
92719a5
Thanks @edmundhung! - feat: add Dev Registry supportThis change introduces two new options to support cross-process service bindings, durable objects and tail consumers via a file-system based registry, with backward compatibility to Wrangler’s implementation:
unsafeDevRegistryPath
(string
): Filesystem path to the Dev Registry directory.unsafeDevRegistryDurableObjectProxy
(boolean
): When enabled, exposes internal Durable Objects to other local dev sessions and allows Workers to connect to external Durable Objects.Example usage:
Patch Changes
#9440
8c7ce77
Thanks @penalosa! - Preserve original error messages#9390
80e75f4
Thanks @penalosa! - Support additional Mixed Mode resources in Wrangler:#9390
80e75f4
Thanks @penalosa! - Additional option for the Miniflare plugin interface to allow defining workerd extensions without having to include deduplication logic.v4.20250525.0
Compare Source
Minor Changes
#9387
e39a45f
Thanks @jamesopstad! - AddlogReady
method to MiniflareLog
class. This makes it possible to override the messages printed on server start.#9376
fdae3f7
Thanks @jamesopstad! - Add support for Node.js style custom handlers for service bindings and outbound services. This makes it easier to integrate Miniflare with existing Node.js middleware and libraries asreq
andres
objects can be used directly.Patch Changes
#9366
d9d937a
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v4.20250523.0
Compare Source
Minor Changes
#9330
34c71ce
Thanks @edmundhung! - Add a newdefaultPersistRoot
option to control where plugins persist data when no path is provided.Patch Changes
#9184
f7c82a4
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9346
7ddd865
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9335

6479fc5
Thanks @penalosa! - Redesignwrangler dev
to more clearly present information and have a bit of a glow up ✨#9106
e5ae13a
Thanks @edmundhung! - fix: decouple KV plugin from secrets store pluginThe KV plugin previously configured both KV namespace and secrets store bindings with the same service name but different persistence paths, causing conflicts when both were defined. This change copies the KV binding implementation into the secrets store plugin and customizes its service name to prevent collisions.
v4.20250508.3
Compare Source
Patch Changes
#9277
db5ea8f
Thanks @penalosa! - Support Mixed Mode for more binding types#9245
b87b472
Thanks @penalosa! - Support Mixed Mode Dispatch Namespacesv4.20250508.2
Compare Source
Patch Changes
3b384e2
Thanks @penalosa! - Move the Analytics Engine simulator implementation from JSRPC to a Wrapped binding. This fixes a regression introduced in https://github.com/cloudflare/workers-sdk/pull/8935 that preventing Analytics Engine bindings working in local dev for Workers with a compatibility date prior to JSRPC being enabled.v4.20250508.1
Compare Source
Patch Changes
#9246
d033a7d
Thanks @edmundhung! - fix: stripCF-Connecting-IP
header withinfetch
In v4.15.0, Miniflare began stripping the
CF-Connecting-IP
header via a global outbound service, which led to a TCP connection regression due to a bug in Workerd. This PR patches thefetch
API to strip the header during localwrangler dev
sessions as a temporary workaround until the underlying issue is resolved.v4.20250508.0
Compare Source
Patch Changes
#7914
37af035
Thanks @andyjessop! - fix(miniflare): strip CF-Connecting-IP header from all outbound requests#9174
ceeb375
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9181
349cffc
Thanks @penalosa! - Add a mixed-mode-only browser rendering plugin#9186
362cb0b
Thanks @penalosa! - Support Mixed Mode Service Bindings in Miniflare#9198
2cc8197
Thanks @kylecarbs! - fix: ensure the fetch proxy message port is startedWhile Node.js will start the message port automatically when a
message
event listener is added,this diverges from the standard Web API for message ports, which require you to explicitly start
listening on the port.
#9168
6b42c28
Thanks @dario-piotrowicz! - addmixedModeConnectionString
to the various binding configsv4.20250507.0
Compare Source
Patch Changes
#9092
df5d1f6
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9160
4672bda
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9159
c6b3f10
Thanks @petebacondarwin! - bump esbuild version to fix regression in 0.25.0v4.20250428.1
Compare Source
Patch Changes
357d42a
Thanks @edmundhung! - fix: skip comment lines when parsingNODE_EXTRA_CA_CERTS
v4.20250428.0
Compare Source
Minor Changes
137d2da
Thanks @penalosa! - Support Tail Workers in local devPatch Changes
#9081
d2ecc76
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v4.20250424.1
Compare Source
Patch Changes
2c50115
Thanks @dario-piotrowicz! - chore: convert wrangler.toml files into wrangler.jsonc onesv4.20250424.0
Compare Source
Patch Changes
#9041
fc47c79
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#8860
0838f1b
Thanks @teresalves! - KV: update error messages for 400 errorsv4.20250422.0
Compare Source
Minor Changes
#8640
5ce70bd
Thanks @kentonv! - Add support for definingprops
on a Service binding.In your configuration file, you can define a service binding with props:
These can then be accessed by the callee:
Patch Changes
#9030
3f0adf3
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v4.20250417.0
Compare Source
Minor Changes
41f095b
Thanks @penalosa! - Internal refactor to move local analytics engine support from Wrangler to MiniflarePatch Changes
#8993
2a7749b
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v4.20250416.0
Compare Source
Patch Changes
#8927
62c40d7
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
v4.20250410.1
Compare Source
Minor Changes
511be3d
Thanks @GregBrimble! - Add log message whenSec-Fetch-Mode: navigate
is responsible for assets routing decision inwrangler dev
v4.20250410.0
Compare Source
Patch Changes
f5413c5
](https://redirect.github.com/cloudflare/workerConfiguration
📅 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 was generated by Mend Renovate. View the repository job log.