diff --git a/.changeset/delete-empty-selection-no-modal.md b/.changeset/delete-empty-selection-no-modal.md deleted file mode 100644 index 4e053a54c..000000000 --- a/.changeset/delete-empty-selection-no-modal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@workflowbuilder/sdk': patch ---- - -Pressing Delete or Backspace with nothing selected no longer opens the delete confirmation modal. diff --git a/.changeset/duplicate-to-drafts-conditional.md b/.changeset/duplicate-to-drafts-conditional.md deleted file mode 100644 index c77e7342b..000000000 --- a/.changeset/duplicate-to-drafts-conditional.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@workflowbuilder/sdk': patch ---- - -The app bar's "Duplicate to Drafts" menu item now renders only when an `onDuplicateClick` handler is provided, removing the default no-op button. diff --git a/.changeset/keyboard-zoom.md b/.changeset/keyboard-zoom.md deleted file mode 100644 index 3444eab61..000000000 --- a/.changeset/keyboard-zoom.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@workflowbuilder/sdk': minor ---- - -The editor now supports keyboard zoom: `Ctrl/Cmd` with `+`/`=` zooms in and `Ctrl/Cmd` with `-` zooms out while the canvas is focused. diff --git a/.changeset/nodes-palette-race-condition.md b/.changeset/nodes-palette-race-condition.md deleted file mode 100644 index 50e6f2931..000000000 --- a/.changeset/nodes-palette-race-condition.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@workflowbuilder/sdk': patch ---- - -Simultaneous loading of nodes and the palette can result in a race condition. If nodes are loaded before the palette, new errors (for example, for fields that were not evaluated earlier) are skipped, and the node only shows a “!” indicator when the user selects it. diff --git a/.changeset/pretty-months-thank.md b/.changeset/pretty-months-thank.md deleted file mode 100644 index a52476ca9..000000000 --- a/.changeset/pretty-months-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@workflowbuilder/sdk': patch ---- - -Block edge creation in read-only mode. diff --git a/.changeset/readonly-cut-paste-block.md b/.changeset/readonly-cut-paste-block.md deleted file mode 100644 index 9187c7b1d..000000000 --- a/.changeset/readonly-cut-paste-block.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@workflowbuilder/sdk': patch ---- - -We are blocking cut and paste actions in the diagram in read-only mode; copying is still allowed. diff --git a/.changeset/template-selector-title.md b/.changeset/template-selector-title.md deleted file mode 100644 index 05bf1a61e..000000000 --- a/.changeset/template-selector-title.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@workflowbuilder/sdk': patch ---- - -The template selector modal title now uses the SDK's own `templateSelector.title` string instead of an unrelated plugin translation key. diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index ac3b81bb5..14ec00bc0 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [2.2.0] - 2026-06-29 + +### Added + +- Keyboard zoom in the editor: `Ctrl/Cmd` with `+`/`=` zooms in and `Ctrl/Cmd` with `-` zooms out while the canvas is focused. + +### Changed + +- Render the app bar's "Duplicate to Drafts" menu item only when an `onDuplicateClick` handler is provided, removing the default no-op button. + +### Fixed + +- Stop the delete confirmation modal from opening when Delete or Backspace is pressed with nothing selected. +- Surface validation errors when nodes load before the palette. A race between node and palette loading previously dropped newly applicable errors (for example, for fields not evaluated earlier), so the node showed only a "!" indicator until selected. +- Block edge creation in read-only mode. +- Block cut and paste in the diagram in read-only mode; copying is still allowed. +- Use the SDK's own `templateSelector.title` string for the template selector modal title instead of an unrelated plugin translation key. + ## [2.1.0] - 2026-06-16 ### Added @@ -38,6 +56,7 @@ First public npm release. The major bump continues the Workflow Builder version - Distribution model: editor is now consumed via `npm install @workflowbuilder/sdk` instead of cloning the monorepo. Consumers no longer need monorepo tooling, tsconfig paths, or workspace symlinks. +[2.2.0]: https://www.npmjs.com/package/@workflowbuilder/sdk/v/2.2.0 [2.1.0]: https://www.npmjs.com/package/@workflowbuilder/sdk/v/2.1.0 [2.0.1]: https://www.npmjs.com/package/@workflowbuilder/sdk/v/2.0.1 [2.0.0]: https://www.npmjs.com/package/@workflowbuilder/sdk/v/2.0.0 diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 880354faa..4dfad1e4d 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@workflowbuilder/sdk", - "version": "2.1.0", + "version": "2.2.0", "description": "React SDK for Workflow Builder — embed a visual, flow-based workflow editor in your app.", "keywords": [ "workflow",