Skip to content

chore(deps): bump @ai-sdk/provider from 3.0.8 to 4.0.0#145

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

chore(deps): bump @ai-sdk/provider from 3.0.8 to 4.0.0#145
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ai-sdk/provider-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 30, 2026

Copy link
Copy Markdown
Contributor

Bumps @ai-sdk/provider from 3.0.8 to 4.0.0.

Release notes

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

@​ai-sdk/provider-utils@​3.0.28

Patch Changes

  • b85c4fb: Limit JSON response body reads in response handlers to prevent unbounded memory use.
Changelog

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

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

  • b8396f0: trigger initial beta release

  • 0416e3e: feat (video): add first-class generateAudio call option

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

4.0.0-beta.20

Patch Changes

  • 0416e3e: feat (video): add first-class generateAudio call option

4.0.0-beta.19

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​ai-sdk/provider since your current version.


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.8 to 4.0.0 to adopt the v4 spec and new capabilities. This major release is ESM-only and requires Node.js 22+.

  • Migration
    • Require Node.js 22 or newer.
    • Replace CommonJS require() with ESM import when using @ai-sdk/provider.
    • If you use image/file parts or tool outputs, update to the new tagged file-* types (the separate image part type was removed).

Written for commit 3a7b5e5. 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.8 to 4.0.0.
- [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.0/packages/provider)

---
updated-dependencies:
- dependency-name: "@ai-sdk/provider"
  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 added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 30, 2026
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