Skip to content

Releases: synergycodes/workflowbuilder

@workflowbuilder/sdk v2.0.1

29 May 12:14

Choose a tag to compare

  • Stop NodeProperties from pushing a phantom undo entry when JsonForms re-emits onChange after an external data change (e.g. just after undo()), which previously cleared future and broke redo.
  • Remove nested var(var(...)) from palette variables.css that broke strict CSS parsers (e.g. Lightning CSS / Next.js Turbopack).
  • Drop nodeId from handle IDs. Compound nodes (decision, AI agent, conditional) can now declare default ports statically (e.g. in JSON-defined defaultProperties) and copy/paste no longer requires custom handle rewriting after a node ID change. getHandleId({ nodeId }) still compiles. The argument is optional, marked @deprecated, and ignored at runtime. Diagrams saved with the 2.0.0 <nodeId>:<handleType>[:inner:<innerId>] format are auto-migrated to the new <handleType>[:inner:<innerId>] form on setDiagramModel and setStoreDataFromIntegration.
  • Stabilize horizontal port Y on built-in node templates so multi-line descriptions no longer shift the port and bend edges between adjacent nodes. Pins the resulting port to the NodeIcon's vertical center via a global CSS rule scoped to a SDK-owned anchor class. Also fixes a latent bug where DecisionNodeTemplate hardcoded Position.Right on the source handle instead of honoring layoutDirection.