Skip to content

fix(deps): update dependency @xyflow/react to v13 - #686

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

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

Conversation

@dreadnode-renovate-bot

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

xyflow/xyflow (@​xyflow/react)

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

v12.12.1

Compare Source

Patch Changes

v12.12.0

Compare Source

Minor Changes
Patch Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate CLI.

| datasource | package       | from    | to     |
| ---------- | ------------- | ------- | ------ |
| npm        | @xyflow/react | 12.11.6 | 13.0.2 |

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants