Repository navigation
@tanstack/ai-angular@0.13.0
·
216 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Minor Changes
-
#1645
807c5e1-StructuredOutputPart.datais no longer optional whenstatusis'complete'. After you checkpart.status === 'complete', TypeScript knowspart.datais set.Migration: if you validate messages with a schema typed as
UIMessage(for examplez.ZodType<UIMessage>), split thestructured-outputpart bystatus. Give'complete'a requireddatafield.Add
isHydratingtouseChat(andinjectChat,createChat) and anonHydratingChangecallback plusgetIsHydrating()toChatClient. It istruewhile the chat is rebuilt from persistence (the server hydrate withpersistence: true, or an async storage adapter). It turnsfalsewhen the transcript is in place and any in-flight run is re-joined, or when the load fails.
Patch Changes
- Updated dependencies [
807c5e1]:- @tanstack/ai@0.65.1
- @tanstack/ai-client@0.38.0