@ai-sdk/provider
4.0.39 · 17 Nov 2026Apache-2.0107.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/provider From 4.0.35 to 4.0.36
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Support native URL transcription with an optional provider capability, keeping existing file-generation contracts unchanged. Groq sends HTTP(S) audio URLs through its
urlparameter without downloading and re-uploading them, avoiding the attachment upload limit. Supplying a customdownloadfunction retains local download behavior. - New
ai: Support provider-owned realtime transports
- New
Expose optional transcription word timings separately from segments and accept shared timestampGranularities. Explicit provider timing settings take precedence. OpenAI now sends timestamp_granularities only with verbose_json and warns when a requested timing is unavailable or excluded.
- New
Add typed streaming heartbeat parts. Anthropic emits them only with
includePings: true(disabled by default), without requiring raw chunks. Core forwards pings through stream retries without storing them as generated content or sending them to UI message streams. Consumers with exhaustive stream-part switches must handle the newpingunion variant when upgrading, even when the opt-in is disabled. Typed pings do not flush partial words during stream smoothing.
- New
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.