Skip to content

chore(deps): bump @ai-sdk/google from 3.0.73 to 4.0.0 - #8

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 26, 2026 •

Copy link
Copy Markdown

Bumps @ai-sdk/google from 3.0.73 to 4.0.0.

Release notes

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

@​ai-sdk/mistral@​4.0.0

Major Changes

  • ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only ("type": "module"). Consumers using require() must switch to ESM import syntax.

  • c29a26f: feat(provider): add support for provider references and uploading files as supported per provider

  • 8359612: Start v7 pre-release

  • 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols

    For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.

Patch Changes

  • 737b8f4: feat(provider/mistral): add support for reasoning configuration (mistral-small-latest)

  • 3ae1d12: Add support for mistral-medium-3.5

  • 38fc777: Add AI Gateway hint to provider READMEs

  • 8abd80f: Map cached token counts from Mistral API usage response. Previously all prompt tokens were reported as noCacheTokens, ignoring the num_cached_tokens, prompt_tokens_details.cached_tokens, and prompt_token_details.cached_tokens fields returned by Mistral.

  • 7acf358: fix(mistral): forward stopSequences as Mistral's native stop parameter

  • 9f0e36c: trigger release for all packages after provenance setup

  • 58a2ad7: fix: more precise default message for tool execution denial

  • 5259a95: chore: add warning for providers that do not support new reasoning parameter

  • 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.

  • 0c4c275: trigger initial canary release

  • 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type

  • 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles

  • 5463d0d: feat(provider): align tool result output content file part types with top-level message file part types

  • b8396f0: trigger initial beta release

  • b3976a2: Add workflow serialization support to all provider models.

    @ai-sdk/provider-utils: New serializeModel() helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.

    All providers: headers is now optional in provider config types. This is non-breaking — existing code that passes headers continues to work. Custom provider implementations that construct model configs manually can now omit headers, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.

    All provider model classes now include WORKFLOW_SERIALIZE and WORKFLOW_DESERIALIZE static methods, enabling them to cross workflow step boundaries without serialization errors.

  • ff5eba1: feat: roll image-* tool output types into their equivalent file-* types

... (truncated)

Changelog

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

4.0.0

Major Changes

  • a3757d7: chore(provider/google): remove useless GenerativeAI affix from types and classes for consistency

  • f7d4f01: feat(provider): add support for reasoning-file type for files that are part of reasoning

  • ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only ("type": "module"). Consumers using require() must switch to ESM import syntax.

  • c29a26f: feat(provider): add support for provider references and uploading files as supported per provider

  • 3887c70: feat(provider): add new top-level reasoning parameter to spec and support it in generateText and streamText

  • 8359612: Start v7 pre-release

  • 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols

    For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.

Patch Changes

  • 7f04802: feat(provider/google): add support for managed agents in the Interactions API

  • 38fc777: Add AI Gateway hint to provider READMEs

  • b71c0d7: feat(provider/google): support Google search grounding when using generateImage with Gemini

  • 6190649: chore(provider/google): remove obsolete Google image model

  • 55db546: fix(provider/google): fix Gemini service tier enum after upstream update

  • 9a0a618: fix(google): fix serviceTier to be correctly formatted for Vertex API

  • 00a0f36: feat(google, google-vertex): added gemini-embedding-2, deep-research-max-preview-04-2026 and deep-research-preview-04-2026

  • 9715ec7: feat(provider/google): add support for service tier parameter

  • 41da50c: fix(provider/google): support functionCall.id when returned by Gemini API and provide matching functionResponse.id

  • add4326: fix(provider/google): correct JSDoc for multimodal embedding content option

  • a8d70b6: fix(google): auto-inject skip_thought_signature_validator for Gemini 3 tool-call replays without a signature

  • 947cdab: Add Google realtime Live Translation provider options for gemini-3.5-live-translate-preview.

  • 4e825f3: feat(google): update Interactions API implementation to cater for upstream breaking changes coming May 26

  • b563707: feat(provider/google): add Gemini text-to-speech (speech) model support

  • a05109d: feat(provider/google): preserve per-modality token details in usage data

  • cfca634: fix(google): emit Vertex no-args streaming tool calls and preserve thoughtSignature

    Vertex emits a no-args function call as a single chunk shaped { functionCall: { name: 'X' } } with no args, no partialArgs, and no willContinue. The streaming parser had no branch for this shape, so the call was dropped along with any thoughtSignature it carried. For Gemini 3 thinking models this caused the next multi-turn step to 400 with missing thought_signature. The unary (doGenerate) path had the same drop.

    Both paths now emit the call as a complete tool call with '{}' input and propagate thoughtSignature provider metadata.

    Fixes #14847.

  • c9c4661: fix(provider/google): preserve groundingMetadata and urlContextMetadata when they arrive in a stream chunk before the finishReason chunk

  • 045d2e8: fix(google): read serviceTier from usageMetadata.serviceTier in both generate and stream paths

    The previous implementation read serviceTier from the x-gemini-service-tier response header, which is only populated on non-streaming responses. Gemini streaming includes the value in usageMetadata.serviceTier on every chunk, so providerMetadata.google.serviceTier was always null for streams. Read from usageMetadata for both paths instead.

  • 19b95f9: fix(google): use VALIDATED function calling mode when any tool has strict:true

  • 2ce3c65: feat(provider/google-vertex): add Gemini text-to-speech (speech) model support

... (truncated)

Commits

@dependabot dependabot Bot added dependencies javascript Pull requests that update javascript code labels Jun 26, 2026
@dependabot
dependabot Bot requested a review from bobbyjohnstx as a code owner June 26, 2026 16:06
@dependabot dependabot Bot added dependencies javascript Pull requests that update javascript code labels Jun 26, 2026
Bumps [@ai-sdk/google](https://github.com/vercel/ai/tree/HEAD/packages/google) from 3.0.73 to 4.0.0.
- [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.0/packages/google)

---
updated-dependencies:
- dependency-name: "@ai-sdk/google"
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/ai-sdk/google-4.0.0 branch from 1af93fc to 9365d85 Compare June 26, 2026 16:51
@dependabot @github

dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Author

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
dependabot Bot deleted the dependabot/npm_and_yarn/ai-sdk/google-4.0.0 branch June 29, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant