Repository navigation
fix(deps): update dependency @xyflow/react to v13 - #686
Open
dreadnode-renovate-bot[bot] wants to merge 1 commit into
Open
dreadnode-renovate-bot[bot] wants to merge 1 commit into
dreadnode-renovate-bot[bot] wants to merge 1 commit into
Conversation
| datasource | package | from | to | | ---------- | ------------- | ------- | ------ | | npm | @xyflow/react | 12.11.6 | 13.0.2 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^12.3.0→^13.0.0Release Notes
xyflow/xyflow (@xyflow/react)
v13.0.2Compare 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 elevatedzIndexso the toolbar stacks with its edgev13.0.1Compare Source
Patch Changes
270f947- Show a nicer readme on npm :)v13.0.0Compare Source
Major Changes
#6114
dff4dad- Align the connection APIs across all frameworks onNodeConnection.getHandleConnections. UsegetNodeConnections({ nodeId, type, handleId })instead:idis renamed tohandleIdandtypeis optional.getNodeConnectionstouseSvelteFlow.HandleConnectiontype removed: useNodeConnectioninstead.#6117
dae45aa-onConnectEndandonReconnectEndnow receivetoin 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 forfitView, andfitBounds.#5866
479082d- Remove deprecateduseHandleConnectionshook.#5800
7eca9fd- ReplaceuseStorewithuseNodesStore,useEdgesStore,useViewportStore,useOptionsStore,useConnectionStoreanduseSelectionStore. They no longer accept an equality function, useuseShallowinstead.#5996
885ac9e- Performance: Move options, nodes, edges, selections and connection into separate stores.#6115
b1ad016- ReplacepaneClickDistancewithpaneDragThreshold(default1). LikenodeDragThreshold, 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, addforceColorModeto opt-out.#5556
9fcddb8- RemovenodeClickDistance. 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. UsenodeDragThreshold(andsnapGrid) to control this.#5987
615c5f6- Rename the measured handle geometry type fromHandletoHandleBoundsso it no longer collides with the<Handle />component.#5996
eaf5a2d- Remove lib ("react") entry from store.#5927
7b52b50- Numbers passed tofitViewOptions.paddingare 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- PassNodeChangeset/EdgeChangesetclass toonNodesChange/onEdgesChangeoronnodeschange/onedgeschange.#5866
1a77ebf- Remove UMD build.Minor Changes
#5939
621f5d9- AddchangeParenttouseReactFlow,useSvelteFlowanduseVueFlow, to easily change the parent of a node without calculating a new position.#5978
bf83263- Elevate selected edges by default (elevateEdgesOnSelectnow defaults totrue), 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- Addxy-theme.cssstylesheet (@xyflow/<lib>/xy-theme.css) that ships the xyflow default theme on top ofbase.css.#5996
885ac9e- Performance: Compile library with React Compiler#5939
846d686- AdduseNodeanduseEdgehooks for subscribing to changes to specific nodes & edges#6099
66da96b- AdduseEqualSelectorhookPatch Changes
#5866
7da73f2- Include source maps and src folder in package. "Go to definition" now links to the source code instead of the generated types#6084
1d9b9cd- Fix resizing nodes with a fixed extent & a non-default origin.#6110
ebc2f5d- Avoid re-renderinguseNodesDataconsumers when only the position, selection or measurements of a node change.#5989
bf27626- Prevent jumping nodes when origin node option is used#6071
a3d15ed- Do not scan nodes and edges for selection changes while noonSelectionChangehandler is registered.#6064
de1e4c5- Resolve the promises of animated viewport functions likefitViewandsetCenterwithfalsewhen a user interaction or another viewport change interrupts the animation, instead of leaving them pending#6131
8849014- NarrowdatabytypewhenNodePropsreceives a union of node types.#6103
1cac28a- Fix missing edges when controlled node updates overlap with node measurement.#5996
885ac9e- Performance: Optimize processing of nodes & edges#6117
2e038ee- FixuseConnectionre-rendering on every pointermove even when a selector is passedUpdated dependencies [
dff4dad,dae45aa,13bf20a,5d448e9,fbe2ba5,96b196f,69dc311,b872a5b,1d9b9cd,b1ad016,de1e4c5,bf27626,9fcddb8,5161767,615c5f6,de1e4c5,8849014,7b52b50,885ac9e]:v12.12.1Compare Source
Patch Changes
#6068
7813eeb- Cancel a pending click connection when clicking the pane and callonClickConnectEnd/onclickconnectend#6097
d150c38- Don't mutate the internal selection state#5650
f7cddb9- Infer the type ofpathOptionsinEdgePropsfrom the edge type instead of usingany.#6090
b235ea0- RespectnodeOrigininisNodeIntersectingandgetIntersectingNodeswhen you pass a node object instead of{ id }#6054
c7d0fcb- Disconnect theResizeObservers when a flow unmountsUpdated dependencies [
d150c38,8483a2f,c7d0fcb,9dcbd29,cba335d]:v12.12.0Compare Source
Minor Changes
91a4adf- Always fire onResizeEnd after onResizeStartPatch Changes
#5998
91a4adf- Fix incorrect values during resize when shouldResize returns falseUpdated dependencies [
91a4adf,91a4adf]:Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate CLI.