From 8e69e1d036175b95ecedb02bfa996f4801a2a107 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 21 Feb 2024 12:16:09 +0000 Subject: [PATCH] chore: bump versions --- .changeset/eleven-bulldogs-rhyme.md | 5 ----- .changeset/selfish-doors-buy.md | 23 ---------------------- .changeset/silent-pigs-swim.md | 5 ----- packages/core/CHANGELOG.md | 30 +++++++++++++++++++++++++++++ packages/core/package.json | 2 +- 5 files changed, 31 insertions(+), 34 deletions(-) delete mode 100644 .changeset/eleven-bulldogs-rhyme.md delete mode 100644 .changeset/selfish-doors-buy.md delete mode 100644 .changeset/silent-pigs-swim.md diff --git a/.changeset/eleven-bulldogs-rhyme.md b/.changeset/eleven-bulldogs-rhyme.md deleted file mode 100644 index fbdfdccb0..000000000 --- a/.changeset/eleven-bulldogs-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vue-flow/core": patch ---- - -Use default cursor for nodes and use grab cursor if node is draggable diff --git a/.changeset/selfish-doors-buy.md b/.changeset/selfish-doors-buy.md deleted file mode 100644 index d80fc907b..000000000 --- a/.changeset/selfish-doors-buy.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"@vue-flow/core": minor ---- - -Add node id and node type to return of `useNodesData`. - -⚠️This is a small breaking change from the previous implementation! - -Previously you would only receive the data object back, now you will receive an object with the data and the node id and type. - -```ts -const nodesData = useNodesData(nodeIds); - -// Previously -nodesData.forEach((data) => { - // ... -}); - -// Now -nodesData.forEach(({ id, type, data }) => { - // ... -}); -``` diff --git a/.changeset/silent-pigs-swim.md b/.changeset/silent-pigs-swim.md deleted file mode 100644 index f3ec0c586..000000000 --- a/.changeset/silent-pigs-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vue-flow/core": patch ---- - -Prevent esc keypress triggers when keyboard a11y is disabled diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index a710df7b5..78df5e2c2 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,35 @@ # @vue-flow/core +## 1.33.0 + +### Minor Changes + +- [#1323](https://github.com/bcakmakoglu/vue-flow/pull/1323) [`ed4ccf4`](https://github.com/bcakmakoglu/vue-flow/commit/ed4ccf434ee8c8fcf47b43ebc5b4e25175009680) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Add node id and node type to return of `useNodesData`. + + ⚠️This is a small breaking change from the previous implementation! + + Previously you would only receive the data object back, now you will receive an object with the data and the node id and type. + + ```ts + const nodesData = useNodesData(nodeIds); + + // Previously + nodesData.forEach((data) => { + // ... + }); + + // Now + nodesData.forEach(({ id, type, data }) => { + // ... + }); + ``` + +### Patch Changes + +- [#1326](https://github.com/bcakmakoglu/vue-flow/pull/1326) [`78a604c`](https://github.com/bcakmakoglu/vue-flow/commit/78a604c35aa908dc7453a70c636fb0e6f9ec4242) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Use default cursor for nodes and use grab cursor if node is draggable + +- [#1324](https://github.com/bcakmakoglu/vue-flow/pull/1324) [`c964220`](https://github.com/bcakmakoglu/vue-flow/commit/c964220e955b7e2a7c09f8607c683dada59c4827) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Prevent esc keypress triggers when keyboard a11y is disabled + ## 1.32.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 568ef6c9a..df9d1f6be 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@vue-flow/core", - "version": "1.32.1", + "version": "1.33.0", "private": false, "license": "MIT", "author": "Burak Cakmakoglu<78412429+bcakmakoglu@users.noreply.github.com>",