Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2022

Bumps react-flow-renderer from 9.6.11 to 10.3.5.

Release notes

Sourced from react-flow-renderer's releases.

Release 10.3.5

Fixes

this release fixes an issue with the expandParent option for sub flows #2181

  • fix(subflows): use abs positions for internal calculations (#2189) (26795be7)

Release 10.3.4

  • fix(uncontrolled-flow): keep internals (403bf71a)

Release 10.3.3

Refactorings and Fixes

We are no longer exposing internals like handleBounds to the user and fixed some dragging related bugs.

  • fix(node-type): add optional dragging key (96f4dcb4)
  • fix(drag): set dragging to false on drag end (d0efd5b7)
  • refactor(internals): use non enumerable props (27b5de2d)

Release 10.3.2

Refactorings and fixes

React Flow is now compatible with immutable libraries like immer, we added a dragging flag and we fixed a nodrag class name related bug.

  • refactor(edges): compatible with immutable libs closes #2170 (ea6247f4)
  • refactor(node-changes): add dragging flag closes #2171 (b6eb0acb)
  • fix(no-drag): handle noDragClassName correctly closes #2172 (101f5d25)

Release 10.3.1

Fix

User couldn't drag on a touch device. This bug is fixed now:

  • fix(touch-devices): use touches for node drag (32559efc)

Release 10.3.0

React Flow 10.3 is way smaller (15% smaller bundle size) than the previous versions, because we dropped react-draggable in favour of d3-drag. We also rewrote the dragging logic so that it works better with React18 and on older devices.

Refactorings

  • replace react-draggable with d3-drag (which is already used by d3-zoom, that is used for pan and zoom)
  • rewrite drag logic in order to work with absolute positions instead of deltas. This works way better for slower devices and also with React18.
  • Selecting nodes: simplified code, deselect selected node when clicking it with multi selection key pressed
  • lots of minor refactorings (cleanup styles, remove unnecessary useCallbacks, cleanup types)

Features

  • pass multiple nodes to drag handlers: When you drag multiple nodes, we now pass an array of nodes as a third parameter to onNodeDragStart(event: MouseEvent, node: Node, nodes: Node[]), onNodeDrag(event: MouseEvent, node: Node, nodes: Node[]) and onNodeDragStop(event: MouseEvent, node: Node, nodes: Node[])
  • Connection line: Show connection line always on top of nodes, add connectionLineContainerStyle prop
  • on click connection: separate events for connections that are created by clicking - onClickConnectStart, onClickConnectStop

... (truncated)

Commits
  • 85b9408 chore: release v10.3.5
  • 26795be fix(subflows): use abs positions for internal calculations (#2189)
  • 17df2ab chore: release v10.3.4
  • 403bf71 fix(uncontrolled-flow): keep internals
  • dd51bed chore: release v10.3.3
  • 5e02dd4 Merge pull request #2178 from wbkd/refactor/hide-internals
  • 96f4dcb fix(node-type): add optional dragging key
  • 1a2af70 Merge pull request #2184 from bcakmakoglu/patch-1
  • d0efd5b fix(drag): set dragging to false on drag end
  • 2ed3ffe refactor(internals): make prop optional
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-flow-renderer](https://github.com/wbkd/react-flow) from 9.6.11 to 10.3.5.
- [Release notes](https://github.com/wbkd/react-flow/releases)
- [Changelog](https://github.com/wbkd/react-flow/blob/main/CHANGELOG.md)
- [Commits](xyflow/xyflow@9.6.11...10.3.5)

---
updated-dependencies:
- dependency-name: react-flow-renderer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 1, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 1, 2022

Superseded by #32.

@dependabot dependabot bot closed this Jul 1, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-flow-renderer-10.3.5 branch July 1, 2022 22:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants