chore(deps): update dependency wrangler to v4.104.0#307
Closed
renovate[bot] wants to merge 1 commit into
Closed
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
papermc-website | b3c7093 | Commit Preview URL Branch Preview URL |
Jun 26 2026, 04:00 PM |
ef4e134 to
bb72148
Compare
bb72148 to
c337613
Compare
c337613 to
b3c7093
Compare
Member
|
Close in favor of #312 |
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
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.100.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]:v4.101.0Compare Source
Minor Changes
#14276
32f9307Thanks @dario-piotrowicz! - Graduate autoconfig from experimental to stableThe
--experimental-autoconfigand--x-autoconfigdeploy CLI flags have been replaced with--autoconfig.Note that the
--autoconfigflag defaults totrueand that it can be used to disable Wrangler's auto-configuration logic by setting it tofalsevia--autoconfig=falseor--no-autoconfig#14287
41f391fThanks @edmundhung! - Add per-Worker resource accessors tocreateTestHarness()createTestHarness()now provides methods for accessing configured KV namespaces, R2 buckets, D1 databases, and Durable Object namespaces. Useserver.getWorker(name)to access resources scoped to that specific Worker:#14264
21dbc12Thanks @dario-piotrowicz! - Suggest Cloudflare skills installation after commands instead of beforeThe automatic prompt to install Cloudflare skills for detected AI coding agents no longer runs before every Wrangler command. Instead, Wrangler now suggests installing skills, when appropriate, after some commands complete successfully. Commands that output JSON suppress the suggestion to keep their output clean. The
--install-skillsflag remains available on all commands to explicitly run the skills installation flow before the command executes, without prompting.As before, Wrangler asks the skills installation question at most once. The skills install metadata file is now written before the confirmation prompt is shown, so even if the user interrupts the process (e.g. CTRL+C, closing the terminal) during the prompt, the question is recorded as unanswered and will not reappear on subsequent runs.
#14042
7e63948Thanks @edevil! - Add a--temporaryflag that creates and uses a temporary Cloudflare preview account when you have no credentials, instead of starting the OAuth login flow.It's registered only on the commands the short-lived account token can serve — Workers (
deploy,versions upload, and related commands), KV, D1, Hyperdrive, Queues, and certificate commands — and is for unauthenticated use only: passing it while already authenticated (OAuth,CLOUDFLARE_API_TOKEN, or a global API key) errors rather than silently ignoring the flag. Before provisioning, Wrangler handles Cloudflare's Terms of Service and Privacy Policy (interactive terminals prompt foryes; non-interactive shells print a notice and continue). Wrangler then runs with the short-lived token and prints a claim URL so the account can be claimed before it expires. The cached account is cleared on successful login or logout.#14299
035917fThanks @petebacondarwin! - Send thelogin usertelemetry event whenwrangler login --scopes ...succeedswrangler loginwas already reporting thelogin userevent when called without--scopes, but the scoped login path returned early before the event could be sent. Both paths now report the event, so successful scoped logins are counted alongside unscoped ones.Patch Changes
#14271
27db82cThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14298
2a6a26bThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14317
9a424edThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14282
ecfdd5aThanks @edmundhung! - Fixwrangler devasset fallback with custom routeswrangler devnow applies Workers Assets fallback behavior consistently when routes are configured, including SPA fallback and404-pagehandling.#13763
604be26Thanks @matingathani! - Show a clear error when deploying a service-worker format Worker with Durable Object migrations or bindings instead of an opaque API error#14240
1fb7ba5Thanks @ttoino! - Fixwrangler email sendingcommandsThe
email sendingcommands previously failed against the Cloudflare API. They now work as expected:email sending enable <domain>enables Email Sending for a domainemail sending disable <domain>disables Email Sending for a domainemail sending settings <domain>shows the Email Sending configuration for a domainemail sending dns get <domain>shows the DNS records to set up for a domainemail sending listpreviously listed zones. It now lists the domains that have Email Sending enabled — every enabled domain across your account by default, or just those under a specific domain when you pass a domain (or--zone-id).#13838
208b3bbThanks @matingathani! - Fix unhandled promise rejection when the worker entry point is deleted or moved duringwrangler devhot-reload — now logs a warning and skips the update instead of crashing#14241
8b2ce41Thanks @dario-piotrowicz! - Improve error messages for CLI flags, type generation, auth scopes, dev server tunnels, and compatibility flagsError messages across several areas now name the exact flags or values involved and suggest how to fix the problem:
kv key put,kv key get,kv key delete): error messages now include--prefixes and clear "Missing required option" / "Conflicting options" phrasing instead of the vague "Exactly one of the arguments ... is required".wrangler types --include-env=false --include-runtime=false: the error now names both flags and explains what each does.wrangler login --scopes: invalid scopes are individually identified instead of dumping the entire array.wrangler dev --tunnel --remote: the error now explains why tunnels require local mode and suggests two concrete fixes.nodejs_compat_populate_process_env/nodejs_compat_do_not_populate_process_env,global_navigator/no_global_navigator): errors now name the specific conflicting flags.#14228
3578919Thanks @dario-piotrowicz! - Improve Hyperdrive error messages for missing required optionsError messages thrown when creating or updating a Hyperdrive config with missing individual parameters (e.g.
--origin-host,--origin-port,--database,--origin-user,--origin-password,--origin-scheme,--access-client-id/--access-client-secret) now clearly state which option is missing, provide a usage example, and suggest--connection-stringas an alternative where applicable.#14304
ee82c76Thanks @emily-shen! - Skip resource provisioning for asset-only deploymentsPreviously, asset-only deployments would provision resources even when there was no user Worker script. On a subsequent deploy, we would re-attempt provisioning as the previous asset-only upload would/could not be bound to the previously provisioned resource. Provisioning would then error as the resource had already been created, blocking the deploy.
Updated dependencies [
0e055d3,27db82c,2a6a26b,9a424ed,41f391f]:Configuration
📅 Schedule: (UTC)
🚦 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.