AI SDK

AI

TypeScript toolkit for building AI-powered applications.

Latest 6.0.256 · by VercelWebsitevercel/ai

Release activity

Release activity — 49 releases across 12 days since Jul 31, 2026. Each cell is one day; darker means more releases that day. Nothing is recorded before Jul 31, 2026. Older weeks are hidden at this screen width.
MayJunJulAug
SundayNo releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026
Monday4 releases on Aug 3, 20264 releases on Aug 10, 2026No releases on Aug 17, 2026
Tuesday3 releases on Aug 4, 20267 releases on Aug 11, 2026
Wednesday3 releases on Aug 5, 20266 releases on Aug 12, 2026
Thursday3 releases on Aug 6, 20262 releases on Aug 13, 2026
Friday6 releases on Jul 31, 20264 releases on Aug 7, 20264 releases on Aug 14, 2026
Saturday3 releases on Aug 1, 2026No releases on Aug 8, 2026No releases on Aug 15, 2026

49 releases since Jul 31, 2026, busiest day 7

Changelog

6.0.256

Latest
Patch Changes
  • Updated dependencies [31205a4]
    • @ai-sdk/provider-utils@4.0.46
    • @ai-sdk/gateway@3.0.174
View originalPermalink
How 6.0.256 went

5.0.237

Fixed 2
  • Avoid repeatedly cloning accumulated text in readUIMessageStream while preserving independent snapshots for mutable nested values
  • Fix declaration emit for exported values that infer an Output type
Patch Changes
  • bf11412: Avoid repeatedly cloning accumulated text in readUIMessageStream while preserving independent snapshots for mutable nested values.
  • 7ec6b69: Fix declaration emit for exported values that infer an Output type.
View originalPermalink
How 5.0.237 went

7.0.66

Fixed 2
  • Keep chat status submitted until response content begins streaming
  • Fix declaration emit for exported values that infer an Output type
Patch Changes
  • 0782259: Keep chat status submitted until response content begins streaming.
  • 2fd1214: Fix declaration emit for exported values that infer an Output type.
View originalPermalink
How 7.0.66 went

6.0.255

Fixed 3
  • Keep chat status submitted until response content begins streaming
  • Avoid repeatedly cloning accumulated text in readUIMessageStream while preserving independent snapshots for mutable nested values
  • Fix declaration emit for exported values that infer an Output type
Patch Changes
  • 35a94b0: Keep chat status submitted until response content begins streaming.
  • 93d24c6: Avoid repeatedly cloning accumulated text in readUIMessageStream while preserving independent snapshots for mutable nested values.
  • 1bd1caf: Fix declaration emit for exported values that infer an Output type.
View originalPermalink
How 6.0.255 went

7.0.65

Fixed 3
  • Avoid repeatedly cloning accumulated text in readUIMessageStream while preserving independent snapshots for mutable nested values
  • Preserve root-level JSON Schema definitions when wrapping array output schemas
  • Propagate errors thrown by the Chat onFinish callback to the initiating request
Patch Changes
  • dc8caae: Avoid repeatedly cloning accumulated text in readUIMessageStream while preserving independent snapshots for mutable nested values.
  • 72ec74f: Preserve root-level JSON Schema definitions when wrapping array output schemas.
  • c5b0515: Propagate errors thrown by the Chat onFinish callback to the initiating request.
  • Updated dependencies [16650e9]
    • @ai-sdk/gateway@4.0.52
View originalPermalink
How 7.0.65 went

5.0.236

Changed 1
  • Keep chat status submitted until response content begins streaming
Fixed 1
  • Propagate errors thrown by chat onFinish callbacks
Patch Changes
  • c425210: Propagate errors thrown by chat onFinish callbacks.
  • eb7f2ac: Keep chat status submitted until response content begins streaming.
  • Updated dependencies [df0cbe9]
    • @ai-sdk/gateway@2.0.134
View originalPermalink
How 5.0.236 went

5.0.235

Changed 1
  • Updated @ai-sdk/gateway to version 2.0.133
Patch Changes
  • Updated dependencies [91e93fa]
  • Updated dependencies [de0921d]
    • @ai-sdk/gateway@2.0.133
View originalPermalink
How 5.0.235 went

6.0.253

Fixed 1
  • Preserve reasoning block IDs from UI message streams on reasoning UI parts
Patch Changes
  • d91d30b: Preserve reasoning block IDs from UI message streams on reasoning UI parts.
  • Updated dependencies [0ec239b]
    • @ai-sdk/gateway@3.0.172
View originalPermalink
How 6.0.253 went

7.0.64

Changed 1
  • @ai-sdk/gateway dependency updated to version 4.0.51
Patch Changes
  • Updated dependencies [ea75787]
  • Updated dependencies [b20de9e]
    • @ai-sdk/gateway@4.0.51
View originalPermalink
How 7.0.64 went

6.0.252

Changed 1
  • Allow providers without reranking model support to satisfy the Provider type
Fixed 1
  • Propagate errors thrown by the Chat onFinish callback to the initiating request
Patch Changes
  • 2f96d3f: Allow providers without reranking model support to satisfy the Provider type.
  • afb1965: Propagate errors thrown by the Chat onFinish callback to the initiating request.
  • Updated dependencies [18b0965]
  • Updated dependencies [451d2c3]
    • @ai-sdk/gateway@3.0.171
View originalPermalink
How 6.0.252 went

5.0.234

Fixed 1
  • Preserve reasoning part IDs when processing UI message streams
Patch Changes
  • 412c15e: Preserve reasoning part IDs when processing UI message streams.
  • Updated dependencies [1e632f7]
    • @ai-sdk/gateway@2.0.132
View originalPermalink
How 5.0.234 went

7.0.63

Changed 1
  • Allow providers without reranking model support to be assigned to Provider
Fixed 1
  • Preserve reasoning block IDs from UI message streams on reasoning UI parts
Patch Changes
  • d0a5807: Preserve reasoning block IDs from UI message streams on reasoning UI parts.
  • dcf33e8: Allow providers without reranking model support to be assigned to Provider.
  • Updated dependencies [a4d386d]
    • @ai-sdk/gateway@4.0.50
View originalPermalink
How 7.0.63 went

5.0.233

Fixed 1
  • Prevent resumeStream from copying the previous assistant message into the resumed response
Patch Changes
  • 2604cb6: Prevent resumeStream from copying the previous assistant message into the resumed response.
View originalPermalink
How 5.0.233 went

7.0.62

Added 1
  • Add typed custom bodies to Completion APIs
Patch Changes
  • e0bcf52: feat(ui): add typed custom bodies to Completion APIs
View originalPermalink
How 7.0.62 went

5.0.232

Fixed 1
  • Prevent streaming telemetry spans from ending twice or remaining unfinished when model calls fail
Patch Changes
  • 66dd974: Prevent streaming telemetry spans from ending twice or remaining unfinished when model calls fail.
  • Updated dependencies [0e51b7b]
    • @ai-sdk/provider-utils@3.0.32
    • @ai-sdk/gateway@2.0.131
View originalPermalink
How 5.0.232 went

6.0.250

Fixed 2
  • Prevent streaming telemetry spans from ending twice when model calls fail
  • Prevent resumeStream from copying the previous assistant message into the resumed response
Patch Changes
  • a077695: Prevent streaming telemetry spans from ending twice when model calls fail.
  • 7ce3b8c: Prevent resumeStream from copying the previous assistant message into the resumed response.
  • Updated dependencies [b2a4d5a]
    • @ai-sdk/provider-utils@4.0.45
    • @ai-sdk/gateway@3.0.170
View originalPermalink
How 6.0.250 went

5.0.231

Fixed 1
  • Stop pending and active resumed chat streams after cancellation, and prevent overlapping resumptions from applying stale updates
Patch Changes
  • 2709314: Stop pending and active resumed chat streams after cancellation, and prevent overlapping resumptions from applying stale updates.
  • Updated dependencies [b474448]
    • @ai-sdk/gateway@2.0.130
View originalPermalink
How 5.0.231 went

6.0.249

Fixed 1
  • Stop pending and active resumed chat streams after cancellation, and prevent overlapping resumptions from applying stale updates
Patch Changes
  • a774b7b: Stop pending and active resumed chat streams after cancellation, and prevent overlapping resumptions from applying stale updates.
  • Updated dependencies [b39f987]
  • Updated dependencies [d79117b]
    • @ai-sdk/gateway@3.0.169
View originalPermalink
How 6.0.249 went

6.0.248

Added 1
  • Allow `aspectRatio: 'adaptive'` on `generateVideo` for video models that derive output ratio from input
Patch Changes
  • 2171d15: feat(video): allow aspectRatio: 'adaptive' on generateVideo

    Some video models derive the output ratio from the input and reject explicit {width}:{height} values — BytePlus Seedance 2.5 does this for first-frame, first-and-last-frame, editing, and extension tasks. aspectRatio on VideoModelV3CallOptions, and experimental_generateVideo is now `${number}:${number}` | 'adaptive', so those calls no longer need a type assertion. Support is provider-specific.

  • Updated dependencies [2171d15]

    • @ai-sdk/provider@3.0.15
    • @ai-sdk/gateway@3.0.168
    • @ai-sdk/provider-utils@4.0.44
View originalPermalink
How 6.0.248 went

6.0.247

Patch Changes
  • Updated dependencies [dab0a08]
    • @ai-sdk/provider-utils@4.0.43
    • @ai-sdk/gateway@3.0.167
View originalPermalink
How 6.0.247 went

7.0.59

Patch Changes
  • Updated dependencies [401a4ba]
  • Updated dependencies [7af9646]
    • @ai-sdk/provider-utils@5.0.26
    • @ai-sdk/gateway@4.0.47
View originalPermalink
How 7.0.59 went

5.0.230

Changed 1
  • Updated @ai-sdk/gateway dependency to version 2.0.129
Patch Changes
  • Updated dependencies [c524e57]
    • @ai-sdk/gateway@2.0.129
View originalPermalink
How 5.0.230 went

5.0.229

Changed 1
  • Updated @ai-sdk/gateway to version 2.0.128
Patch Changes
  • Updated dependencies [bd09b8e]
    • @ai-sdk/gateway@2.0.128
View originalPermalink
How 5.0.229 went

7.0.58

Added 1
  • Allow `aspectRatio: 'adaptive'` on `generateVideo` for video models that derive output ratio from input.
Changed 1
  • Reduce bundle size by making internal Zod v4 imports tree-shakeable.
Fixed 1
  • Respect ToolLoopAgent timeouts configured in agent settings.
Patch Changes
  • 72ad23f: Respect ToolLoopAgent timeouts configured in agent settings.

  • ad6a650: feat(video): allow aspectRatio: 'adaptive' on generateVideo

    Some video models derive the output ratio from the input and reject explicit {width}:{height} values — BytePlus Seedance 2.5 does this for first-frame, first-and-last-frame, editing, and extension tasks. aspectRatio on VideoModelV3CallOptions, VideoModelV4CallOptions, and experimental_generateVideo is now `${number}:${number}` | 'adaptive', so those calls no longer need a type assertion. Support is provider-specific.

  • 81cd026: Reduce bundle size by making internal Zod v4 imports tree-shakeable.

  • Updated dependencies [c477556]

  • Updated dependencies [ad6a650]

  • Updated dependencies [81cd026]

    • @ai-sdk/gateway@4.0.46
    • @ai-sdk/provider@4.0.7
    • @ai-sdk/provider-utils@5.0.25
View originalPermalink
How 7.0.58 went

7.0.57

Changed 2
  • Updated @ai-sdk/provider-utils to 5.0.24
  • Updated @ai-sdk/gateway to 4.0.45
Patch Changes
  • Updated dependencies [1937bef]
    • @ai-sdk/provider-utils@5.0.24
    • @ai-sdk/gateway@4.0.45
View originalPermalink
How 7.0.57 went

6.0.246

Changed 2
  • Updated @ai-sdk/provider-utils to 4.0.42
  • Updated @ai-sdk/gateway to 3.0.166
Patch Changes
  • Updated dependencies [ee2bf30]
    • @ai-sdk/provider-utils@4.0.42
    • @ai-sdk/gateway@3.0.166
View originalPermalink
How 6.0.246 went

7.0.56

Added 1
  • Expose provider metadata on language-model-call end callbacks and telemetry spans
Fixed 2
  • Make retried doStart calls idempotent by minting one idempotency token per logical start and forwarding it as an idempotency-key header to prevent duplicate billable generations on retry after lost response
  • Stop pending and active resumed chat streams after cancellation and prevent overlapping resumptions from applying stale updates
Patch Changes
  • 25c9120: Expose provider metadata on language-model-call end callbacks and telemetry spans.

  • 89080c8: fix (ai/gateway): make retried doStart calls idempotent

    generateVideo retries doStart, which creates a billable generation, so a retry after a lost response could start a second one. It now mints one idempotency token per logical start — outside the retry closure — and forwards it as an idempotency-key header, so a provider that deduplicates (the Vercel AI Gateway does) sees the same key on every attempt. GatewayVideoModel simply forwards the caller's headers rather than inferring retry identity from an options object, which would collide across unrelated calls.

  • 79d6195: Stop pending and active resumed chat streams after cancellation, and prevent overlapping resumptions from applying stale updates.

  • Updated dependencies [89080c8]

  • Updated dependencies [89080c8]

    • @ai-sdk/gateway@4.0.44
View originalPermalink
How 7.0.56 went

7.0.55

Added 1
  • Add batch APIs
Patch Changes
  • 3469d0c: feat: add batch APIs
  • Updated dependencies [3469d0c]
    • @ai-sdk/provider@4.0.6
    • @ai-sdk/gateway@4.0.43
    • @ai-sdk/provider-utils@5.0.23
View originalPermalink
How 7.0.55 went

6.0.244

Fixed 1
  • Preserve preceding assistant messages when regenerating a response
Patch Changes
  • 79e58aa: Preserve preceding assistant messages when regenerating a response.
View originalPermalink
How 6.0.244 went

7.0.54

Added 2
  • Allow `ToolLoopAgent` `prepareCall` callbacks to read and override the top-level `reasoning` option
  • Add `defaultInstructionsMiddleware` for applying default language model instructions while preserving call-level overrides
Fixed 1
  • Preserve preceding assistant messages when regenerating a response
Patch Changes
  • a6b17a2: Allow ToolLoopAgent prepareCall callbacks to read and override the top-level reasoning option.
  • 5615eb7: Add defaultInstructionsMiddleware for applying default language model instructions while preserving call-level overrides.
  • 36a3ff6: Preserve preceding assistant messages when regenerating a response.
View originalPermalink
How 7.0.54 went

6.0.243

Fixed 1
  • Skip re-validating tool input for terminal output-available UI message parts
Patch Changes
  • dd5d344: Skip re-validating tool input for terminal output-available UI message parts.
  • Updated dependencies [0cd92fa]
    • @ai-sdk/gateway@3.0.165
View originalPermalink
How 6.0.243 went

5.0.228

Changed 1
  • Updated @ai-sdk/gateway to version 2.0.127
Patch Changes
  • Updated dependencies [b74765f]
    • @ai-sdk/gateway@2.0.127
View originalPermalink
How 5.0.228 went

5.0.227

Changed 1
  • Skip re-validating tool input for terminal output-available UI message parts
Patch Changes
  • 212d793: Skip re-validating tool input for terminal output-available UI message parts.
  • Updated dependencies [1ce55ef]
  • Updated dependencies [f50dc31]
    • @ai-sdk/gateway@2.0.126
View originalPermalink
How 5.0.227 went

7.0.52

Fixed 1
  • Skip re-validating tool input for terminal output-available UI message parts
Patch Changes
  • 3836a85: Skip re-validating tool input for terminal output-available UI message parts.
  • Updated dependencies [1bec07d]
  • Updated dependencies [53c326e]
  • Updated dependencies [d765f82]
    • @ai-sdk/provider-utils@5.0.21
    • @ai-sdk/gateway@4.0.41
View originalPermalink
How 7.0.52 went

6.0.242

Changed 1
  • Updated @ai-sdk/gateway to version 3.0.164
Patch Changes
  • Updated dependencies [f615718]
  • Updated dependencies [48d5dff]
    • @ai-sdk/gateway@3.0.164
View originalPermalink
How 6.0.242 went

7.0.51

Patch Changes
  • Updated dependencies [160ccdb]
    • @ai-sdk/provider-utils@5.0.20
    • @ai-sdk/gateway@4.0.40
View originalPermalink
How 7.0.51 went

7.0.50

Added 3
  • Add asynchronous start/status flow to the experimental video model interface (VideoModelV4) with doStart, doStatus, and handleWebhookOption methods
  • Add poll and webhook options to experimental_generateVideo for asynchronous completion orchestration
  • Add custom delay implementation support for polling configuration to enable durable workflow compatibility
Changed 1
  • Simplify tool caller configuration in code-mode
Patch Changes
  • 79e133c: async APIs for generateVideo (poll, webhook)

    Adds an asynchronous start/status flow to the experimental video model interface (VideoModelV4): models may now implement doStart, doStatus, and handleWebhookOption instead of (or in addition to) doGenerate, and experimental_generateVideo accepts poll and webhook options to orchestrate completion via polling or webhooks. Polling configuration can use a custom delay implementation for durable workflow compatibility.

  • da64b51: feat(code-mode): simplify tool caller configuration

  • Updated dependencies [79e133c]

    • @ai-sdk/provider@4.0.5
    • @ai-sdk/gateway@4.0.39
    • @ai-sdk/provider-utils@5.0.19
View originalPermalink
How 7.0.50 went

6.0.241

Patch Changes
  • Updated dependencies [7e50c52]
    • @ai-sdk/gateway@3.0.163
View originalPermalink
How 6.0.241 went

5.0.226

Changed 1
  • Updated @ai-sdk/gateway to 2.0.125
Patch Changes
  • Updated dependencies [ecd9c1c]
    • @ai-sdk/gateway@2.0.125
View originalPermalink
How 5.0.226 went

7.0.49

Changed 1
  • Updated @ai-sdk/gateway to version 4.0.38
Patch Changes
  • Updated dependencies [fb6d2f8]
    • @ai-sdk/gateway@4.0.38
View originalPermalink
How 7.0.49 went

7.0.48

Changed 1
  • @ai-sdk/gateway updated to version 4.0.37
Patch Changes
  • Updated dependencies [bdd5e28]
    • @ai-sdk/gateway@4.0.37
View originalPermalink
How 7.0.48 went

6.0.240

Patch Changes
  • Updated dependencies [b28367e]
    • @ai-sdk/gateway@3.0.162
View originalPermalink
How 6.0.240 went

5.0.225

Changed 1
  • Updated @ai-sdk/gateway to version 2.0.124
Patch Changes
  • Updated dependencies [8ea0ce4]
    • @ai-sdk/gateway@2.0.124
View originalPermalink
How 5.0.225 went

7.0.47

Changed 2
  • Updated @ai-sdk/provider-utils to version 5.0.18
  • Updated @ai-sdk/gateway to version 4.0.36
Patch Changes
  • Updated dependencies [5fc7da5]
  • Updated dependencies [93b2acd]
    • @ai-sdk/provider-utils@5.0.18
    • @ai-sdk/gateway@4.0.36
View originalPermalink
How 7.0.47 went

5.0.224

Changed 1
  • Updated @ai-sdk/gateway to version 2.0.123
Patch Changes
  • Updated dependencies [d27b3c3]
    • @ai-sdk/gateway@2.0.123
View originalPermalink
How 5.0.224 went

7.0.46

Changed 1
  • Updated @ai-sdk/gateway to version 4.0.35
Patch Changes
  • Updated dependencies [4f2e064]
    • @ai-sdk/gateway@4.0.35
View originalPermalink
How 7.0.46 went

6.0.239

Patch Changes
  • Updated dependencies [d3d9e0b]
    • @ai-sdk/gateway@3.0.161
View originalPermalink
How 6.0.239 went

7.0.45

Added 2
  • Support experimental_toolCallers in streamText
  • Support experimental tool callers in ToolLoopAgent
Fixed 1
  • Warn when generateText receives streaming-only firstChunkMs or chunkMs timeout settings
Patch Changes
  • d6ce0ee: feat(ai): support experimental_toolCallers in streamText
  • fa95504: feat(ai): support experimental tool callers in ToolLoopAgent
  • 349afe7: Warn when generateText receives streaming-only firstChunkMs or chunkMs timeout settings.
  • Updated dependencies [fa95504]
    • @ai-sdk/provider-utils@5.0.17
    • @ai-sdk/gateway@4.0.34
View originalPermalink
How 7.0.45 went

7.0.44

Fixed 1
  • Fix telemetry attribution for language model calls that resolve to a different response model
Patch Changes
  • 015acb4: fix telemetry attribution for language model calls that resolve to a different response model
View originalPermalink
How 7.0.44 went
View all

Discussion

If you publish AI SDK, you can claim this product by proving you administer its repository.