diff --git a/.changeset/brave-carrots-draw.md b/.changeset/brave-carrots-draw.md deleted file mode 100644 index 12611775..00000000 --- a/.changeset/brave-carrots-draw.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vue-flow/core': minor ---- - -Allow setting `GraphNode` or `GraphEdge` type with a generic type diff --git a/.changeset/cold-apes-protect.md b/.changeset/cold-apes-protect.md deleted file mode 100644 index 86f4d23a..00000000 --- a/.changeset/cold-apes-protect.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@vue-flow/core': minor ---- - -Add `connectionRadius` option to global options and handle props. -You can use this option to set the radius at which a connection line will snap to the closest available handle. diff --git a/.changeset/eleven-monkeys-glow.md b/.changeset/eleven-monkeys-glow.md deleted file mode 100644 index 5bd0cbb5..00000000 --- a/.changeset/eleven-monkeys-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vue-flow/core': minor ---- - -Export edge center utils `getSimpleEdgeCenter` & `getBezierEdgeCenter` from core diff --git a/.changeset/fifty-jobs-train.md b/.changeset/fifty-jobs-train.md deleted file mode 100644 index 7d615ef2..00000000 --- a/.changeset/fifty-jobs-train.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@vue-flow/core': minor ---- - -Add autopan options. Pans viewport on node drag and/or when drawing a connection line. - -### Usage - -```ts -useVueFlow({ - autoPanOnNodeDrag: true, - autoPanOnConnect: true, -}) -``` - -```vue - -``` diff --git a/.changeset/tall-lizards-care.md b/.changeset/tall-lizards-care.md deleted file mode 100644 index 52c8ebe3..00000000 --- a/.changeset/tall-lizards-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vue-flow/core': patch ---- - -Throw warning if viewport dimensions are 0 diff --git a/.changeset/tame-bugs-clean.md b/.changeset/tame-bugs-clean.md deleted file mode 100644 index 41305eec..00000000 --- a/.changeset/tame-bugs-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vue-flow/core': minor ---- - -Export `isGraphNode` and `isGraphEdge` typeguards diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index ba3253cc..1abb1a6b1 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,37 @@ # @vue-flow/core +## 1.13.0 + +### Minor Changes + +- [#639](https://github.com/bcakmakoglu/vue-flow/pull/639) [`ad2b09f1`](https://github.com/bcakmakoglu/vue-flow/commit/ad2b09f18ea1183a7d2a8725d8a637fec3c93871) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Allow setting `GraphNode` or `GraphEdge` type with a generic type + +- [#629](https://github.com/bcakmakoglu/vue-flow/pull/629) [`c7cfcec7`](https://github.com/bcakmakoglu/vue-flow/commit/c7cfcec70a91a9c1a3ed6233be35adba103e9226) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Add `connectionRadius` option to global options and handle props. + You can use this option to set the radius at which a connection line will snap to the closest available handle. + +- [#613](https://github.com/bcakmakoglu/vue-flow/pull/613) [`7abd0bfd`](https://github.com/bcakmakoglu/vue-flow/commit/7abd0bfdf38a65b27f5fed7dc5a44f65dea732d6) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Export edge center utils `getSimpleEdgeCenter` & `getBezierEdgeCenter` from core + +- [#634](https://github.com/bcakmakoglu/vue-flow/pull/634) [`b59dd6a7`](https://github.com/bcakmakoglu/vue-flow/commit/b59dd6a7256a1f0eb51beb7ea581383089b5e0d4) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Add autopan options. Pans viewport on node drag and/or when drawing a connection line. + + ### Usage + + ```ts + 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 + +### Patch Changes + +- [#634](https://github.com/bcakmakoglu/vue-flow/pull/634) [`b59dd6a7`](https://github.com/bcakmakoglu/vue-flow/commit/b59dd6a7256a1f0eb51beb7ea581383089b5e0d4) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Throw warning if viewport dimensions are 0 + ## 1.12.7 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index a3524a93..5092016c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@vue-flow/core", - "version": "1.12.7", + "version": "1.13.0", "private": false, "license": "MIT", "author": "Burak Cakmakoglu<78412429+bcakmakoglu@users.noreply.github.com>",