From e49e8987d43edc14e997fc4fe0bb20aec60f259a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 22 Feb 2023 17:44:55 +0000 Subject: [PATCH] chore: bump versions --- .changeset/funny-turkeys-give.md | 5 - .changeset/lucky-cups-bake.md | 5 - .changeset/ninety-crabs-shout.md | 5 - .changeset/polite-oranges-retire.md | 5 - .changeset/witty-humans-fold.md | 5 - packages/core/CHANGELOG.md | 245 ++++++++++++++++++---------- packages/core/package.json | 2 +- 7 files changed, 158 insertions(+), 114 deletions(-) delete mode 100644 .changeset/funny-turkeys-give.md delete mode 100644 .changeset/lucky-cups-bake.md delete mode 100644 .changeset/ninety-crabs-shout.md delete mode 100644 .changeset/polite-oranges-retire.md delete mode 100644 .changeset/witty-humans-fold.md diff --git a/.changeset/funny-turkeys-give.md b/.changeset/funny-turkeys-give.md deleted file mode 100644 index 6927e549..00000000 --- a/.changeset/funny-turkeys-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vue-flow/core': minor ---- - -Add option to enable/disable replacing edge id when `updateEdge` action is used diff --git a/.changeset/lucky-cups-bake.md b/.changeset/lucky-cups-bake.md deleted file mode 100644 index d15af73d..00000000 --- a/.changeset/lucky-cups-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vue-flow/core': minor ---- - -Omit internal properties when using `toObject` diff --git a/.changeset/ninety-crabs-shout.md b/.changeset/ninety-crabs-shout.md deleted file mode 100644 index ad4e0287..00000000 --- a/.changeset/ninety-crabs-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vue-flow/core': patch ---- - -Prevent layout shift on initial render by hiding viewport until initial nodes have width/height diff --git a/.changeset/polite-oranges-retire.md b/.changeset/polite-oranges-retire.md deleted file mode 100644 index 04d90db8..00000000 --- a/.changeset/polite-oranges-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vue-flow/core': patch ---- - -Remove Promises from viewport helper functions, will not await viewport anymore but instead return no-op functions if called too early diff --git a/.changeset/witty-humans-fold.md b/.changeset/witty-humans-fold.md deleted file mode 100644 index bb043fc2..00000000 --- a/.changeset/witty-humans-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vue-flow/core': patch ---- - -Use snapGrid values to clamp initial node positions diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 038f24b5..08da9c1d 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,21 @@ # @vue-flow/core +## 1.15.0 + +### Minor Changes + +- [#684](https://github.com/bcakmakoglu/vue-flow/pull/684) [`a788cc0`](https://github.com/bcakmakoglu/vue-flow/commit/a788cc09421a9b39aff1ff44052be6feae00b7e9) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Add option to enable/disable replacing edge id when `updateEdge` action is used + +- [#699](https://github.com/bcakmakoglu/vue-flow/pull/699) [`c1a7995`](https://github.com/bcakmakoglu/vue-flow/commit/c1a799592ee7fc116ee74fc6a083496ee5350629) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Omit internal properties when using `toObject` + +### Patch Changes + +- [#667](https://github.com/bcakmakoglu/vue-flow/pull/667) [`231271a`](https://github.com/bcakmakoglu/vue-flow/commit/231271a7dadaaee056e79e16f30d2f0755e51d53) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Prevent layout shift on initial render by hiding viewport until initial nodes have width/height + +- [#667](https://github.com/bcakmakoglu/vue-flow/pull/667) [`89198bd`](https://github.com/bcakmakoglu/vue-flow/commit/89198bdc29ed9dde6961190ac99eb30aebfbf474) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Remove Promises from viewport helper functions, will not await viewport anymore but instead return no-op functions if called too early + +- [#695](https://github.com/bcakmakoglu/vue-flow/pull/695) [`616e795`](https://github.com/bcakmakoglu/vue-flow/commit/616e7951e51c112f29107621588a29b60a7d6e85) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Use snapGrid values to clamp initial node positions + ## 1.14.3 ### Patch Changes @@ -89,11 +105,15 @@ useVueFlow({ autoPanOnNodeDrag: true, autoPanOnConnect: true, - }) + }); ``` ```vue - + ``` - [#636](https://github.com/bcakmakoglu/vue-flow/pull/636) [`e1628ec6`](https://github.com/bcakmakoglu/vue-flow/commit/e1628ec6601e50a7bc212a2ece83877dee0e9e70) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Export `isGraphNode` and `isGraphEdge` typeguards @@ -227,24 +247,28 @@ ```js const nodes = ref([ { - id: '4', - label: 'Node 4', + id: "4", + label: "Node 4", position: { x: 320, y: 200 }, - style: { backgroundColor: 'rgba(255, 0, 0, 0.7)', width: '300px', height: '300px' }, + style: { + backgroundColor: "rgba(255, 0, 0, 0.7)", + width: "300px", + height: "300px", + }, }, { - id: '4a', - label: 'Node 4a', + id: "4a", + label: "Node 4a", position: { x: 15, y: 65 }, - class: 'light', + class: "light", extent: { - range: 'parent', + range: "parent", // apply 10 px padding to all four sides padding: [10], }, - parentNode: '4', + parentNode: "4", }, - ]) + ]); ``` ### Patch Changes @@ -311,40 +335,61 @@ ```vue