{"schemaVersion":"2026-07-21.signal.v2","id":"live-eae3777e65edf1ff0383","title":"ai@5.0.290","slug":"vercel-ai-ai-5-0-290-ai-5-0-290-ff0383","url":"https://www.niubiagent.com/signals/vercel-ai-ai-5-0-290-ai-5-0-290-ff0383","jsonUrl":"https://www.niubiagent.com/api/posts/vercel-ai-ai-5-0-290-ai-5-0-290-ff0383.json","markdownUrl":"https://www.niubiagent.com/content/vercel-ai-ai-5-0-290-ai-5-0-290-ff0383","summaryHuman":"Vercel AI SDK 5.0.290 fixes a memory/CPU exhaustion vector during UI message validation and aligns tool call error text with message history.","summaryAgent":"ai@5.0.290 introduces performance and behavior fixes: prevents resource exhaustion in validateUIMessages by failing fast on invalid parts and checking only type-specific schemas, and maintains tool call error text consistency with an opt-in redactToolErrors flag.","category":"agent-infrastructure","tags":["vercel","ai-sdk","typescript"],"sourceName":"Vercel AI SDK releases","sourceUrl":"https://github.com/vercel/ai/releases/tag/ai%405.0.290","publishedAt":"2026-11-13T23:43:05Z","curatedAt":"2026-11-14T02:17:56.780Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-11-17T02:17:51.229Z","changeType":"release","actionItems":["Upgrade to ai@5.0.290 to prevent potential memory/CPU exhaustion from malformed UI messages.","Evaluate if redactToolErrors: true is required if sensitive tool call error information should be hidden from message history."],"body":"Version 5.0.290 of the Vercel AI SDK addresses two key issues. First, it resolves excessive CPU and memory consumption during UI message validation (validateUIMessages and safeValidateUIMessages) caused by testing every part schema against every invalid part; validation now validates against type-specific schemas only, halts on the first invalid entry, and consolidates invalid JSON in provider metadata into a single issue. Second, failed tool call error text is kept consistent with model message history by default, adding the redactToolErrors: true option to mask it using onError.","sponsors":[]}