Repository navigation
chore(deps): update dependency wrangler to v4.153.0 - #317
Merged
Merged
Conversation
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.152.0→4.153.0Release Notes
cloudflare/workers-sdk (wrangler)
v4.153.0Minor Changes
#14865
c0e915fThanks @TheSaiEaranti! - Add an--infer-origin-from-routesflag towrangler devWhen a config has
routes, local dev infers the origin from the first route, so the Worker seesrequest.url, theHostheader, and anyOriginheader rewritten to the route's host even though the client connected tolocalhost. That silently breaks Host/Origin-sensitive logic — for example a CORS check allowlistinghttp://localhost:*receiveshttp://<route-host>instead and rejects the request only in local dev.The inference is intentional and remains the default. Passing
--infer-origin-from-routes=falsenow opts out, preserving the real local origin without removingroutesfrom the config. An explicitly configured--host,--local-upstream, ordev.hostcontinues to take precedence either way. The flag only affects local development: in remote mode the route host still determines the preview session as before.#15955
23ef63aThanks @ericclemmons! - Expand dotenv variable references in--secrets-fileinputDotenv files supplied through
--secrets-filetodeploy,versions upload, andpreviewnow expand$VARand${VAR}references using process values and earlier file values. Process environment values override matching file keys, including explicitly empty values. Treat dotenv secrets files as trusted input: they can read and upload any process environment value, such as a CI credential referenced byX=${GITHUB_TOKEN}. In CI, use secrets files whose contents untrusted contributors cannot modify.This changes how existing dotenv secrets files are interpreted: an unset reference becomes an empty string, so
PASSWORD=pa$wordbecomespawhenwordis unset. Escape literal dollar signs with a backslash (PASSWORD=pa\$word), or use a JSON secrets file to preserve values exactly. JSON input and bulk-secret commands, including piped stdin, retain their existing literal parsing.Patch Changes
#16403
5f82a56Thanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-10-22Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
#16437
e651d7cThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-10-23Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
#16403
5f82a56Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#16437
e651d7cThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#16476
8a30d8eThanks @tannerlinsley! - Update Undici to 7.30.1 to prevent a malformed HTTP response from crashing development toolsThe updated shared dependency rejects excessive content encodings without leaving an unhandled stream error when the server closes the connection early. This fixes GHSA-xjj6-f33q-929c and keeps the matching Undici types on the same version.
#16485
b7e762dThanks @Cherry! - Fix the Windows keyring install when the config path contains a spaceOn Windows,
wrangler login --use-keyringcould not set up keyring storage when the configuration path contained a space, such as aC:\Users\John Smithprofile, so credentials fell back to the plaintext file. Keyring setup now works for those paths and credentials are stored encrypted.#16405
c709bffThanks @ondraulehla! - Fixkv key listreturning only the first 1000 keys in local modeListing a local namespace with more than 1000 keys stopped after the first 1000 without any warning, so the output looked complete when it wasn't.
kv key listnow returns every key in local mode, with or without--prefix.#16490
bcd618dThanks @petebacondarwin! - Update Zod to 4.6.6 to address GHSA-mrhx-c7xc-m3w5The updated shared dependency fixes excessive memory consumption when validating oversized collections. This updates both the published Zod dependencies and the copies bundled into development tools and Workers.
Updated dependencies [
9e05ade,5f82a56,e651d7c,5f82a56,e651d7c,8a30d8e,bcd618d]:Configuration
📅 Schedule: (UTC)
🚦 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.