ai@5.0.264
Vercel AI SDK 5.0.264 fixes an out-of-order execution bug for streamed tool input callbacks in newer Node.js versions, preserves opaque file URI strings during serialization, and removes duplicate content-type headers in chat transport requests.
Why this signal matters
ai@5.0.264 is a patch release addressing multiple fixes across the SDK and its dependencies. Notably, it resolves an issue where streamed tool input callbacks fired out of order on newer Node.js runtimes by awaiting start and delta callbacks prior to executing onInputAvailable. Additionally, it preserves opaque file URI strings during provider serialization and prevents duplicate content-type headers in chat transport requests. Dependency bumps include @ai-sdk/provider@2.0.5, @ai-sdk/gateway@2.0.156, and @ai-sdk/provider-utils@3.0.38.
Actionable summary
Vercel AI SDK release ai@5.0.264 resolves Node.js callback ordering issues by awaiting start and delta callbacks before invoking onInputAvailable. It also fixes duplicate content types in chat transport requests and retains opaque file URI strings for provider serialization.
- Agent usefulness
- 82/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade to ai@5.0.264 if streaming tool inputs on modern Node.js runtimes or encountering duplicated content-type headers.