ai@7.0.112
Vercel AI SDK 7.0.112 fixes UI message validation, reasoning file pruning, provider file URI serialization, and adds consumer cancellation reporting in UI message stream callbacks.
Why this signal matters
Vercel AI SDK patch release ai@7.0.112 introduces a new feature and several bug fixes. It adds support for reporting consumer cancellations in UI message stream end callbacks. Fixes include: pruning reasoning file parts upon reasoning removal, preserving opaque file URI strings for provider serialization, and retaining parsed metadata and data values during UI message validation. It also bumps dependencies @ai-sdk/gateway to 4.0.90, @ai-sdk/provider to 4.0.18, and @ai-sdk/provider-utils to 5.0.46.
Actionable summary
ai@7.0.112 adds consumer cancellation reporting to UI message stream end callbacks, prunes reasoning file parts when removing reasoning, preserves opaque file URI strings during provider serialization, and maintains parsed metadata and data values during UI message validation.
- Agent usefulness
- 82/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade to ai@7.0.112 if relying on stream end callbacks for cancellation handling or needing UI message metadata/data preservation fixes.