@assistant-ui/react breaking changes
Updated December 4, 2026
On this page
Latest version 0.15.38, released November 22, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@assistant-ui/react 0.15.37 breaking changes
- Removed
Unstable_TriggerPopoverAriaProps.aria-expanded
Unstable_TriggerPopoverAriaProps.aria-expanded was removed in @assistant-ui/react 0.15.37 npmjs.com - Behavior changed
ComposerPrimitive.Input
The input now omits aria-expanded so textbox inputs no longer emit an invalid ARIA attribute while a trigger popover is open. Code that reads aria-expanded from this element must stop relying on it. github.com - Behavior changed
unstable_useTriggerPopoverAriaProps
The hook now omits aria-expanded so textbox inputs no longer emit an invalid ARIA attribute while a trigger popover is open. Code that reads aria-expanded from this hook's output must stop relying on it. github.com - Signature changed
ThreadViewportState
Was type ThreadViewportState = {readonly isAtBottom: boolean; readonly scrollToBottom: (config?: {behavior?: ScrollBehavior | undefined;}) => void; readonly onScrollToBottom: (callback: ({behavior}: {behavior: ScrollBehavior;}) => void) =>... npmjs.com - Signature changed
ThreadViewportState.registerContentInset
Was readonly registerContentInset: () => SizeHandle; now readonly registerContentInset: (measure?: () => number) => SizeHandle. npmjs.com - Signature changed
useMessagePartText
Was const useMessagePartText: () => (TextMessagePart & {readonly status: MessagePartStatus | import("@assistant-ui/core").ToolCallMessagePartStatus;}) | (ReasoningMessagePart & {readonly status: MessagePartStatus |... npmjs.com
@assistant-ui/react 0.15.35 breaking changes
- Behavior changed
ActionBarPrimitive.Resume
A stale reply that wrote content is now a regular error with Regenerate, and ActionBarPrimitive.Resume deletes it and its stored row and runs again from the user message instead of starting a branch. Runtimes that cannot delete messages... github.com - Behavior changed
message.runState
A reply whose run went stale after writing content now has runState undefined and is a regular error; only a reply that wrote nothing reads as runState "stale". github.com
@assistant-ui/react 0.15.34 breaking changes
- Behavior changed
ActionBarPrimitive.Root
With hideWhenRunning set, ActionBarPrimitive.Root now also hides while another browser tab is still writing the reply. Check any UI that must stay visible during that time. github.com - Behavior changed
useCloudThreadListAdapter
A reply whose run exceeds staleAfter (default 30 seconds) without a heartbeat now loads as an interrupted error, not vanishing. Use the new ActionBarPrimitive.Resume to start a new branch from it. github.com
@assistant-ui/react 0.15.32 breaking changes
- Signature changed
ChainOfThoughtPrimitive.AccordionTrigger.Props
Was type Props = ActionButtonProps<typeof useChainOfThoughtAccordionTrigger>; now type Props = ComponentPropsWithoutRef<typeof Primitive.button>. npmjs.com - Signature changed
ChainOfThoughtPrimitive.AccordionTriggerPrimitive.Props
Was type Props = ActionButtonProps<typeof useChainOfThoughtAccordionTrigger>; now type Props = ComponentPropsWithoutRef<typeof Primitive.button>. npmjs.com
@assistant-ui/react 0.15.31 breaking changes
- Signature changed
ActionBarPrimitive.Copy
Was const ActionBarPrimitiveCopy: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {asChild?: boolean;}, "ref"> & {render?... npmjs.com - Signature changed
ActionBarPrimitive.Edit
Was const ActionBarPrimitiveEdit: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {asChild?: boolean;}, "ref"> & {render?... npmjs.com - Signature changed
ActionBarPrimitive.ExportMarkdown
Was const ActionBarPrimitiveExportMarkdown: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {asChild?: boolean;}, "ref"> &... npmjs.com - Signature changed
ActionBarPrimitive.FeedbackNegative
Was const ActionBarPrimitiveFeedbackNegative: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {asChild?: boolean;}, "ref"> &... npmjs.com - Signature changed
ActionBarPrimitive.FeedbackPositive
Was const ActionBarPrimitiveFeedbackPositive: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {asChild?: boolean;}, "ref"> &... npmjs.com - Signature changed
ActionBarPrimitive.Reload
Was const ActionBarPrimitiveReload: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {asChild?: boolean;}, "ref"> & {render?... npmjs.com - Signature changed
ActionBarPrimitive.Root
Was const ActionBarPrimitiveRoot: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {asChild?: boolean;}, "ref"> & {render?... npmjs.com - Signature changed
ActionBarPrimitive.Speak
Was const ActionBarPrimitiveSpeak: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {asChild?: boolean;}, "ref"> & {render?... npmjs.com - Signature changed
ActionBarPrimitive.StopSpeaking
Was const ActionBarPrimitiveStopSpeaking: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {asChild?: boolean;}, "ref"> &... npmjs.com - Signature changed
AttachmentPrimitive.Remove
Was const AttachmentPrimitiveRemove: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {asChild?: boolean;}, "ref"> &... npmjs.com
And 73 more in this version. Sign up to see every change
@assistant-ui/react 0.15.30 breaking changes
- Behavior changed
onDirectiveSelect
onDirectiveSelect now fires at the same point as onInserted, once the directive is in the composer text. Code that depended on the earlier timing may need adjusting. github.com - Behavior changed
onInserted
onInserted for a directive trigger is now called under the Lexical composer only after the directive is in the composer text. Code that assumed the earlier timing may need adjusting. github.com - Signature changed
LanguageModelConfig
Was export type {ModelContext, ModelContextProvider, LanguageModelConfig, LanguageModelV1CallSettings} from "@assistant-ui/core"; now export type {ModelContext, ModelContextOptions, ModelContextProvider, SystemPart, LanguageModelConfig... npmjs.com - Signature changed
LanguageModelV1CallSettings
Was export type {ModelContext, ModelContextProvider, LanguageModelConfig, LanguageModelV1CallSettings} from "@assistant-ui/core"; now export type {ModelContext, ModelContextOptions, ModelContextProvider, SystemPart, LanguageModelConfig... npmjs.com - Signature changed
ModelContext
Was export type {ModelContext, ModelContextProvider, LanguageModelConfig, LanguageModelV1CallSettings} from "@assistant-ui/core"; now export type {ModelContext, ModelContextOptions, ModelContextProvider, SystemPart, LanguageModelConfig... npmjs.com - Signature changed
ModelContextProvider
Was export type {ModelContext, ModelContextProvider, LanguageModelConfig, LanguageModelV1CallSettings} from "@assistant-ui/core"; now export type {ModelContext, ModelContextOptions, ModelContextProvider, SystemPart, LanguageModelConfig... npmjs.com
Older versions
36 older versions, each with its first changes. Sign up to see every change
Show 36 older versions
@assistant-ui/react 0.15.29 breaking changes
- Behavior changed
useAssistantFrameHost
useAssistantFrameHost now disposes the host when its iframe is removed, so the frame's tools leave the model context and its pending calls reject immediately. Code that relied on the host staying alive after iframe removal must account for... github.com
@assistant-ui/react 0.15.27 breaking changes
- Behavior changed
Composer and message editing are now blocked when a thread is disabled, so code relying on those actions during a disabled state will see them refused. github.com - Signature changed
McpAppBridgeHandlers
Was type McpAppBridgeHandlers = {allowedTools?: readonly string[]; callTool?: (params: McpAppToolCallParams) => Promise<unknown> | unknown; readResource?: (params: {uri: string;}) => Promise<unknown> | unknown; listResources?: (params?... npmjs.com
And 1 more in this version.
@assistant-ui/react 0.15.26 breaking changes
- Signature changed
McpAppResourceCSP
Was type McpAppResourceCSP = {connectDomains?: string[]; resourceDomains?: string[]; frameDomains?: string[]; [k: string]: unknown;}; now type McpAppResourceCSP = {connectDomains?: string[]; resourceDomains?: string[]; frameDomains?... npmjs.com
@assistant-ui/react 0.15.25 breaking changes
- Signature changed
ComposerPrimitive.Unstable_TriggerMatcher
Was type TriggerMatcher = (text: string, triggerChar: string, cursorPosition: number) => TriggerMatch | null; now type Unstable_TriggerMatcher = TriggerMatcher. npmjs.com - Signature changed
ComposerPrimitive.Unstable_TriggerPopover
Was const ComposerPrimitiveTriggerPopover: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {asChild?: boolean;}, "ref"> & {render?... npmjs.com
And 11 more in this version.
@assistant-ui/react 0.15.23 breaking changes
- Behavior changed
MessagePrimitive.If
The user, assistant and system props set to false on MessagePrimitive.If are now honored, which changes rendering for code that passed them. Migrate those uses to the matching AuiIf inequality. github.com
@assistant-ui/react 0.15.22 breaking changes
- Removed
ActionBarMorePrimitive
ActionBarMorePrimitive was removed in @assistant-ui/react 0.15.22 npmjs.com - Removed
ActionBarPrimitive
ActionBarPrimitive was removed in @assistant-ui/react 0.15.22 npmjs.com
And 93 more in this version.
@assistant-ui/react 0.15.18 breaking changes
- Behavior changed
McpAppRenderer
The handlers option now merges per key with per-part overrides, so thread-wide handlers stay in place for keys a part does not override. github.com - Behavior changed
respondToToolApproval
respondToToolApproval now returns a promise that rejects when the runtime cannot record the response, so callers must handle that rejection or it becomes an unhandled error. github.com
And 1 more in this version.
@assistant-ui/react 0.15.17 breaking changes
- Behavior changed
Search matches the displayed label, so a command without an explicit label is matched on its /id fallback rather than only on id and description. Check any command search that relied on the old matching. github.com - Default changed
Assistant frame messaging now defaults to the current origin instead of the previous default. Set the origin explicitly if your frame relied on the old default. github.com
And 5 more in this version.
@assistant-ui/react 0.15.16 breaking changes
- Behavior changed
ThreadIf
ThreadIf now reads the loading-aware thread.isEmpty field instead of messages.length === 0, so it may render differently in some states. github.com - Signature changed
INTERNAL.useSmoothStatus
Was const useSmoothStatus: {(): {readonly type: "running";} | {readonly type: "complete";} | {readonly type: "incomplete"; readonly reason: "cancelled" | "length" | "content-filter" | "other" | "error"; readonly error?: unknown;} |... npmjs.com
@assistant-ui/react 0.15.15 breaking changes
- Removed
AssistantTransportConnectionMetadata.isSending
AssistantTransportConnectionMetadata.isSending was removed in @assistant-ui/react 0.15.15 npmjs.com - Removed
AssistantTransportConnectionMetadata.toolStatuses
AssistantTransportConnectionMetadata.toolStatuses was removed in @assistant-ui/react 0.15.15 npmjs.com
And 22 more in this version.
@assistant-ui/react 0.15.13 breaking changes
- Removed
Assistant
The Assistant augmentation namespace now lives in @assistant-ui/core, so import it from there instead of @assistant-ui/react. github.com - Removed
ExternalThreadProps.attachmentAdapter
ExternalThreadProps.attachmentAdapter was removed in @assistant-ui/react 0.15.13 npmjs.com
And 26 more in this version.
@assistant-ui/react 0.15.11 breaking changes
- Behavior changed
ExternalThread
Edit composer now reads editing state live, so a same-tick beginEdit, setText and send dispatches the edit. Calling send before beginEdit, or calling beginEdit twice, now throws, so code relying on the old silent behavior must be adjusted. github.com
@assistant-ui/react 0.15.10 breaking changes
- Behavior changed
Edit sends that carry a sourceId are routed to the onEdit handler instead of the queue adapter. Code that relied on those sends reaching the queue adapter must be updated. github.com - Behavior changed
beginEdit
Calling beginEdit without an edit handler now fails immediately instead of proceeding silently. Code that calls beginEdit without an edit handler must supply one. github.com
@assistant-ui/react 0.15.9 breaking changes
- Behavior changed
Sending an edit from the composer always emits an event. An unchanged edit now re-sends the message on a new branch instead of silently closing the composer, so code that expected the composer to close without action may behave differently. github.com - Signature changed
ExternalThreadProps
Was type ExternalThreadProps = {messages: readonly ExternalThreadMessage[]; isRunning?: boolean; isLoading?: boolean | undefined; state?: ReadonlyJSONValue | undefined; extras?: unknown; isSendDisabled?: boolean; onNew?: (message... npmjs.com
@assistant-ui/react 0.15.5 breaking changes
- Removed
ExternalThreadQueueAdapter.clear
clear(reason) is dropped because queue clear policy is now owned by the host. github.com - Removed
ExternalThreadQueueAdapter.steer
steer(queueItemId) is replaced by move with lane steer. Use move(queueItemId, { lane: "steer", insertAfter: null }). github.com
And 12 more in this version.
@assistant-ui/react 0.15.3 breaking changes
- Behavior changed
A suggestion trigger with send no longer overwrites the composer draft while a run is in progress. On runtimes without queue support it now renders disabled mid-run, matching ComposerPrimitive.Send. github.com - Behavior changed
McpAppsHost
Custom McpAppsHost resources must now return a stable object identity, for example with useMemo. An unstable host keeps the widget in loadingFallback and refetches on every re-render. github.com
@assistant-ui/react 0.15.2 breaking changes
- Behavior changed
The aui/v0 encoder now stores only an explicit list of attachment content fields, so per-part status is no longer persisted. Stored data shape may differ for code that relied on status being saved. github.com
@assistant-ui/react 0.15.0 breaking changes
- Removed
ToolsState.tools
Use ToolsState.toolUIs instead; entries carry the renderer alongside presentation options. github.com - Removed
useAssistantRuntime
Replace useAssistantRuntime() with useAui(). npmjs.com
And 28 more in this version.
@assistant-ui/react 0.14.29 breaking changes
- Behavior changed
Public enums in the package are now `as const` objects rather than TypeScript enums, which can affect code that uses enum types as type annotations. github.com - Signature changed
ExternalThreadProps
Was type ExternalThreadProps = {messages: readonly ExternalThreadMessage[]; isRunning?: boolean; isSendDisabled?: boolean; onNew?: (message: AppendMessage) => void; onEdit?: (message: AppendMessage) => void; onReload?: (parentId: string |... npmjs.com
@assistant-ui/react 0.14.28 breaking changes
- Signature changed
useMessagePartFile
Was const useMessagePartFile: () => FileMessagePart & {readonly status: import("@assistant-ui/core").MessagePartStatus | import("@assistant-ui/core").ToolCallMessagePartStatus;}; now const useMessagePartFile: () => FileMessagePart &... npmjs.com - Signature changed
useMessagePartImage
Was const useMessagePartImage: () => ImageMessagePart & {readonly status: import("@assistant-ui/core").MessagePartStatus | import("@assistant-ui/core").ToolCallMessagePartStatus;}; now const useMessagePartImage: () => ImageMessagePart &... npmjs.com
And 3 more in this version.
@assistant-ui/react 0.14.27 breaking changes
- Behavior changed
Patch release adding features and fixes; no breaking changes listed in @assistant-ui/react 0.14.27 github.com - Signature changed
AssistantModalPrimitive.Anchor
Was const AssistantModalPrimitiveAnchor: import("react").ForwardRefExoticComponent<Omit<Popover.PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>; now const... npmjs.com
And 12 more in this version.
@assistant-ui/react 0.14.26 breaking changes
- Behavior changed
Opening and closing a thread list item menu now keeps focus on the row instead of moving it, and arrow keys now move between items. Code that depends on the previous focus handling may need to be checked. github.com - Signature changed
ThreadListItemMorePrimitive.Root.Props
Was type Props = DropdownMenu.DropdownMenuProps; now type Props = DropdownMenu.DropdownMenuProps & {sharedFocusGroup?: boolean | undefined;}. npmjs.com
And 1 more in this version.
@assistant-ui/react 0.14.22 breaking changes
- Removed
INTERNAL.fromThreadMessageLike
Both utilities are now public exports from the package. Code that reads them from the unstable INTERNAL namespace must import the public export instead. npmjs.com - Removed
INTERNAL.generateId
Both utilities are now public exports from the package. Code that reads them from the unstable INTERNAL namespace must import the public export instead. npmjs.com
And 2 more in this version.
@assistant-ui/react 0.14.20 breaking changes
- Configuration changed
Peer and dependency version ranges were updated to work with @assistant-ui/tap 0.9; users may need to ensure compatible tap versions are installed. github.com
@assistant-ui/react 0.14.19 breaking changes
- Signature changed
ExternalThreadProps
Was type ExternalThreadProps = {messages: readonly ExternalThreadMessage[]; isRunning?: boolean; isSendDisabled?: boolean; onNew?: (message: AppendMessage) => void; onEdit?: (message: AppendMessage) => void; onReload?: (parentId: string |... npmjs.com
@assistant-ui/react 0.14.18 breaking changes
- Behavior changed
getCopyText
Copy now returns only text content, so reasoning parts that were previously copied to the clipboard are no longer included. Code that relied on copying reasoning text must read it another way. github.com - Behavior changed
useSmooth
For reasoning parts, useSmooth now returns the reasoning part type instead of always returning type text. Code that checks for type text on smoothed reasoning parts must account for this. github.com
And 10 more in this version.
@assistant-ui/react 0.14.15 breaking changes
- Removed
ExternalThreadQueueAdapter.clear
ExternalThreadQueueAdapter.clear was removed in @assistant-ui/react 0.14.15 npmjs.com - Removed
ExternalThreadQueueAdapter.enqueue
ExternalThreadQueueAdapter.enqueue was removed in @assistant-ui/react 0.14.15 npmjs.com
And 5 more in this version.
@assistant-ui/react 0.14.14 breaking changes
- Removed
ToolkitDeclaration
ToolkitDeclaration was removed in @assistant-ui/react 0.14.14 npmjs.com - Removed
ToolkitDeclarationDefinition
ToolkitDeclarationDefinition was removed in @assistant-ui/react 0.14.14 npmjs.com
@assistant-ui/react 0.14.11 breaking changes
- Removed
INTERNAL.useToolInvocations
INTERNAL.useToolInvocations was removed in @assistant-ui/react 0.14.11 npmjs.com - Signature changed
INTERNAL.ToolExecutionStatus
Was export {ToolExecutionStatus} from "@assistant-ui/core/react"; now export {ToolExecutionStatus} from "@assistant-ui/core". npmjs.com
@assistant-ui/react 0.14.9 breaking changes
- Behavior changed
groupBy
groupBy must now return an array of group keys; a bare string return value is no longer accepted. Wrap the string in an array. github.com - Signature changed
groupBy
The groupBy function now receives only the part; the 2nd and 3rd arguments (index and parts) were removed. Callers that used them must be updated. github.com
@assistant-ui/react 0.14.8 breaking changes
- Signature changed
ActionBarMorePrimitive.Content
Was const ActionBarMorePrimitiveContent: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {render?: import("react").ReactElement |... npmjs.com - Signature changed
ActionBarMorePrimitive.Content.Element
Was type Element = ComponentRef<typeof DropdownMenuPrimitive.Content>; now type Element = ComponentRef<typeof DropdownMenu.Content>. npmjs.com
And 61 more in this version.
@assistant-ui/react 0.14.6 breaking changes
- Removed
MessagePartPrimitive.InProgress.Props
MessagePartPrimitive.InProgress.Props was removed in @assistant-ui/react 0.14.6 npmjs.com
@assistant-ui/react 0.14.3 breaking changes
- Signature changed
McpAppRendererOptions
Was type McpAppRendererOptions = {host: ResourceElement<McpAppsHost>; sandbox?: McpAppSandboxConfig; hostInfo?: McpAppHostInfo; hostContext?: McpAppHostContext; fallback?: ReactNode; loadingFallback?: ReactNode; errorFallback?: ReactNode |... npmjs.com
@assistant-ui/react 0.14.2 breaking changes
- Signature changed
ExternalThreadProps
Was type ExternalThreadProps = {messages: readonly ExternalThreadMessage[]; isRunning?: boolean; onNew?: (message: AppendMessage) => void; onEdit?: (message: AppendMessage) => void; onReload?: (parentId: string | null) => void... npmjs.com - Signature changed
useMessagePartSource
Was const useMessagePartSource: () => SourceMessagePart & {readonly status: import("@assistant-ui/core").MessagePartStatus | import("@assistant-ui/core").ToolCallMessagePartStatus;}; now const useMessagePartSource: () => ({readonly type... npmjs.com
@assistant-ui/react 0.14.0 breaking changes
- Removed
AssistantIf
AssistantIf was removed in 0.14. Use AuiIf instead. npmjs.com - Removed
AssistantRuntime.registerModelConfigProvider
Use registerModelContextProvider instead. github.com
And 31 more in this version.
@assistant-ui/react 0.12.0 breaking changes
- Removed
AssistantApi
AssistantApi was removed in @assistant-ui/react 0.12.0 npmjs.com - Removed
AssistantEvent
AssistantEvent was removed in @assistant-ui/react 0.12.0 npmjs.com
And 23 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.