Skip to content

build(deps): bump @ai-sdk/google from 3.0.82 to 4.0.18 - #255

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ai-sdk/google-3.0.83
Closed

build(deps): bump @ai-sdk/google from 3.0.82 to 4.0.18#255
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ai-sdk/google-3.0.83

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubJun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps @ai-sdk/google from 3.0.82 to 4.0.18.

Release notes

Sourced from @​ai-sdk/google's releases.

@​ai-sdk/google-vertex@​3.0.158

Patch Changes

  • Updated dependencies [0ab9755]
  • Updated dependencies [0ab9755]
  • Updated dependencies [0ab9755]
    • @​ai-sdk/anthropic@​2.0.91

@​ai-sdk/google-vertex@​3.0.157

Patch Changes

  • 5e9957e: feat(provider/google): default unknown Gemini model IDs to the newest supported capabilities
  • Updated dependencies [5e9957e]
  • Updated dependencies [db28434]
    • @​ai-sdk/google@​2.0.85
    • @​ai-sdk/anthropic@​2.0.90

@​ai-sdk/google@​3.0.101

Patch Changes

  • 326887b: fix(google): omit unsupported function call IDs

@​ai-sdk/google@​3.0.100

Patch Changes

  • dae771a: feat(provider/google): default unknown Gemini model IDs to the newest supported capabilities
Changelog

Sourced from @​ai-sdk/google's changelog.

4.0.18

Patch Changes

  • Updated dependencies [cd06458]
    • @​ai-sdk/provider-utils@​5.0.11

4.0.17

Patch Changes

  • 5b4a299: fix(provider/google): forward Vertex-only imageConfig options (personGeneration, prominentPeople, imageOutputOptions)

4.0.16

Patch Changes

  • 662ddfc: Allow google.interactions agent requests to include supported tools, including file_search.

4.0.15

Patch Changes

  • Updated dependencies [31c7be8]
    • @​ai-sdk/provider-utils@​5.0.10

4.0.14

Patch Changes

  • 4be62c1: fix(provider-utils): validate provider-response URLs in getFromApi

    getFromApi now has a validateUrl flag. It is optional so existing callers keep compiling (omitting it behaves like false, i.e. no validation), but all AI SDK provider packages set it explicitly at every call site so each one makes a visible trust decision. When true, the URL is routed through fetchWithValidatedRedirects — the same guard used by downloadBlob — which rejects private/loopback/link-local targets, re-validates every redirect hop, strips proxy/metadata/cookie request headers, and drops all caller headers except the user-agent on cross-origin redirects (custom API-key headers must not follow a redirect off-origin any more than Authorization may); blocked URLs throw DownloadError. It is enabled at the image/video/audio download and polling call sites where the URL comes from a provider response body; URLs built from developer-configured endpoints pass validateUrl: false and are unaffected.

    A new optional credentialedOrigin withholds caller headers unless the URL is same-origin with it, so the API key is not sent to a response-supplied host on a different origin.

    A new optional trustedOrigin exempts URLs (and redirect hops) that are same-origin with the developer-configured provider endpoint from target validation, so self-hosted and localhost deployments whose response URLs point back at the configured host keep working; all other hops are still validated.

    Also closes range gaps in validateDownloadUrl (IPv4 224.0.0.0/4 multicast and the TEST-NET documentation ranges 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24; IPv6 documentation ranges 2001:db8::/32 and 3fff::/20), and follows only the fetch-spec redirect status codes (301/302/303/307/308) — a Location header on any other status is not followed. This guard performs string/literal checks only and does not resolve DNS; hostnames that resolve to private addresses and DNS rebinding remain out of scope and must be constrained at the network layer (or by injecting a Node fetch that pins the resolved IP at connect time) for server deployments handling untrusted URLs. See contributing/secure-url-handling.md.

  • Updated dependencies [4be62c1]

  • Updated dependencies [7805e4a]

  • Updated dependencies [cd12954]

    • @​ai-sdk/provider-utils@​5.0.9

4.0.13

Patch Changes

  • Updated dependencies [e193290]

... (truncated)

Commits

@dependabotdependabotBot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 29, 2026
@dependabot
dependabotBot requested a review from qnbs as a code ownerJune 29, 2026 23:52
@dependabotdependabotBot added the dependencies Pull requests that update a dependency file label Jun 29, 2026
@vercel

vercelBot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
worldscript-studioReadyReadyPreview, CommentJul 26, 2026 5:51pm

@dependabotdependabotBot added the javascript Pull requests that update javascript code label Jun 29, 2026
@deepsource-io

deepsource-ioBot commented Jun 29, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 79aace8...9884820 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall GradeSecurity

Reliability

Complexity

Hygiene

Code Review Summary

AnalyzerStatusUpdated (UTC)Details
DockerJun 29, 2026 11:52p.m.Review ↗
JavaScriptJun 29, 2026 11:52p.m.Review ↗
CSSJun 29, 2026 11:52p.m.Review ↗
RustJun 29, 2026 11:52p.m.Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@socket-security

socket-securityBot commented Jun 29, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addednpm/​@​ai-sdk/​google@​4.0.18721008898100

View full report

@codeant-ai

Copy link
Copy Markdown

🏁 CodeAnt Quality Gate Results

Commit:98848206
Scan Time: 2026-07-26 17:42:23 UTC

✅ Overall Status: PASSED

Quality Gate Details

Quality GateStatusDetails
Secrets✅ PASSED0 secrets found
Duplicate Code✅ PASSED0.0% duplicated
SAST✅ PASSEDNo security issues
Bugs✅ PASSEDRating S: No bugs
IAC✅ PASSEDRating S: No issues

View Full Results

@dependabotdependabotBot changed the title build(deps): bump @ai-sdk/google from 3.0.82 to 3.0.83build(deps): bump @ai-sdk/google from 3.0.82 to 4.0.18Jul 26, 2026
Bumps [@ai-sdk/google](https://github.com/vercel/ai/tree/HEAD/packages/google) from 3.0.82 to 4.0.18.
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/google/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/google@4.0.18/packages/google)
---
updated-dependencies:
- dependency-name: "@ai-sdk/google"
dependency-version: 3.0.83
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabotBotforce-pushed the dependabot/npm_and_yarn/ai-sdk/google-3.0.83 branch from 9884820 to 7b3e956CompareJuly 26, 2026 17:43
qnbs added a commit that referenced this pull request Jul 28, 2026
…i/react) (#275)
Bumps ai 6.0.206 -> 7.0.37, @ai-sdk/google 3.0.82 -> 4.0.24,
@ai-sdk/openai 3.0.71 -> 4.0.20, @ai-sdk/react 3.0.201 -> 4.0.40 as one
coordinated unit, superseding Dependabot PRs #255, #249, #253, #250.
Root cause for not merging them individually: @ai-sdk/google@4 emits
the new LanguageModelV4 spec, but the `ai` package's LanguageModel type
only recognizes it from v7 onward -- upgrading @ai-sdk/google alone
(as #255 proposed) left services/ai/providerFactory.ts with a real
tsc error (LanguageModelV4 not assignable to LanguageModelV2 |
LanguageModelV3). Bumping the whole family together resolves it with
no application code changes needed.
Verified: pnpm run typecheck (clean), pnpm run lint (clean), and the
full AI-provider/completion-fetch test suites (171 tests across
aiProviderService.test.ts, geminiService.test.ts, providerFactory.test.ts,
useWorldScriptAI.test.ts, worldScriptCompletionFetch.test.ts) all passing.
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@qnbsqnbs closed this in #275 Jul 28, 2026
@dependabot@github

dependabotBot commented on behalf of githubJul 28, 2026

Copy link
Copy Markdown
ContributorAuthor

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabotBot deleted the dependabot/npm_and_yarn/ai-sdk/google-3.0.83 branch July 28, 2026 08:25
@qnbs

qnbs commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Superseded by #275, which bumps the whole AI SDK family (ai 6→7, @ai-sdk/google/@ai-sdk/openai/@ai-sdk/react 3→4) together as one coordinated unit. Merging this PR alone would have left @ai-sdk/google@4's new LanguageModelV4 spec unrecognized by the pre-upgrade ai package's LanguageModel type (a real tsc error, confirmed via CI). #275 has merged into main. Closing this one.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filejavascriptPull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@qnbs