Skip to content

chore(deps): bump @ai-sdk/provider from 3.0.13 to 4.0.2#560

Open
dependabot[bot] wants to merge 1 commit into
stagingfrom
dependabot/npm_and_yarn/staging/ai-sdk/provider-4.0.2
Open

chore(deps): bump @ai-sdk/provider from 3.0.13 to 4.0.2#560
dependabot[bot] wants to merge 1 commit into
stagingfrom
dependabot/npm_and_yarn/staging/ai-sdk/provider-4.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 8, 2026

Copy link
Copy Markdown
Contributor

Bumps @ai-sdk/provider from 3.0.13 to 4.0.2.

Changelog

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

4.0.2

Patch Changes

  • 5c5c0f5: Add experimental streaming transcription support for transcription models, including OpenAI gpt-realtime-whisper and xAI WebSocket STT.

4.0.1

Patch Changes

  • 0274f34: feat (video): add first-class frameImages and inputReferences call options for video generation

4.0.0

Major Changes

  • f7d4f01: feat(provider): add support for reasoning-file type for files that are part of reasoning
  • 776b617: feat(provider): adding new 'custom' content type
  • 34bd95d: feat(ai): add support for uploading provider skills using the provider references abstraction
  • 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
  • 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
  • 8359612: Start v7 pre-release
  • 5463d0d: feat(provider): align tool result output content file part types with top-level message file part types

Patch Changes

  • 1f509d4: fix(ai): force template check on 'kind' param

  • 176466a: chore(provider): align V4 model return types to have their own definitions across all model interfaces

  • 5c2a5a2: fix(provider): fix v4 spec to not use shared v3 types

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

  • 008271d: feat(openai-compatible): emit warning when using kebab-case instead of camelCase

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

  • 0c4c275: trigger initial canary release

  • 6fd51c0: fix(provider): preserve error type prefix in getErrorMessage

  • ce769dd: feat(provider): add experimental Realtime API support for voice conversations

    Adds first-class support for realtime (speech-to-speech) APIs:

    • Experimental_RealtimeModelV4 spec in @ai-sdk/provider with normalized event types and factory
    • OpenAI, Google, and xAI realtime provider implementations
    • openai.experimental_realtime() / google.experimental_realtime() / xai.experimental_realtime() work in both server and browser
    • .getToken() static method on each provider for server-side ephemeral token creation
    • experimental_getRealtimeToolDefinitions helper for provider session tool definitions
    • experimental_useRealtime hook in @ai-sdk/react returning UIMessage[] (aligned with useChat), with onToolCall and addToolOutput for client-driven tool execution
    • inputAudioTranscription session config for showing transcribed user audio messages when supported by the provider
  • e311194: feat(ai): allow passing provider instance to uploadFile and uploadSkill as shorthand

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

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by cubic

Upgrade @ai-sdk/provider from 3.0.13 to 4.0.2 to adopt v4 and enable realtime voice and streaming transcription features. This is a major update that drops CJS and requires ESM and Node 22+.

  • Dependencies

    • Bump @ai-sdk/provider to ^4.0.2 in apps/api/package.json and packages/ai/package.json.
    • v4 adds provider references, reasoning support, and experimental realtime APIs.
  • Migration

    • Ensure Node 22+ in local, CI, and runtime.
    • Replace any require() with ESM import for @ai-sdk/provider.
    • If using file/content parts, align to v4 types (e.g., reasoning-file, unified file part types; no separate image part).

Written for commit 181360a. Summary will update on new commits.

Review in cubic

Bumps [@ai-sdk/provider](https://github.com/vercel/ai/tree/HEAD/packages/provider) from 3.0.13 to 4.0.2.
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/provider/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/provider@4.0.2/packages/provider)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 8, 2026
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
databuddy-status Ready Ready Preview, Comment Jul 8, 2026 4:15am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
dashboard Skipped Skipped Jul 8, 2026 4:15am
documentation Skipped Skipped Jul 8, 2026 4:15am

@unkey-deploy

unkey-deploy Bot commented Jul 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Unkey Deploy

Name Status Preview Inspect Updated (UTC)
api (preview) Failed Visit Preview Inspect Jul 8, 2026 4:16am

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

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants