Skip to content

Update dependency @xyflow/react to v13 - #146

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/xyflow-react-13.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/xyflow-react-13.x

Conversation

@renovate

@renovate renovate Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@xyflow/react (source) ^12.11.3 → ^13.0.0 age confidence

Release Notes

xyflow/xyflow (@​xyflow/react)

v13.0.3

Compare Source

Patch Changes

v13.0.2

Compare Source

Patch Changes
  • #​6130 d0d3fd7 - Announce the new position, instead of the previous one, when moving a selected node with the arrow keys.

  • #​6155 f7b8546 - EdgeToolbar: use the elevated zIndex so the toolbar stacks with its edge

v13.0.1

Compare Source

Patch Changes

v13.0.0

Compare Source

Major Changes
  • #​6114 dff4dad - Align the connection APIs across all frameworks on NodeConnection.

    • Remove getHandleConnections. Use getNodeConnections({ nodeId, type, handleId }) instead: id is renamed to handleId and type is optional.
    • Add getNodeConnections to useSvelteFlow.
    • HandleConnection type removed: use NodeConnection instead.
  • #​6117 dae45aa - onConnectEnd and onReconnectEnd now receive to in flow coordinates instead of screen coordinates

  • #​5915 96b196f - Remove requirement of parent nodes to appear before child nodes in the nodes array

  • #​5927 69dc311 - Use 5% as new default padding for fitView, and fitBounds.

  • #​5866 479082d - Remove deprecated useHandleConnections hook.

  • #​5800 7eca9fd - Replace useStore with useNodesStore, useEdgesStore, useViewportStore, useOptionsStore, useConnectionStore and useSelectionStore. They no longer accept an equality function, use useShallow instead.

  • #​5996 885ac9e - Performance: Move options, nodes, edges, selections and connection into separate stores.

  • #​6115 b1ad016 - Replace paneClickDistance with paneDragThreshold (default 1). Like nodeDragThreshold, the pane only starts panning or selecting once the pointer has moved further than the threshold; otherwise it counts as a click. Works with every mouse button.

  • #​5843 9eb6929 - Use system color mode by default, add forceColorMode to opt-out.

  • #​5556 9fcddb8 - Remove nodeClickDistance. Whether a click on a node fires is now determined solely by whether a drag actually moved the node: clicks are suppressed only after a drag changed node positions. Use nodeDragThreshold (and snapGrid) to control this.

  • #​5987 615c5f6 - Rename the measured handle geometry type from Handle to HandleBounds so it no longer collides with the <Handle /> component.

  • #​5996 eaf5a2d - Remove lib ("react") entry from store.

  • #​5927 7b52b50 - Numbers passed to fitViewOptions.padding are interpreted as pixel values instead of legacy units. Use percentage values instead (0.1 ≈ 4.5%, 0.5 ≈ 16.7%, 1 ≈ 25%, 2 ≈ 33%)

  • #​5866 0d1893a - Require React 18 as minimal supported version

  • #​5944 5ff09ef - Pass NodeChangeset/EdgeChangeset class to onNodesChange/onEdgesChange or onnodeschange/onedgeschange.

  • #​5866 1a77ebf - Remove UMD build.

Minor Changes
  • #​5939 621f5d9 - Add changeParent to useReactFlow, useSvelteFlow and useVueFlow, to easily change the parent of a node without calculating a new position.

  • #​5978 bf83263 - Elevate selected edges by default (elevateEdgesOnSelect now defaults to true), so overlapping edges can be reconnected by selecting them first.

  • #​5844 861a6be - Exported styles now live in @layer xyflow.

  • #​5996 885ac9e - Performance: Add fine grained reactivity when subscribing to specific nodes and edges.

  • #​6029 b872a5b - Improve panning performance by avoiding a full style recalculation when the pane cursor changes.

  • #​5866 1a77ebf - Add style import from @xyflow/react/style.css.

  • #​5996 885ac9e - Performance: Add fine grained reactivity to handles when making a new connection

  • #​5993 901b0e4 - Add xy-theme.css stylesheet (@xyflow/<lib>/xy-theme.css) that ships the xyflow default theme on top of base.css.

  • #​5996 885ac9e - Performance: Compile library with React Compiler

  • #​5939 846d686 - Add useNode and useEdge hooks for subscribing to changes to specific nodes & edges

  • #​6099 66da96b - Add useEqualSelector hook

Patch Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) December 1, 2026 18:33
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Dec 1, 2026
@renovate
renovate Bot force-pushed the renovate/xyflow-react-13.x branch 4 times, most recently from fbd8a58 to 1357c33 Compare December 1, 2026 20:37
| datasource | package       | from    | to     |
| ---------- | ------------- | ------- | ------ |
| npm        | @xyflow/react | 12.12.1 | 13.0.3 |
@renovate
renovate Bot force-pushed the renovate/xyflow-react-13.x branch from 1357c33 to 2f1a339 Compare December 2, 2026 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants