chore(deps): update dependency wrangler to v4.104.0#780
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
6faf6dd to
84d5f1f
Compare
f7c33fd to
901baf6
Compare
bd38380 to
826306f
Compare
826306f to
a72f074
Compare
4c6bb7d to
b9f4a96
Compare
b9f4a96 to
544213d
Compare
544213d to
3a3e73c
Compare
d47808a to
f01a140
Compare
f01a140 to
fdf72c0
Compare
fdf72c0 to
1894f5d
Compare
1894f5d to
8e59cca
Compare
8e59cca to
dbb475e
Compare
dbb475e to
b13d42d
Compare
b13d42d to
1431db6
Compare
1431db6 to
e6b9e0e
Compare
e6b9e0e to
01ef7a0
Compare
01ef7a0 to
2d35e0c
Compare
2d35e0c to
91b6135
Compare
91b6135 to
f8f7843
Compare
f8f7843 to
0d29579
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
4.101.0→4.104.0Release Notes
cloudflare/workers-sdk (wrangler)
v4.104.0Compare Source
Minor Changes
#14369
e312decThanks @edmundhung! - AddgetEnv()tocreateTestHarness()Worker handlesTests can now access the full
envobject for a Worker withawait server.getWorker<Env>().getEnv(), including vars, secrets, and bindings.Patch Changes
#14364
a085decThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14383
9a0de8fThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14397
fab565fThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14388
3f02864Thanks @petebacondarwin! - Stop erroring whenfind_additional_modulesdiscovers a file that only matches a inactive module ruleModule rules assign module types to imported files — they are not include/exclude filters. Also, setting
fallthrough: falsein a rule will cause subsequent rules to become inactive. Previously, whenfind_additional_moduleswalked the filesystem and discovered a file whose only matching rule is inactive, Wrangler would throw an error and fail the build.This meant that adding a user rule like the one below would break the build for any
.txt,.html,.sql,.binor.wasmfile that didn't match the user-supplied globs but lived somewhere under the module root:Discovered files that only match an inactive rule are now silently skipped (a
debug-level log records each skip for troubleshooting), so users can usefallthrough: falseto narrow the set of files attached to their Worker without having to delete or move untouched files on disk.The direct-import path is unchanged: importing a file in code that only matches an inactive rule is still a hard error, because the imported file genuinely needs a defined module type.
Fixes #14257.
#14358
4ef872fThanks @gabivlj! - Fix container egress interception on arm64 Docker runtimesBoth
wrangler devand the Cloudflare Vite plugin no longer force theproxy-everythingsidecar image to pull aslinux/amd64, allowing Docker to select the native image from the multi-platform manifest. SetMINIFLARE_CONTAINER_EGRESS_IMAGE_PLATFORMto force a specific platform when needed.#14362
2a02858Thanks @sherryliu-lsy! - Don't require the private credential when reusing an existing Secrets Store secret incontainers registries configurewrangler containers registries configurenow checks whether the target Secrets Store secret already exists before resolving the private credential. When the secret already exists it is reused by reference, so the private credential no longer needs to be supplied (via stdin in non-interactive mode, or via a prompt interactively). This applies to all external registries.The new-secret path is unchanged: the credential is still required and stored. The only visible interactive change is that the secret prompt now appears last and only when a new secret is being created.
Updated dependencies [
a085dec,9a0de8f,fab565f]:v4.103.0Compare Source
Minor Changes
#14295
cfd6205Thanks @dario-piotrowicz! - Moveunstable_getWorkerNameFromProjectfrom wrangler to@cloudflare/workers-utilsThe
unstable_getWorkerNameFromProjectexport has been removed from thewranglerpackage. This function is now available asgetWorkerNameFromProject(without theunstable_prefix) from@cloudflare/workers-utils. If you were importing this function fromwrangler, update your import to use@cloudflare/workers-utilsinstead.#14295
cfd6205Thanks @dario-piotrowicz! - Remove experimental autoconfig exportsThe experimental autoconfig exports (
experimental_getDetailsForAutoConfig,experimental_runAutoConfig,experimental_AutoConfigFramework) have been removed. This logic has been moved to the@cloudflare/autoconfigpackage (without theexperimental_prefixes since the package itself is pre-v1).Patch Changes
#14366
c6579d3Thanks @jamesopstad! - Resolve relativecf-workerentrypoint imports relative to the importing moduleWhen loading the experimental
cloudflare.config.ts, a relative entrypoint imported withimport ... with { type: "cf-worker" }(e.g../src/index.ts) is now anchored to the module where the import is written, rather than being passed through verbatim and later resolved against the top-level config file. This fixes incorrect resolution when the import lives in a file other than the entry config — for example a config that re-exports from a nested file.Bare specifiers (such as
@scope/pkg) and virtual modules (such asvirtual:foo) are still left unresolved so that consumers can apply their own resolution.#14316
444b75eThanks @matingathani! - Preventwrangler devcrash when source-mapping a truncated error chunkWhen a worker logs many errors in quick succession, the stderr chunks received by
wrangler devcan be truncated mid-stack-frame, leaving a call site with an invalid column number. The source map library throws in that case, which was crashing the wrangler process entirely. The error is now caught and the original (un-source-mapped) text is returned instead.#14118
b38823fThanks @aicayzer! - FixUint8Arraystep outputs in local Workflows being persisted with the full backingArrayBufferA
Uint8Arrayreturned from a Workflows step underwrangler devwas serialised together with its full underlyingArrayBuffer, causing a rawSQLITE_TOOBIGerror at view sizes well below the documented 1MiB step-output limit. For example, a 200KB view sliced from an 800KB buffer (a common pattern fromcrypto.getRandomValuesorarr.slice(...)on a larger pool) would fail. The view's bytes are now copied to a tight buffer before persistence, bringing local behaviour in line with production. Fixes #14101.Updated dependencies [
b38823f]:v4.102.0Compare Source
Minor Changes
#14340
f6e49ddThanks @emily-shen! - Addcf-wrangler builddelegate supportThe experimental
cf-wranglerdelegate binary now acceptsbuildand emits the Build Output API directory through Wrangler's new-config build path. This lets parent tools invoke Wrangler's build-output implementation withcf-wrangler buildinstead of shelling out through the public Wrangler CLI.#14324
36777dbThanks @jamesopstad! - Add experimental--experimental-cf-build-outputflag towrangler buildWhen used alongside
--experimental-new-config,wrangler buildnow emits a self-contained Build Output API directory under.cloudflare/output/v0/instead of delegating towrangler deploy --dry-run.Patch Changes
#14347
673b09eThanks @jamesopstad! - Update undici from 7.24.8 to 7.28.0#14346
e930bd4Thanks @haidargit! - Bumpwsfrom 8.20.1 to 8.21.0 to address GHSA-96hv-2xvq-fx4pGHSA-96hv-2xvq-fx4p / CVE-2026-48779 (high severity) reports a remote memory-exhaustion DoS in
ws@<8.21.0: a peer sending a high volume of tiny fragments and data chunks over modest network traffic can crash awsserver or client via OOM. The fix shipped in ws@8.21.0 (commit2b2abd45, released 2026-05-22), which also introduces themaxBufferedChunksandmaxFragmentsoptions. This change bumps the workspace catalog entry so thatminiflare,wrangler, and@cloudflare/vite-pluginall pick up the patched release.#14314
5c3bb11Thanks @harryzcy! - Bump esbuild to 0.28.1This update includes several bug fixes from esbuild versions 0.27.3 through 0.28.1. See the esbuild changelog for details.
#14331
296ad65Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14275
594544dThanks @alsuren! - Resolve auto-provisioned D1 bindings via the API in remote subcommandsRemote D1 subcommands (
d1 execute --remote,d1 export --remote,d1 info,d1 insights,d1 delete,d1 migrations apply --remote,d1 migrations list --remote,d1 time-travel) previously failed with:when the
[[d1_databases]]config entry only hadbindinganddatabase_name(the shapewrangler deploywrites for automatically-provisioned bindings). They now resolve the real database UUID viaGET /accounts/:accountId/d1/database/:name?fields=uuidand proceed as ifdatabase_idhad been set in config.If the config entry only has a
binding(nodatabase_name, nodatabase_id), the lookup uses the same namewrangler deploywould create via auto provisioning (<worker name>-<binding-lowercased-with-dashes>).Non-404 API failures (auth, rate-limit, server errors) now propagate verbatim instead of being masked as "database not found".
#14315
a79b899Thanks @matingathani! - Respectfind_additional_modules = falsewhenno_bundleis setWhen using
no_bundle = true, wrangler was always scanning for and attaching additional modules even iffind_additional_moduleswas explicitly set tofalsein the config. Additional modules are now only collected whenfind_additional_modulesis notfalse, consistent with the bundled code path.#14269
5dfb788Thanks @mattjohnsonpint! - Supportdev.pluginon typed services bindingsWrangler only honored
dev.pluginonunsafe.bindingsentries, so users authoring a service binding viaservices[]could not wire it to a local Miniflare plugin duringwrangler dev— they had to fall back tounsafe.bindingsand accept a "directly supported by wrangler" warning. Typed services bindings now accept the samedev: { plugin, options? }shape, route the binding through Miniflare's external-plugin pathway inwrangler dev, and strip the field at deploy time. Validation rejects malformeddevshapes.#14328
ca61558Thanks @edevil! - Mention temporary preview accounts inwrangler whoamioutput when unauthenticatedWhen you run
wrangler whoamiwithout being logged in, Wrangler now also tells you that you can deploy without logging in by running a command likewrangler deploy --temporaryto use a temporary preview account.Updated dependencies [
673b09e,e930bd4,5c3bb11,296ad65]:Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.