Skip to content

Bump @vue-flow/core from 1.8.0 to 1.9.1

Geoxor requested to merge dependabot/npm_and_yarn/vue-flow/core-1.9.1 into master

Created by: dependabot[bot]

Bumps @vue-flow/core from 1.8.0 to 1.9.1.

Release notes

Sourced from @​vue-flow/core's releases.

v1.9.1

What's Changed

Fixed slot type regression.

Full Changelog: https://github.com/bcakmakoglu/vue-flow/compare/v1.9.0...v1.9.1

v1.9.0

What's Changed

🚀 New Features

This release brings you more customization options to the selection behavior. Instead of pressing an additional button to create a selection box, you can now enable this behavior without any additional key-press. Furthermore you can now specify what mouse buttons should be used for pan on drag behavior.

️ Props

  • selectionKeyCode: You can now set this to MaybeRef<boolean> to enable a selection box without extra button press (need to set :pan-on-drag="false" or :pan-on-drag="[2]"[RightClick]).
  • panOnDrag: Can now be a boolean or a number[], this allows you to configure every mouse button as a drag button. [1, 2] would mean that you can drag via middle and right mouse button.
  • panActivationKeyCode: Key code (or KeyFilter) for activating dragging (useful when using selectionOnDrag).
  • selectionMode: You can choose if the selection box needs to contain a node fully (SelectionMode.Full) or partially (SelectionMode.Partial) to select.

🎪 Events

  • onSelectionStart: Emitted when the selection box is started.
  • onSelectionEnd: Emitted when the selection box is ended.
  • onViewportChangeStart: Emitted when viewport change has started.
  • onViewportChange: Emitted when viewport is changed.
  • onViewportChangeEnd: Emitted when viewport change has ended.

️ Deprecated

Deprecated options API utils addEdge and updateEdge. These utils will be removed soon!

Resolve deprecation warnings

Instead of using these utils, use addEdges and updateEdge found on the VueFlow store instance. You receive a store instance by using either a template-ref or listening to the onPaneReady event.

Example

  <script>
  import { VueFlow } from '@vue-flow/core'
</tr></table> 

... (truncated)

Changelog

Sourced from @​vue-flow/core's changelog.

[1.9.1] - 2022-12-25

d1a581c...2e741a2

Bug Fixes

  • Use regexp to fetch imports in slots patch (a8f92ba)

Miscellaneous Tasks

[1.9.0] - 2022-12-25

10d312d...d1a581c

Features

  • Add a11y support to nodes selection box (089859d)
  • Implement figma controls (fd79ab1)

Miscellaneous Tasks

Refactor

  • Move velocity logic into useUpdateNodePositions (4260e31)
  • Remove snapGrid option from nodes - use global one instead (2b513b5)
  • Remove selectionOnDrag prop and use selectionKeyCode to trigger selection (c3e1741)

Testing

Commits
  • 2e741a2 chore: next release
  • 2979feb chore: add changeset
  • a8f92ba fix(core): use regexp to fetch imports in slots patch
  • c22f880 chore: fix changelog headline orders
  • 6554802 chore: update CHANGELOG.md
  • d1a581c chore: next release
  • c3e1741 refactor(core): remove selectionOnDrag prop and use selectionKeyCode to t...
  • 31e3a8c tests: update selector
  • 012a19d chore(core): remove log
  • 4dbb51d chore(examples): cleanup examples
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Merge request reports