Skip to content

Releases: newcat/baklavajs

v2.6.0

26 Oct 23:03
Compare
Choose a tag to compare
  • Add "Zoom to fit" command and toolbar entry (PR #432) (thanks @jackgriffiths)
  • Add named export for getDomElements (PR #433) (thanks @Doltario)
  • Open node-specific context menu when right-clicking node title
  • Don't open context menu on child elements (#421)

v2.5.1

22 Oct 23:06
Compare
Choose a tag to compare
  • Improve resizing UX after dragging past the min and max widths (PR #431) (thanks @jackgriffiths)
  • Expose connection utilities (#408)

v2.5.0

19 Oct 00:36
Compare
Choose a tag to compare

v2.4.5

25 May 00:20
Compare
Choose a tag to compare

v2.4.4

11 Apr 23:15
Compare
Choose a tag to compare
  • Fix type overrides not being included in build output (#396)

v2.4.3

20 Mar 20:38
Compare
Choose a tag to compare
  • Fix errors with subgraphs due to accidental proxying of undefined values (#401)
  • Improve type inference when using the defineNode function (requires at least TypeScript version 5.4)

v2.4.2

24 Feb 23:27
Compare
Choose a tag to compare
  • Fix Command "START_SELECTION_BOX" already exists error when mounting the same view model multiple times

v2.4.1

19 Feb 01:47
Compare
Choose a tag to compare
  • Deprecate EditorComponent export of @baklavajs/renderer-vue, use BaklavaEditor instead
  • Fix graph templates not getting cleared when loading (#384) (PR #383) (thanks @yojeek)
  • Fix selection box selecting wrong nodes when editor is not at the top-left corner of the page (#382)
  • Fix nested subgraphs causing errors on creation (#376)
  • Fix node interface with allowMultipleConnections: true not handled correctly in a graph node (#377)
  • Update docs to use <script setup> for basic setup

v2.4.0

08 Feb 23:51
Compare
Choose a tag to compare
  • Added box selection which can be triggered in the toolbar or by pressing "b" (#298, #368) (based on PR #372) (thanks @starker-xp)
  • Added configuration settings for disabling certain parts of the editor (PR #357) (thanks @starker-xp)
  • Added textarea interface (PR #356) (thanks @starker-xp)
  • Added option to invert positions for node inputs/outputs (PR #375) (thanks @starker-xp)
  • Added trash bin icon to toolbar (based on PR #380) (thanks @MaksKukarach)
  • Added options for preventDefault and stopPropagation when registering a hotkey (#362)
  • Improved context menu handling (PR #358) (thanks @starker-xp)
  • Fix connections getting assigned new IDs on redo (PR #359) (thanks @a876691666)
  • Fix delete not always removing all selected nodes (PR #363) (thanks @skadefro)
  • Fix min/max being ignored on NumberInterface when set to 0 (#361)
  • Deactivate context menu on node palette, toolbar, and minimap
  • The ContextMenu component is now exported
  • The IViewSettings type is now exported
  • The displayInSidebar middleware is now exported
  • Added getType function to @baklavajs/interface-types
  • Improved playground saving/loading (PR #378) (thanks @yojeek)
  • Modified file extensions of output files for better NodeJS support (#379)

v2.3.0

02 Jan 03:35
Compare
Choose a tag to compare

New features:

  • Brought back the minimap from v1
  • Brought back the context menu from v1 (#240)
    • It is possible to add custom menu items through the baklavaViewModel.settings.contextMenu.additionalItems setting
  • Nodes are now resizable (has to be enabled by setting baklavaViewModel.settings.nodes.resizable to true).
    • Added settings for minWidth, maxWidth and defaultWidth (#302)

Bugfixes:

  • Fixed copy&paste with dynamic nodes (#343)
  • Fixed hotkeys triggering when input fields were focused (#352)
  • Reduced precision errors when using the increase/decrease buttons of the NumberInterface (#327)
  • Added setTypeForMultipleConnections to fix TypeScript error when using setType and allowMultipleConnections together (#248)