From the source
Vercel released AI SDK 5, a major update to its open-source TypeScript/JavaScript AI toolkit.
The release introduces fully typed chat integrations for React, Svelte, Vue, and Angular, with separate UI and model message types and customizable data parts for streaming arbitrary data.






