Skip to content

Releases: newcat/baklavajs

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)

v2.2.1

26 Dec 02:32
Compare
Choose a tag to compare
  • Fix subgraph creation (#345) (PR #353)

v2.2.0

21 Nov 23:32
Compare
Choose a tag to compare
  • Allow moving multiple nodes at once (#342) (PR #341) (thanks @yojeek)
  • Fix copy/paste (#338) (PR #340) (thanks @yojeek)
  • Added tooltip for NodeInterface ports (PR #337) (thanks @yojeek)
  • Allow selecting multiple nodes using the shift key in addition to the control key (#339)

v2.1.1

02 Nov 00:00
Compare
Choose a tag to compare

BaklavaJS v2 is now officially out of beta πŸŽ‰
More info can be found in the announcement

This version includes the changes of all previous beta releases, as well as:

  • Input/Output nodes in subgraphs now save their position (#244) (PR #328, thank you @yojeek)
  • The dependency engine now properly handles nodes without a calculate function (#313)

For migration from v1 to v2, have a look here: https://v2.baklava.tech/migration.html