Skip to content

Commit 6f5f5c8

Browse files
github-actions[bot]bcakmakoglu
authored andcommitted
chore: bump versions
1 parent 756b36b commit 6f5f5c8

File tree

10 files changed

+334
-89
lines changed

10 files changed

+334
-89
lines changed

.changeset/curly-ligers-end.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

.changeset/twenty-walls-cheer.md

Lines changed: 0 additions & 46 deletions
This file was deleted.
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# @vue-flow/additional-components
2+
3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- [#305](https://github.com/bcakmakoglu/vue-flow/pull/305) [`939bff50`](https://github.com/bcakmakoglu/vue-flow/commit/939bff503039af3b790160640548ddde984cf2bc) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed?
8+
9+
- Simplify edge path calculations
10+
- remove `getEdgeCenter` and `getSimpleEdgeCenter`
11+
12+
# Breaking Changes
13+
14+
- `getEdgeCenter` has been removed
15+
- Edge center positions can now be accessed from `getBezierPath` or `getSmoothStepPath` functions
16+
17+
Before:
18+
19+
```js
20+
import { getBezierPath, getEdgeCenter } from '@braks/vue-flow'
21+
22+
// used to return the path string only
23+
const edgePath = computed(() => getBezierPath(pathParams))
24+
25+
// was necessary to get the centerX, centerY of an edge
26+
const centered = computed(() => getEdgeCenter(centerParams))
27+
```
28+
29+
After:
30+
31+
```js
32+
import { getBezierPath } from '@vue-flow/core'
33+
34+
// returns the path string and the center positions
35+
const [path, centerX, centerY] = computed(() => getBezierPath(pathParams))
36+
```
37+
38+
- [#305](https://github.com/bcakmakoglu/vue-flow/pull/305) [`47d837aa`](https://github.com/bcakmakoglu/vue-flow/commit/47d837aac096e59e7f55213990dff2cc7eba0c01) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed?
39+
40+
- Change pkg scope from 'braks' to 'vue-flow'
41+
- Add `@vue-flow/core` package
42+
- Add `@vue-flow/additional-components` package
43+
- Add `@vue-flow/pathfinding-edge` package
44+
- Add `@vue-flow/resize-rotate-node` package
45+
46+
# Features
47+
48+
- `useNode` and `useEdge` composables
49+
- can be used to access current node/edge (or by id) and their respective element refs (if used inside the elements' context, i.e. a custom node/edge)
50+
- `selectionKeyCode` as `true`
51+
- allows for figma style selection (i.e. create a selection rect without holding shift or any other key)
52+
- Handles to trigger handle bounds calculation on mount
53+
- if no handle bounds are found, a Handle will try to calculate its bounds on mount
54+
- should remove the need for `updateNodeInternals` on dynamic handles
55+
- Testing for various features using Cypress 10
56+
57+
# Bugfixes
58+
59+
- Fix `removeSelectedEdges` and `removeSelectedNodes` actions not properly removing elements from store
60+
61+
# Breaking Changes
62+
63+
- `@vue-flow/core` package is now required to use vue-flow
64+
- `@vue-flow/additional-components` package contains `Background`, `MiniMap` and `Controls` components and related types
65+
- When switching to the new pkg scope, you need to change the import path.
66+
67+
Before:
68+
69+
```js
70+
import { VueFlow, Background, MiniMap, Controls } from '@braks/vue-flow'
71+
```
72+
73+
After
74+
75+
```js
76+
import { VueFlow } from '@vue-flow/core'
77+
import { Background, MiniMap, Controls } from '@vue-flow/additional-components'
78+
```
79+
80+
### Patch Changes
81+
82+
- Updated dependencies [[`939bff50`](https://github.com/bcakmakoglu/vue-flow/commit/939bff503039af3b790160640548ddde984cf2bc), [`47d837aa`](https://github.com/bcakmakoglu/vue-flow/commit/47d837aac096e59e7f55213990dff2cc7eba0c01)]:
83+
- @vue-flow/core@1.0.0

packages/additional-components/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue-flow/additional-components",
3-
"version": "0.0.1",
3+
"version": "1.0.0",
44
"private": false,
55
"license": "MIT",
66
"author": "Burak Cakmakoglu<[email protected]>",
@@ -30,7 +30,7 @@
3030
},
3131
"peerDependencies": {
3232
"vue": "^3.2.37",
33-
"@vue-flow/core": "^0.4.41"
33+
"@vue-flow/core": "^1.0.0"
3434
},
3535
"dependencies": {},
3636
"devDependencies": {
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# @vue-flow/pathfinding-edge
2+
3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- [#305](https://github.com/bcakmakoglu/vue-flow/pull/305) [`939bff50`](https://github.com/bcakmakoglu/vue-flow/commit/939bff503039af3b790160640548ddde984cf2bc) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed?
8+
9+
- Simplify edge path calculations
10+
- remove `getEdgeCenter` and `getSimpleEdgeCenter`
11+
12+
# Breaking Changes
13+
14+
- `getEdgeCenter` has been removed
15+
- Edge center positions can now be accessed from `getBezierPath` or `getSmoothStepPath` functions
16+
17+
Before:
18+
19+
```js
20+
import { getBezierPath, getEdgeCenter } from '@braks/vue-flow'
21+
22+
// used to return the path string only
23+
const edgePath = computed(() => getBezierPath(pathParams))
24+
25+
// was necessary to get the centerX, centerY of an edge
26+
const centered = computed(() => getEdgeCenter(centerParams))
27+
```
28+
29+
After:
30+
31+
```js
32+
import { getBezierPath } from '@vue-flow/core'
33+
34+
// returns the path string and the center positions
35+
const [path, centerX, centerY] = computed(() => getBezierPath(pathParams))
36+
```
37+
38+
- [#305](https://github.com/bcakmakoglu/vue-flow/pull/305) [`47d837aa`](https://github.com/bcakmakoglu/vue-flow/commit/47d837aac096e59e7f55213990dff2cc7eba0c01) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed?
39+
40+
- Change pkg scope from 'braks' to 'vue-flow'
41+
- Add `@vue-flow/core` package
42+
- Add `@vue-flow/additional-components` package
43+
- Add `@vue-flow/pathfinding-edge` package
44+
- Add `@vue-flow/resize-rotate-node` package
45+
46+
# Features
47+
48+
- `useNode` and `useEdge` composables
49+
- can be used to access current node/edge (or by id) and their respective element refs (if used inside the elements' context, i.e. a custom node/edge)
50+
- `selectionKeyCode` as `true`
51+
- allows for figma style selection (i.e. create a selection rect without holding shift or any other key)
52+
- Handles to trigger handle bounds calculation on mount
53+
- if no handle bounds are found, a Handle will try to calculate its bounds on mount
54+
- should remove the need for `updateNodeInternals` on dynamic handles
55+
- Testing for various features using Cypress 10
56+
57+
# Bugfixes
58+
59+
- Fix `removeSelectedEdges` and `removeSelectedNodes` actions not properly removing elements from store
60+
61+
# Breaking Changes
62+
63+
- `@vue-flow/core` package is now required to use vue-flow
64+
- `@vue-flow/additional-components` package contains `Background`, `MiniMap` and `Controls` components and related types
65+
- When switching to the new pkg scope, you need to change the import path.
66+
67+
Before:
68+
69+
```js
70+
import { VueFlow, Background, MiniMap, Controls } from '@braks/vue-flow'
71+
```
72+
73+
After
74+
75+
```js
76+
import { VueFlow } from '@vue-flow/core'
77+
import { Background, MiniMap, Controls } from '@vue-flow/additional-components'
78+
```
79+
80+
### Patch Changes
81+
82+
- Updated dependencies [[`939bff50`](https://github.com/bcakmakoglu/vue-flow/commit/939bff503039af3b790160640548ddde984cf2bc), [`47d837aa`](https://github.com/bcakmakoglu/vue-flow/commit/47d837aac096e59e7f55213990dff2cc7eba0c01)]:
83+
- @vue-flow/core@1.0.0

packages/pathfinding-edge/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue-flow/pathfinding-edge",
3-
"version": "0.2.2",
3+
"version": "1.0.0",
44
"private": false,
55
"repository": {
66
"type": "git",
@@ -45,7 +45,7 @@
4545
"vue-tsc": "^0.40.13"
4646
},
4747
"peerDependencies": {
48-
"@vue-flow/core": "^0.4.41",
48+
"@vue-flow/core": "^1.0.0",
4949
"vue": "^3.2.25"
5050
},
5151
"publishConfig": {
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# @vue-flow/resize-rotate-node
2+
3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- [#305](https://github.com/bcakmakoglu/vue-flow/pull/305) [`939bff50`](https://github.com/bcakmakoglu/vue-flow/commit/939bff503039af3b790160640548ddde984cf2bc) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed?
8+
9+
- Simplify edge path calculations
10+
- remove `getEdgeCenter` and `getSimpleEdgeCenter`
11+
12+
# Breaking Changes
13+
14+
- `getEdgeCenter` has been removed
15+
- Edge center positions can now be accessed from `getBezierPath` or `getSmoothStepPath` functions
16+
17+
Before:
18+
19+
```js
20+
import { getBezierPath, getEdgeCenter } from '@braks/vue-flow'
21+
22+
// used to return the path string only
23+
const edgePath = computed(() => getBezierPath(pathParams))
24+
25+
// was necessary to get the centerX, centerY of an edge
26+
const centered = computed(() => getEdgeCenter(centerParams))
27+
```
28+
29+
After:
30+
31+
```js
32+
import { getBezierPath } from '@vue-flow/core'
33+
34+
// returns the path string and the center positions
35+
const [path, centerX, centerY] = computed(() => getBezierPath(pathParams))
36+
```
37+
38+
- [#305](https://github.com/bcakmakoglu/vue-flow/pull/305) [`47d837aa`](https://github.com/bcakmakoglu/vue-flow/commit/47d837aac096e59e7f55213990dff2cc7eba0c01) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed?
39+
40+
- Change pkg scope from 'braks' to 'vue-flow'
41+
- Add `@vue-flow/core` package
42+
- Add `@vue-flow/additional-components` package
43+
- Add `@vue-flow/pathfinding-edge` package
44+
- Add `@vue-flow/resize-rotate-node` package
45+
46+
# Features
47+
48+
- `useNode` and `useEdge` composables
49+
- can be used to access current node/edge (or by id) and their respective element refs (if used inside the elements' context, i.e. a custom node/edge)
50+
- `selectionKeyCode` as `true`
51+
- allows for figma style selection (i.e. create a selection rect without holding shift or any other key)
52+
- Handles to trigger handle bounds calculation on mount
53+
- if no handle bounds are found, a Handle will try to calculate its bounds on mount
54+
- should remove the need for `updateNodeInternals` on dynamic handles
55+
- Testing for various features using Cypress 10
56+
57+
# Bugfixes
58+
59+
- Fix `removeSelectedEdges` and `removeSelectedNodes` actions not properly removing elements from store
60+
61+
# Breaking Changes
62+
63+
- `@vue-flow/core` package is now required to use vue-flow
64+
- `@vue-flow/additional-components` package contains `Background`, `MiniMap` and `Controls` components and related types
65+
- When switching to the new pkg scope, you need to change the import path.
66+
67+
Before:
68+
69+
```js
70+
import { VueFlow, Background, MiniMap, Controls } from '@braks/vue-flow'
71+
```
72+
73+
After
74+
75+
```js
76+
import { VueFlow } from '@vue-flow/core'
77+
import { Background, MiniMap, Controls } from '@vue-flow/additional-components'
78+
```
79+
80+
### Patch Changes
81+
82+
- Updated dependencies [[`939bff50`](https://github.com/bcakmakoglu/vue-flow/commit/939bff503039af3b790160640548ddde984cf2bc), [`47d837aa`](https://github.com/bcakmakoglu/vue-flow/commit/47d837aac096e59e7f55213990dff2cc7eba0c01)]:
83+
- @vue-flow/core@1.0.0

packages/resize-rotate-node/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue-flow/resize-rotate-node",
3-
"version": "0.0.3",
3+
"version": "1.0.0",
44
"private": false,
55
"repository": {
66
"type": "git",
@@ -44,7 +44,7 @@
4444
"vue-tsc": "^0.40.13"
4545
},
4646
"peerDependencies": {
47-
"@vue-flow/core": "^0.4.41",
47+
"@vue-flow/core": "^1.0.0",
4848
"vue": "^3.2.25"
4949
},
5050
"publishConfig": {

0 commit comments

Comments
 (0)