@xyflow/react breaking changes
Updated December 4, 2026
On this page
Latest version 13.0.3, released November 23, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 12.12.1 to 13.0.2: 268 breaking changes in 2 versions.
- From 12.10.1 to 13.0.2: 332 breaking changes in 9 versions.
@xyflow/react 13.0.2 breaking changes
- Signature changed
EdgeToolbar
Was function EdgeToolbar({edgeId, x, y, children, className, style, isVisible, alignX, alignY, ...rest}: EdgeToolbarProps): import("react").JSX.Element | null; now function EdgeToolbar({edgeId, isVisible, ...rest}: EdgeToolbarProps)... npmjs.com
@xyflow/react 13.0.0 breaking changes
- Removed
React 18 is now the minimum supported version. github.com - Removed
The UMD build is no longer shipped; use the ESM or CJS builds. github.com - Removed
applyEdgeChanges
applyEdgeChanges was removed in @xyflow/react 13.0.0 npmjs.com - Removed
applyNodeChanges
applyNodeChanges was removed in @xyflow/react 13.0.0 npmjs.com - Removed
ColorModeClass
ColorModeClass was removed in @xyflow/react 13.0.0 npmjs.com - Removed
EdgeAddChange
EdgeAddChange was removed in @xyflow/react 13.0.0 npmjs.com - Removed
EdgeRemoveChange
EdgeRemoveChange was removed in @xyflow/react 13.0.0 npmjs.com - Removed
EdgeReplaceChange
EdgeReplaceChange was removed in @xyflow/react 13.0.0 npmjs.com - Removed
EdgeSelectionChange
EdgeSelectionChange was removed in @xyflow/react 13.0.0 npmjs.com - Removed
GeneralHelpers.getHandleConnections
GeneralHelpers.getHandleConnections was removed in @xyflow/react 13.0.0 npmjs.com
And 257 more in this version. Sign up to see every change
@xyflow/react 12.12.1 breaking changes
- Behavior changed
getIntersectingNodes
When a node object is passed instead of { id }, getIntersectingNodes now respects nodeOrigin, which can change its results. github.com - Behavior changed
isNodeIntersecting
When a node object is passed instead of { id }, isNodeIntersecting now respects nodeOrigin, which can change its results. github.com - Behavior changed
onClickConnectEnd
Clicking the pane now cancels a pending click connection and calls onClickConnectEnd, so code that relied on the previous flow may see different events. github.com - Signature changed
EdgeProps
The type of pathOptions in EdgeProps is now inferred from the edge type rather than any, which may cause type errors in typed code. npmjs.com
@xyflow/react 12.12.0 breaking changes
- Behavior changed
onResizeEnd
The release makes onResizeEnd fire after every onResizeStart. Code that assumes onResizeEnd may not run after a resize should be reviewed. github.com
@xyflow/react 12.11.6 breaking changes
- Signature changed
ReactFlowState.defaultEdgeOptions
Was defaultEdgeOptions?: DefaultEdgeOptions; now defaultEdgeOptions: DefaultEdgeOptions | undefined. npmjs.com - Signature changed
ReactFlowState.isValidConnection
Was isValidConnection?: IsValidConnection<EdgeType>; now isValidConnection: IsValidConnection<EdgeType> | undefined. npmjs.com - Signature changed
ReactFlowState.onBeforeDelete
Was onBeforeDelete?: OnBeforeDelete<NodeType, EdgeType>; now onBeforeDelete: OnBeforeDelete<NodeType, EdgeType> | undefined. npmjs.com - Signature changed
ReactFlowState.onClickConnectEnd
Was onClickConnectEnd?: OnConnectEnd; now onClickConnectEnd: OnConnectEnd | undefined. npmjs.com - Signature changed
ReactFlowState.onClickConnectStart
Was onClickConnectStart?: OnConnectStart; now onClickConnectStart: OnConnectStart | undefined. npmjs.com - Signature changed
ReactFlowState.onConnect
Was onConnect?: OnConnect; now onConnect: OnConnect | undefined. npmjs.com - Signature changed
ReactFlowState.onConnectEnd
Was onConnectEnd?: OnConnectEnd; now onConnectEnd: OnConnectEnd | undefined. npmjs.com - Signature changed
ReactFlowState.onConnectStart
Was onConnectStart?: OnConnectStart; now onConnectStart: OnConnectStart | undefined. npmjs.com - Signature changed
ReactFlowState.onDelete
Was onDelete?: OnDelete; now onDelete: OnDelete | undefined. npmjs.com - Signature changed
ReactFlowState.onEdgesDelete
Was onEdgesDelete?: OnEdgesDelete<EdgeType>; now onEdgesDelete: OnEdgesDelete<EdgeType> | undefined. npmjs.com
And 39 more in this version. Sign up to see every change
@xyflow/react 12.11.3 breaking changes
- Behavior changed
Code that relied on a missing handle failing silently will now receive an error. Check that handle IDs exist before rendering or connecting. github.com
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
@xyflow/react 12.11.1 breaking changes
- Behavior changed
A pane click is no longer fired when a connection drag ends on the pane. Code that relied on the click firing after a connection attempt should be checked. github.com
@xyflow/react 12.11.0 breaking changes
- Signature changed
OnNodeDrag
Was type OnNodeDrag<NodeType extends Node = Node> = (event: ReactMouseEvent, node: NodeType, nodes: NodeType[]) => void; now type OnNodeDrag<NodeType extends Node = Node> = (event: MouseEvent | TouchEvent, node: NodeType, nodes... npmjs.com - Signature changed
useNodeConnections
Passing handleId to useNodeConnections without handleType now produces a TypeScript error. Code that compiles today may fail type checking and should pass handleType alongside handleId. github.com
@xyflow/react 12.10.2 breaking changes
- Behavior changed
BuiltInNode
The type field in BuiltInNode may now be missing, which is treated the same as type "default". Code that relies on the field being required may need to handle the missing case. github.com - Signature changed
BuiltInNode
Was type BuiltInNode = Node<{label: string;}, 'input' | 'output' | 'default'> | Node<Record<string, never>, 'group'>; now type BuiltInNode = Node<{label: string;}, 'input' | 'output' | 'default' | undefined> | Node<Record<string, never>... npmjs.com
And 4 more in this version.
@xyflow/react 12.10.1 breaking changes
- Signature changed
useNodesData
Was function useNodesData<NodeType extends Node = Node>(nodeId: string): Pick<NodeType, 'id' | 'type' | 'data'> | null function useNodesData<NodeType extends Node = Node>(nodeIds: string[]): Pick<NodeType, 'id' | 'type' | 'data'>[]; now... npmjs.com
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.