From fe85d206c4ba5b1dfeafc073b61148cbf285a76b Mon Sep 17 00:00:00 2001 From: moklick Date: Thu, 26 Jan 2023 11:42:15 +0100 Subject: [PATCH] chore(packages): bump --- .changeset/dry-mice-explode.md | 5 ----- .changeset/hungry-eagles-turn.md | 5 ----- .changeset/pretty-spoons-punch.md | 5 ----- .changeset/twenty-turkeys-rhyme.md | 5 ----- packages/background/CHANGELOG.md | 7 +++++++ packages/background/package.json | 2 +- packages/controls/CHANGELOG.md | 7 +++++++ packages/controls/package.json | 2 +- packages/core/CHANGELOG.md | 25 +++++++++++++++++++++++++ packages/core/package.json | 2 +- packages/minimap/CHANGELOG.md | 7 +++++++ packages/minimap/package.json | 2 +- packages/node-resizer/CHANGELOG.md | 11 +++++++++++ packages/node-resizer/package.json | 2 +- packages/reactflow/CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ packages/reactflow/package.json | 2 +- 16 files changed, 93 insertions(+), 26 deletions(-) delete mode 100644 .changeset/dry-mice-explode.md delete mode 100644 .changeset/hungry-eagles-turn.md delete mode 100644 .changeset/pretty-spoons-punch.md delete mode 100644 .changeset/twenty-turkeys-rhyme.md diff --git a/.changeset/dry-mice-explode.md b/.changeset/dry-mice-explode.md deleted file mode 100644 index d758f9dc..00000000 --- a/.changeset/dry-mice-explode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@reactflow/core': minor ---- - -Add autoPan for connecting and node dragging diff --git a/.changeset/hungry-eagles-turn.md b/.changeset/hungry-eagles-turn.md deleted file mode 100644 index 44941fba..00000000 --- a/.changeset/hungry-eagles-turn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@reactflow/core': patch ---- - -Connecting nodes: Enable connections on touch devices diff --git a/.changeset/pretty-spoons-punch.md b/.changeset/pretty-spoons-punch.md deleted file mode 100644 index 0b661034..00000000 --- a/.changeset/pretty-spoons-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@reactflow/node-resizer': major ---- - -Add shouldresize, cleanup types diff --git a/.changeset/twenty-turkeys-rhyme.md b/.changeset/twenty-turkeys-rhyme.md deleted file mode 100644 index 2a5e909d..00000000 --- a/.changeset/twenty-turkeys-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@reactflow/core': patch ---- - -Types: improve typing for node type diff --git a/packages/background/CHANGELOG.md b/packages/background/CHANGELOG.md index d46842ba..f2393bec 100644 --- a/packages/background/CHANGELOG.md +++ b/packages/background/CHANGELOG.md @@ -1,5 +1,12 @@ # @reactflow/background +## 11.1.3 + +### Patch Changes + +- Updated dependencies [[`e96309b6`](https://github.com/wbkd/react-flow/commit/e96309b6a57b1071faeebf7b0547fef7fd418694), [`85003b01`](https://github.com/wbkd/react-flow/commit/85003b01add71ea852bd5b0d2f1e7496050a6b52), [`4c516882`](https://github.com/wbkd/react-flow/commit/4c516882d2bbf426c1832a53ad40763cc1abef92)]: + - @reactflow/core@11.5.0 + ## 11.1.2 ### Patch Changes diff --git a/packages/background/package.json b/packages/background/package.json index 5a85d11e..2865139e 100644 --- a/packages/background/package.json +++ b/packages/background/package.json @@ -1,6 +1,6 @@ { "name": "@reactflow/background", - "version": "11.1.2", + "version": "11.1.3", "description": "Background component with different variants for React Flow", "keywords": [ "react", diff --git a/packages/controls/CHANGELOG.md b/packages/controls/CHANGELOG.md index 6c4789c6..7f2d9b92 100644 --- a/packages/controls/CHANGELOG.md +++ b/packages/controls/CHANGELOG.md @@ -1,5 +1,12 @@ # @reactflow/controls +## 11.1.3 + +### Patch Changes + +- Updated dependencies [[`e96309b6`](https://github.com/wbkd/react-flow/commit/e96309b6a57b1071faeebf7b0547fef7fd418694), [`85003b01`](https://github.com/wbkd/react-flow/commit/85003b01add71ea852bd5b0d2f1e7496050a6b52), [`4c516882`](https://github.com/wbkd/react-flow/commit/4c516882d2bbf426c1832a53ad40763cc1abef92)]: + - @reactflow/core@11.5.0 + ## 11.1.2 ### Patch Changes diff --git a/packages/controls/package.json b/packages/controls/package.json index d6b85067..7bc80d2d 100644 --- a/packages/controls/package.json +++ b/packages/controls/package.json @@ -1,6 +1,6 @@ { "name": "@reactflow/controls", - "version": "11.1.2", + "version": "11.1.3", "description": "Component to control the viewport of a React Flow instance", "keywords": [ "react", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 30bd24b7..cd591566 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,30 @@ # @reactflow/core +## 11.5.0 + +Lot's of improvements are coming with this release! + +- **Connecting radius**: No need to drop a connection line on top of handle anymore. You only need to be close to the handle. That radius can be configured with the `connectionRadius` prop. +- **Auto pan**: When you drag a node, a selection or the connection line to the border of the pane, it will pan into that direction. That makes it easier to connect far away nodes for example. If you don't like it you can set `autoPnaOnNodeDrag` and `autoPanOnConnect` to false. +- **Touch devices**: It's finally possibleto connect nodes with the connection line on touch devices. In combination with the new auto pan and connection radius the overall UX is way better. +- **Errors**: We added an `onError` prop to get notified when an error like "couldn't find source handle" happens. This is useful if you want to log errors for example. +- **Node type**: We added a second param to the generic `Node` type. You can not only pass `NodeData` but also the type as a second param: +```ts +type MyCustomNode = Node +``` +This makes it easier to work with different custom nodes and data types. + +### Minor Changes + +- [#2754](https://github.com/wbkd/react-flow/pull/2754) [`e96309b6`](https://github.com/wbkd/react-flow/commit/e96309b6a57b1071faeebf7b0547fef7fd418694) - Add auto pan for connecting and node dragging and `connectionRadius` +- [#2773](https://github.com/wbkd/react-flow/pull/2773) - Add `onError` prop to get notified when an error happens + +### Patch Changes + +- [#2763](https://github.com/wbkd/react-flow/pull/2763) [`85003b01`](https://github.com/wbkd/react-flow/commit/85003b01add71ea852bd5b0d2f1e7496050a6b52) - Connecting nodes: Enable connections on touch devices +- [#2620](https://github.com/wbkd/react-flow/pull/2620) - Thanks [RichSchulz](https://github.com/RichSchulz)! - Types: improve typing for node type + + ## 11.4.2 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 4c199c54..8529d098 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@reactflow/core", - "version": "11.4.2", + "version": "11.5.0", "description": "Core components and util functions of React Flow.", "keywords": [ "react", diff --git a/packages/minimap/CHANGELOG.md b/packages/minimap/CHANGELOG.md index 0f582af1..58e60248 100644 --- a/packages/minimap/CHANGELOG.md +++ b/packages/minimap/CHANGELOG.md @@ -1,5 +1,12 @@ # @reactflow/minimap +## 11.3.3 + +### Patch Changes + +- Updated dependencies [[`e96309b6`](https://github.com/wbkd/react-flow/commit/e96309b6a57b1071faeebf7b0547fef7fd418694), [`85003b01`](https://github.com/wbkd/react-flow/commit/85003b01add71ea852bd5b0d2f1e7496050a6b52), [`4c516882`](https://github.com/wbkd/react-flow/commit/4c516882d2bbf426c1832a53ad40763cc1abef92)]: + - @reactflow/core@11.5.0 + ## 11.3.2 ### Patch Changes diff --git a/packages/minimap/package.json b/packages/minimap/package.json index f221b409..f9e8e4e7 100644 --- a/packages/minimap/package.json +++ b/packages/minimap/package.json @@ -1,6 +1,6 @@ { "name": "@reactflow/minimap", - "version": "11.3.2", + "version": "11.3.3", "description": "Minimap component for React Flow.", "keywords": [ "react", diff --git a/packages/node-resizer/CHANGELOG.md b/packages/node-resizer/CHANGELOG.md index af11ab68..10005a19 100644 --- a/packages/node-resizer/CHANGELOG.md +++ b/packages/node-resizer/CHANGELOG.md @@ -1,5 +1,16 @@ # @reactflow/node-resizer +## 2.0.0 + +### Major Changes + +- [#2749](https://github.com/wbkd/react-flow/pull/2749) [`e347dd82`](https://github.com/wbkd/react-flow/commit/e347dd82d342bf9c4884ca667afaa5cf639283e5) - Add `shouldResize`, rename and cleanup types - `ResizeEventParams` is now `ResizeParams` + +### Patch Changes + +- Updated dependencies [[`e96309b6`](https://github.com/wbkd/react-flow/commit/e96309b6a57b1071faeebf7b0547fef7fd418694), [`85003b01`](https://github.com/wbkd/react-flow/commit/85003b01add71ea852bd5b0d2f1e7496050a6b52), [`4c516882`](https://github.com/wbkd/react-flow/commit/4c516882d2bbf426c1832a53ad40763cc1abef92)]: + - @reactflow/core@11.5.0 + ## 1.2.2 ### Patch Changes diff --git a/packages/node-resizer/package.json b/packages/node-resizer/package.json index a570caaf..03112528 100644 --- a/packages/node-resizer/package.json +++ b/packages/node-resizer/package.json @@ -1,6 +1,6 @@ { "name": "@reactflow/node-resizer", - "version": "1.2.2", + "version": "2.0.0", "description": "A helper component for resizing nodes.", "keywords": [ "react", diff --git a/packages/reactflow/CHANGELOG.md b/packages/reactflow/CHANGELOG.md index 279e3676..49236e78 100644 --- a/packages/reactflow/CHANGELOG.md +++ b/packages/reactflow/CHANGELOG.md @@ -1,5 +1,35 @@ # reactflow +## 11.5.0 + +Lot's of improvements are coming with this release! + +- **Connecting radius**: No need to drop a connection line on top of handle anymore. You only need to be close to the handle. That radius can be configured with the `connectionRadius` prop. +- **Auto pan**: When you drag a node, a selection or the connection line to the border of the pane, it will pan into that direction. That makes it easier to connect far away nodes for example. If you don't like it you can set `autoPnaOnNodeDrag` and `autoPanOnConnect` to false. +- **Touch devices**: It's finally possibleto connect nodes with the connection line on touch devices. In combination with the new auto pan and connection radius the overall UX is way better. +- **Errors**: We added an `onError` prop to get notified when an error like "couldn't find source handle" happens. This is useful if you want to log errors for example. +- **Node type**: We added a second param to the generic `Node` type. You can not only pass `NodeData` but also the type as a second param: +```ts +type MyCustomNode = Node +``` +This makes it easier to work with different custom nodes and data types. + +### Minor Changes + +- [#2754](https://github.com/wbkd/react-flow/pull/2754) [`e96309b6`](https://github.com/wbkd/react-flow/commit/e96309b6a57b1071faeebf7b0547fef7fd418694) - Add auto pan for connecting and node dragging and `connectionRadius` +- [#2773](https://github.com/wbkd/react-flow/pull/2773) - Add `onError` prop to get notified when an error happens + +### Patch Changes + +- [#2763](https://github.com/wbkd/react-flow/pull/2763) [`85003b01`](https://github.com/wbkd/react-flow/commit/85003b01add71ea852bd5b0d2f1e7496050a6b52) - Connecting nodes: Enable connections on touch devices +- [#2620](https://github.com/wbkd/react-flow/pull/2620) - Thanks [RichSchulz](https://github.com/RichSchulz)! - Types: improve typing for node type + +- Updated dependencies [[`e96309b6`](https://github.com/wbkd/react-flow/commit/e96309b6a57b1071faeebf7b0547fef7fd418694), [`85003b01`](https://github.com/wbkd/react-flow/commit/85003b01add71ea852bd5b0d2f1e7496050a6b52), [`4c516882`](https://github.com/wbkd/react-flow/commit/4c516882d2bbf426c1832a53ad40763cc1abef92)]: + - @reactflow/core@11.5.0 + - @reactflow/background@11.1.3 + - @reactflow/controls@11.1.3 + - @reactflow/minimap@11.3.3 + ## 11.4.2 ### Patch Changes diff --git a/packages/reactflow/package.json b/packages/reactflow/package.json index 64e34246..1391eb41 100644 --- a/packages/reactflow/package.json +++ b/packages/reactflow/package.json @@ -1,6 +1,6 @@ { "name": "reactflow", - "version": "11.4.2", + "version": "11.5.0", "description": "A highly customizable React library for building node-based editors and interactive flow charts", "keywords": [ "react",