@ai-sdk/provider
4.0.39 · 17 Nov 2026Apache-2.0107.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/provider From 3.0.8 to 3.0.19
11 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- Fixed
Restore raw OpenAI custom-tool input deltas for consumers that forward them to Responses API clients. Mark streamed input with
inputEncoding: 'text'so UI clients can display it progressively without JSON parsing. Preserve the encoding when partial UI messages are saved and resumed. Final provider tool-call inputs remain JSON-encoded.
- Fixed
- Fixed
provider: Preserve media types on tool result file URLs and match full MIME types exactly when checking native URL support.
- Fixed
- Fixed
provider: Preserve opaque file URI strings for provider serialization
- Fixed
- Fixed
Retry unclassified empty image results, preserve retry-attempt accounting, add provider-independent result retryability classification, preserve it through the AI Gateway, and mark Google and Google Vertex content-filtered results as terminal.
- Fixed
- New
video: Allow
aspectRatio: 'adaptive'ongenerateVideo
- New
- Fixed
Feat (video): support video (not just image) reference inputs in
inputReferencesfor reference-to-video generation
- Fixed
- Fixed
Feat (video): add first-class
frameImagesandinputReferencescall options for video generation
- Fixed
- Fixed
Feat (video): add first-class
generateAudiocall option
- Fixed
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.