Repository navigation
Update cloudflare worker toolchain - #469
Merged
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
renovate
Bot
force-pushed
the
renovate/cloudflare-worker-toolchain
branch
from
October 20, 2026 16:13
0e8892b to
7c7fa31
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EdUbVVSnMbzGbAUT94sk5k
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
wormeyman
added a commit
that referenced
this pull request
Oct 20, 2026
vite-plus pins the whole @vitest/* family at its own version, and 1.3.0 carries vitest 5.0.5. So the worker's `vitest` has to move in the same change, or the tree splits into two vitest families. That split is what (vite-plus 1) and #410 (vitest 5). Done with targeted `pnpm add` (root and worker), then a bare `pnpm install`, not `pnpm up`: - The lockfile holds one vitest family, 5.0.5, and still one wrangler, 4.151.1. - `pnpm peers check` shows only the `unmet peer vite` that main already shows. vite-plus-core is aliased as `vite` and reports its own version, now 1.3.0 instead of 0.3.3. Nothing new is unmet. - The worker tests pass under vitest 5. The cloudflare pool's `SyntaxError: Unexpected identifier 'file'` that held #410 is gone with @cloudflare/vitest-plugin 1.4.4 (#469), whose peer range now includes `^5.0.0`. `pnpm vp check --fix` applied the oxfmt 0.68 -> 0.73 formatting, which was the only CI failure on #475. It changed two places: a `font-family` list in factorio.css now fits on one line, and a CLAUDE.md list item's continuation line is now indented. The CLAUDE.md coupling note also gains the 1.3.0 -> 5.0.5 pair. Both releases are older than the 3-day Renovate floor (vite-plus 1.3.0 on 2026-10-16, vitest 5.0.5 on 2026-10-15). pnpm-workspace.yaml and renovate.json5 are untouched, and no `minimumReleaseAgeExclude:` was written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EdUbVVSnMbzGbAUT94sk5k
wormeyman
added a commit
that referenced
this pull request
Oct 20, 2026
…478) vite-plus pins the whole @vitest/* family at its own version, and 1.3.0 carries vitest 5.0.5. So the worker's `vitest` has to move in the same change, or the tree splits into two vitest families. That split is what (vite-plus 1) and #410 (vitest 5). Done with targeted `pnpm add` (root and worker), then a bare `pnpm install`, not `pnpm up`: - The lockfile holds one vitest family, 5.0.5, and still one wrangler, 4.151.1. - `pnpm peers check` shows only the `unmet peer vite` that main already shows. vite-plus-core is aliased as `vite` and reports its own version, now 1.3.0 instead of 0.3.3. Nothing new is unmet. - The worker tests pass under vitest 5. The cloudflare pool's `SyntaxError: Unexpected identifier 'file'` that held #410 is gone with @cloudflare/vitest-plugin 1.4.4 (#469), whose peer range now includes `^5.0.0`. `pnpm vp check --fix` applied the oxfmt 0.68 -> 0.73 formatting, which was the only CI failure on #475. It changed two places: a `font-family` list in factorio.css now fits on one line, and a CLAUDE.md list item's continuation line is now indented. The CLAUDE.md coupling note also gains the 1.3.0 -> 5.0.5 pair. Both releases are older than the 3-day Renovate floor (vite-plus 1.3.0 on 2026-10-16, vitest 5.0.5 on 2026-10-15). pnpm-workspace.yaml and renovate.json5 are untouched, and no `minimumReleaseAgeExclude:` was written. Claude-Session: https://claude.ai/code/session_01EdUbVVSnMbzGbAUT94sk5k Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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:
1.3.6→1.4.44.147.0→4.151.1Regenerate the worker types on this branch BEFORE merging - this PR cannot go green without it. A wrangler bump moves
workerd, andwrangler types --checkcompares that version as well as the config hash, sotypes:checkfails insidepreview:testinside the requiredverifycheck. Runpnpm run types:syncand commit the result. That script iswrangler types && vp check --fixtogether, and the formatter half is not optional - a rawwrangler typesburies the real one-line change in a whole-file whitespace diff (25,411 lines vs 1, measured on #169).Release Notes
cloudflare/workers-sdk (@cloudflare/vitest-plugin)
v1.4.4Compare Source
Patch Changes
e1d1b77,e13d5cc,42c6912,4a5377f]:v1.4.3Compare Source
Patch Changes
#16248
ad01099Thanks @mattjohnsonpint! - Fix V8 coverage failing with Vitest 5.0.4Tests using V8 coverage with Vitest 5.0.4 no longer fail with an assertion error during teardown.
#16163
5f12934Thanks @edmundhung! - Fix Workers tests failing with Vitest's filesystem module cacheThis supports Vitest 4.1's
test.experimental.fsModuleCacheand Vitest 5'stest.fsModuleCache.v1.4.2Compare Source
Patch Changes
f360829,d6b1c82,97b2fb1,97b2fb1,acd2822]:v1.4.1Compare Source
Patch Changes
fcf625d,091e5ec,5152bf8,9f87de8,daae435,18f061c,9be5ec7,61e07fd,cafd3f9,ea64ec4,d232454]:v1.4.0Compare Source
Minor Changes
#15591
e3d1867Thanks @dario-piotrowicz! - Support V8 code coverage in the Workers Vitest integrationVitest's default V8 coverage provider now collects and reports coverage for tests running locally in the Workers runtime.
#16132
08d694cThanks @edmundhung! - Add support for Vitest 5Patch Changes
#16139
2d1d563Thanks @cpojer! - Update esbuild to 0.28.2Align esbuild dependency with tooling using the latest 0.28 patch so package managers can share one installation instead of downloading a second native binary.
#16140
aaa6a88Thanks @cpojer! - Update Zod to 4.6.5Align the published Zod dependencies in Cloudflare configuration and the Vitest plugin with other tools using Zod 4.6.5 so consumers can reuse one installation.
Updated dependencies [
2d1d563,85b14e7,e6f7663,fe607f9,ad7ff45,8de6b3c,ae29445,757faa6,cc8e969,417b186,93c1069,6947df3,82acf3c,9a58244]:v1.3.7Compare Source
Patch Changes
b4e1299,b75421f,0ec13b7,2b1a0ca,c492d63,ba52118,946aaa7,48f3c04,14f0339,5606a74,4d308f6,f8cdcb9,e44cf6b,aa2f9b7,42c7219,2dde890,26e03e2,2dde890,0b51fec]:cloudflare/workers-sdk (wrangler)
v4.151.1Compare Source
Patch Changes
#15541
e13d5ccThanks @mack-erel! - Keep remote dev sessions alive through transient network failureswrangler dev --remoteandgetPlatformProxy()refresh their preview token before it expires, but a single failed refresh — for example while the network was briefly down — stopped refreshing for good, leaving the session broken until restart. A failed refresh now retries every minute until it succeeds. Rebuilds also no longer push the refresh past the session's expiry.#16284
42c6912Thanks @karloper! - Fixwrangler rollbackreporting success after the changed secrets confirmation is declinedPreviously, declining the "The following secrets have changed…" confirmation printed "Aborting rollback..." and then also printed a success message and the target version as the "Current Version ID", even though no deployment was made and the original version was still live. Wrangler now stops after aborting, so the output matches what is actually deployed.
#13742
4a5377fThanks @edmundhung! - Hide thewrangler devhotkey bar when Turborepo does not forward inputUpdated dependencies [
e1d1b77]:v4.151.0Compare Source
Minor Changes
#16245
d6b1c82Thanks @WalshyDev! - Include source maps by default inwrangler build --experimental-cf-build-outputBuild Output now matches
wrangler deployandwrangler versions upload, which upload source maps by default, so Workers built for tools likecfget stack traces that point at the original source. Source maps that can't be resolved are skipped rather than failing the build. Setupload_source_maps = falseto opt out.Patch Changes
#16220
97b2fb1Thanks @FlorentCollin! - Support local D1 queries through the experimentald1_binding_jsrpccompatibility flagLocal D1 bindings now implement the RPC query backend used by
D1Database.query()and prepared-statement methods when the flag is enabled. Queries reuse local SQLite execution, including transactional batches, execution metadata, and session bookmarks, while bindings without the flag continue to use HTTP. Update the bundled workerd runtime to1.20261012.1and align the default compatibility date with that release.Updated dependencies [
f360829,97b2fb1,97b2fb1,acd2822]:v4.150.0Compare Source
Minor Changes
#16231
091e5ecThanks @WalshyDev! - Upload source maps by default forwrangler deploy,wrangler versions uploadandwrangler previewWhen
upload_source_mapsisn't set in config or via--upload-source-maps, Wrangler now generates and uploads source maps so stack traces in logs andwrangler tailpoint at your original source without extra setup. In this default mode, source maps that can't be resolved (for example inlinedata:maps or missing.mapfiles from a custom build) are skipped rather than failing the upload. Settingupload_source_maps = truekeeps the existing strict behaviour, andupload_source_maps = false(or--no-upload-source-mapsfor deploy and versions upload) opts out.wrangler build --experimental-cf-build-outputis unchanged and still only includes source maps whenupload_source_maps = true.#16128
daae435Thanks @redsteadz! - Stopwrangler deploy,wrangler versions uploadandwrangler previewin projects that build for the Cloudflare CLI (cf)If your project builds through
cf, deploying it with Wrangler reads a different configuration, so it could update the wrong Worker or fail without explaining why. These commands now stop before uploading anything, name the.cloudflare/outputdirectory they found, and tell you to runcf deployinstead. If that directory is just left over from an earlier build, deleting it restores the Wrangler workflow.Ordinary Wrangler projects are unaffected, and
--dry-runstill works ondeployandversions upload. This is a new guard for the experimental Build Output Specification rather than a fix, and it gives three stable commands a failure mode they did not have before, so it is a minor.Patch Changes
#16161
fcf625dThanks @dario-piotrowicz! - Clarify the Worker not found error during CI deploy validationWrangler now reports that the configured Worker could not be found in the account instead of incorrectly describing the failure as a name mismatch.
#16156
18f061cThanks @armancharan! - Ignore.wranglerwrites in the dev assets watcherwrangler devreloaded in a loop whenassets.directorywas the project root, because the assets watcher treated wrangler's own writes under.wrangleras asset changes and dropped in-flight requests. The watcher now ignores the project's.wranglerdirectory anddev.persist, except when that path is the assets directory.#16025
61e07fdThanks @kohjunhao! - Fix optional Docker lookups printing Docker CLI errors during successful buildscf buildlooks for Container images left behind by earlier builds so it can remove them. This lookup is best effort, but when Docker could not be reached it still printed errors such asCannot connect to the Docker daemon, even when the build succeeded and no image needed Docker. Docker commands whose output Wrangler reads no longer forward the Docker CLI's error output to the terminal. If one of these commands fails in a way that stops the command, the error message still includes the Docker CLI's output.#16151
cafd3f9Thanks @DevVettel! - Time out the OAuth token request instead of waiting indefinitelyThe request that exchanges an authorization code or refresh token for an access token had no timeout, so a stalled connection (for example behind an HTTP proxy) could leave
wrangler loginhanging silently for many minutes after the browser step had succeeded. The request now gives up after 30 seconds and reports that the Cloudflare auth server could not be reached.#15517
ea64ec4Thanks @xgame92! - Preserve binding options when provisioning resources through a redirected configWrangler now writes provisioned resource identifiers to both the redirected and original config files without copying other binding options between them. This prevents generated relative paths such as D1
migrations_dirfrom replacing user-authored paths during Vite deployments.#16219
d232454Thanks @petebacondarwin! - HonorX-Forwarded-Protofor incoming development requests behind TLS-terminating proxiesMiniflare now uses the original client protocol when constructing URLs for network requests. This also prevents Wrangler from downgrading HTTPS URLs in response headers such as
LocationandWWW-Authenticatewhen a tunnel forwards requests over HTTP. Explicit programmatic request URLs and configured upstream origins remain authoritative.Updated dependencies [
5152bf8,9f87de8,9be5ec7,d232454]:v4.149.0Compare Source
Minor Changes
#16036
9a58244Thanks @edevil! - Support temporary event accounts in R2 and Containers commandswrangler r2andwrangler containerscommands now accept the hidden--temporaryflag, so accounts created for an event can manage buckets, objects and containers directly. Every command that supports--temporarynow also accepts a hidden--event-codeflag, so the first command a participant runs can create the event account:wrangler r2 bucket create my-bucket --temporary --event-code <code>R2 and Containers are only available on event accounts. R2 custom domains, Sippy, external container registries and
wrangler cloudchambercommands still require a logged-in account.Patch Changes
#16139
2d1d563Thanks @cpojer! - Update esbuild to 0.28.2Align esbuild dependency with tooling using the latest 0.28 patch so package managers can share one installation instead of downloading a second native binary.
#15632
85b14e7Thanks @petebacondarwin! - Honor Retry-After directives during static asset uploadsStatic asset uploads now pause retries and pending uploads until the latest outstanding deadline requested by the API. A per-request limiter also keeps gateway retries at the reduced concurrency after the pause ends, preventing a deployment from immediately overloading a constrained asset service again.
#16098
fe607f9Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#16093
ad7ff45Thanks @DiogoSantoss! - Document thataddressescatch-all entries must use the zone apexA
*@domainentry inaddressesmust use the zone apex, such as*@example.com. The zone catch-all also receives mail for every subdomain in the zone that has no literal rule.#16102
757faa6Thanks @tlq5l! - Keep Preview secrets when deploying to an existing PreviewSecrets added to a Preview with
wrangler preview secret putorwrangler preview secret bulkwere lost the next timewrangler previewran, because each new deployment was created from the Wrangler config,--varand--secrets-filevalues only.wrangler previewnow carries over the secrets of the Preview's latest deployment. A value passed in this deployment (--secrets-file,--varor apreviewsbinding with the same name) still replaces the existing secret, andwrangler preview secret deleteremoves one.#15617
93c1069Thanks @jpatel3! - Stop the update check from recommending deprecated versionsPreviously, the "update available" notice shown by
wranglerand@cloudflare/vite-pluginalways pointed at whichever version was taggedlateston npm, even after that version had been deprecated for shipping a bug. Deprecated versions are now never recommended: if the latest release has been deprecated, the newest non-deprecated stable release below it is suggested instead, or nothing at all if you are already on it.The check now reads the npm registry directly instead of going through the
update-checkpackage, which discarded the deprecation information. The on-disk cache location and one-hour refresh interval are unchanged.#16003
6947df3Thanks @oddharsh! - Shipusingandawait usingdeclarations to the runtime as written, for smaller Worker bundlesWorkers and Pages Functions that use explicit resource management no longer carry about 1 KB of bundled helper code to emulate it. workerd supports
usingandawait usingnatively at every compatibility date, sowrangler deploy,wrangler versions uploadand Pages Functions builds now leave these declarations untouched.#15958
82acf3cThanks @breken-ai! - Apply each action's own condition inwrangler r2 bucket lifecycle addWhen a lifecycle rule was added with both expiration and Infrequent Access transition flags, both actions read their condition from the same list of flags, which checked
--expire-daysfirst.--expire-days 365 --ia-transition-days 30therefore transitioned objects after 365 days instead of 30, and--expire-date 2027-01-01 --ia-transition-days 30deleted objects after 30 days instead of on the given date. Expiration now only reads--expire-days/--expire-date, and transition only reads--ia-transition-days/--ia-transition-date.Updated dependencies [
2d1d563,e6f7663,fe607f9,8de6b3c,ae29445,cc8e969,417b186]:v4.148.0Compare Source
Minor Changes
#16051
b4e1299Thanks @devteamaegis! - Add--source-namespaceand--source-repo-nametowrangler queues subscription createfor theartifacts.reposourceThe Event Subscriptions API requires
source.namespaceandsource.repo_nameforartifacts.reposubscriptions, but Wrangler had no way to pass them, so--source artifacts.repoalways failed with a validation error. Both flags are now required for this source, andwrangler queues subscription getshows the subscription's resource as<namespace>/<repo-name>.#15998
b75421fThanks @dario-piotrowicz! - Addassets.base_pathsupport to Workers AssetsServe an asset directory from a public URL prefix without changing its on-disk layout:
{ "assets": { "directory": "./public", "base_path": "/docs" } }Wrangler, preview, Miniflare, and generated build configuration preserve the explicitly selected value, while the Asset Worker normalizes it and strips the prefix only for asset lookup. Requests passed to a user Worker, request-facing headers, and redirects retain the public path. Relative pathname inputs are interpreted as root-relative prefixes, URL-shaped values are rejected, and omitting the option preserves existing root-path behavior.
Authored
_headersand_redirectsrules continue to match full public paths. In particular, both the source and destination of an authored200asset rewrite must include the configured public prefix; Asset Worker-generated redirects are prefixed automatically.#16005
4d308f6Thanks @oOPa! - Add a--experimental-mode instantoption towrangler kv namespace createThis lets entitled accounts create Workers KV Instant namespaces while the feature is in private beta.
#16030
aa2f9b7Thanks @edmundhung! - Add email-protected Quick Tunnels towrangler devPass one or more
--tunnel-allowed-mailflags to require email authentication when exposing a local development server through a Quick Tunnel. Each value can be an exact email address or a domain pattern.#15283
2dde890Thanks @shubhxho! - Support deleting secrets withwrangler versions secret bulkSet a secret's value to
nullin JSON input to remove it from the new Worker version. Bulk output now distinguishes between created and deleted secrets, so retryingwrangler secret bulkwithwrangler versions secret bulkpreserves requested deletions. Deploy the new version withwrangler versions deployto apply the changes to production traffic.Patch Changes
#15534
2b1a0caThanks @vahidshaik1901! - Improve guidance for conflicting Wrangler configuration filesWhen user and generated deploy configurations are found under different base paths, Wrangler now identifies the expected deploy configuration location, suggests how to resolve the conflict, and links to the relevant documentation.
#16014
c492d63Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#16079
ba52118Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#15573
14f0339Thanks @xgame92! - Include default module rules in generated Worker typeswrangler typesnow declares the built-in Text, Data, and WebAssembly module patterns even when they are not repeated in the Wrangler configuration, keeping generated types aligned with deployment behavior.Service-worker declaration files are emitted as global scripts so that the generated wildcard module types are visible to imports.
Directory-specific rules retain their scope when TypeScript can represent it; ambiguous relative imports use a union of the possible deployed module types.
When generating combined types for named environments, each environment's effective rules are resolved independently and differing import types are represented as unions.
#15261
42c7219Thanks @ondraulehla! - Fixr2 object putandr2 bulk putstoring a different key in local modeKeys that are not URL-safe were mangled on the way into local storage.
r2 object getfor that key reported that the key does not exist.#collapsed into a single object, and the second upload replaced the first.%that is not a valid escape failed outright with "Invalid URL string.", and one with a valid escape, such as%41.txt, was stored asA.txt.Spaces, non-ASCII characters,
#and%now survive the trip into local storage. Objects already in local state are left where they are.#15283
2dde890Thanks @shubhxho! - Show a useful error whenwrangler secret bulkhits an undeployed latest versionwrangler secret putalready explained this case (API error 10215).secret bulkjust dumped the raw API response, which for 10214 talks about logpush and tail_consumers even though you were only uploading secrets.Both commands now point at
wrangler versions secret …instead.#16068
26e03e2Thanks @edevil! - Print temporary account notices to stderrThe terms notice, the proof-of-work message, and the "Temporary account ready" claim details printed by
--temporarynow go to stderr instead of stdout. Previously they corrupted command output on stdout, such as the JSON fromwrangler kv namespace list --temporaryor the raw value fromwrangler kv key get --temporary. Commands that lower the log level for--json, such aswrangler d1 execute --json --temporary, also hid the claim URL; it is now shown unless logging is disabled withWRANGLER_LOG=none.Scripts that read the claim URL from stdout should read stderr instead.
Updated dependencies [
b75421f,0ec13b7,c492d63,ba52118,946aaa7,48f3c04,5606a74,f8cdcb9,e44cf6b,0b51fec]:Configuration
📅 Schedule: (in timezone America/Los_Angeles)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.