content/docs/08-migration-guides/37-migration-guide-3-3.mdx
No breaking changes in this release.
The following changelog encompasses all changes made in the 3.2.x series, introducing significant improvements and new features across the AI SDK and its associated libraries:
useObject hook (for React) that can be used in conjunction with streamObject on the backend to enable seamless streaming of structured data.useChat with experimental support for attachments and streaming tool calls, providing more versatile chat functionalities.useChat to prevent empty submissions, improving the quality of user interactions by ensuring that only intended inputs are processed.useChat's reload function, now correctly sending data, body, and headers.setThreadId helper for useAssistant, simplifying thread management.useChat and useCompletion, allowing developers to use these functions with any backend. The stream data protocol also enables the use of custom frontends with streamText.onFinish to useChat hook for access to token usage and finish reason.embed and embedMany functions, offering insights into token usage.stopSequences and topK, allowing for finer control over text generation.generateText, providing access to intermediate tool calls and results.toDataStreamResponse function, enabling conversion of LangChain output streams to data stream responses.useChat and useCompletion to achieve feature parity with React implementations.useAssistant hook.useChat.