fix(deps): update dependency @ai-sdk/google-vertex to v5#3570
Merged
Conversation
27b2872 to
c1344cd
Compare
c1344cd to
e5a2a39
Compare
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.0.47→^5.0.0Release Notes
vercel/ai (@ai-sdk/google-vertex)
v5.0.0Compare Source
Major Changes
832f86f: fix(anthropic): remove cacheCreationInputTokens from providerMetadataef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only ("type": "module"). Consumers usingrequire()must switch to ESMimportsyntax.8359612: Start v7 pre-release04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbolsFor all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
Patch Changes
e02f041: feat(provider/anthropic): add support forclaude-opus-4-838fc777: Add AI Gateway hint to provider READMEse748b35: chore: update v3 specs to v400a0f36: feat(google, google-vertex): addedgemini-embedding-2,deep-research-max-preview-04-2026anddeep-research-preview-04-202642bdfa4: fix(google-vertex): propagate project-id set in provider instance creatione59c955: feat(vertex): add grok models to vertex provider6dd2fd7: feat(provider/google-vertex): add Google Cloud Speech-to-Text transcription model support2ce3c65: feat(provider/google-vertex): add Gemini text-to-speech (speech) model supporta3757d7: chore(provider/google): remove useless GenerativeAI affix from types and classes for consistency87d1723: chore(anthropic): remove unnecessary messages affix from Anthropic symbols and files9f0e36c: trigger release for all packages after provenance setup1f4058f: fix(vertex): use correct import for token generator82288b0: feat(provider/google): addgemini-embedding-2-previewand fix multimodal embedding support withembedManye59176c: chore(google): update v3 specs to v4ec2e752: fix(google-vertex): support regional endpoints for vertex MaaSbb93832: fix(vertex-anthropic): support eu/us multi-region anthropic endpoints7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.0c4c275: trigger initial canary releaseebb02ea: feat(google-vertex): add the anthropic tool search toolsb70f6ec: fix(google-vertex): support for eu/us multi region gemini endpoints9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type258c093: chore: ensure consistent import handling and avoid import duplicates or cycles546cefe: feat(provider/google): addgemini-3.5-flash55f0938: chore(provider/google): update available modelsb8396f0: trigger initial beta release96d056d: fix(provider/google-vertex): avoid recreating Node GoogleAuth clients for repeated requestsCreate Google auth token generators per provider instance instead of using a
module-level shared
GoogleAuthcache. This avoids unnecessaryGoogleAuthrecreation when
googleAuthOptionsare omitted or when multiple providerinstances use equivalent auth settings.
6b4d325: feat(provider/anthropic): add support forclaude-fable-5and thefallbacksAPI parameterf05a40d: fix(vertex): throw warning when strict: true for vertexAnthropic90e2d8a: chore: fix unused vars not being flagged by our lint toolinga34b997: feat (provider/google-vertex): add support for maas models780e563: feat(provider/google-vertex): allow overriding Vertex Anthropic auth token generation427a596: Routegemini-embedding-2/gemini-embedding-2-previewto the:embedContentendpoint, which is the only one those models support (:predictreturns 400 FAILED_PRECONDITION)0416e3e: feat (video): add first-classgenerateAudiocall optionb3976a2: Add workflow serialization support to all provider models.@ai-sdk/provider-utils: NewserializeModel()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:
headersis now optional in provider config types. This is non-breaking — existing code that passesheaderscontinues to work. Custom provider implementations that construct model configs manually can now omitheaders, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.All provider model classes now include
WORKFLOW_SERIALIZEandWORKFLOW_DESERIALIZEstatic methods, enabling them to cross workflow step boundaries without serialization errors.0d8f107: feat(provider/anthropic): add support for Opus 4.7 and relevant API enhancementsConfiguration
📅 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.