Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions release-notes/version-6/sdk-changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,36 @@ description: Release Notes of changes added to the core Velt SDK
- `@veltdev/sdk`
- `@veltdev/types`

<Update label="6.0.0-beta.13" description="July 20, 2026">

### New Features

- [**Suggestions**]: `enableSuggestionMode()` now works with zero configuration — a new `autoCommit` option (default `true`) turns every detected edit on a tagged target into a suggestion comment automatically, no handler required. Pass `autoCommit: false` for detect-only mode. [Learn more →](/async-collaboration/suggestions/overview)

- [**Suggestions**]: Suggestions now support rich HTML summaries via a new `summaryHtml` field on `commitSuggestion()` and the `onTargetEditCommit` return value. When omitted, the SDK renders a default color-coded diff (removed values in red, additions in green). HTML is sanitized at render time. [Learn more →](/async-collaboration/suggestions/overview)

- [**Suggestions**]: Human-authored suggestion comments now render the full Suggestion card — header, diff body, and accept/reject actions — just like agent-generated suggestions. Reviewers can propose value changes as a first-class workflow.

### Bug Fixes

- [**Comments**]: Fixed a set of stale-state issues in the Comment Dialog caused by virtual-scroll row recycling. Drafts, edits, replies, assignees, mentions, and `velt-class` conditions now stay correctly bound to their own annotation across scroll, collapse/expand, and group toggles — in both the standard dialog and custom wireframes.

- [**Comments**]: The reply composer now closes on deselect and no longer stays open on the wrong annotation after the dialog is recycled.

- [**Suggestions**]: A failed auto-commit can now be retried through the `targetEditCommit` event builder — the double-commit guard only trips on a successful commit.

### Breaking Changes

<Warning>
These renames only affect integrations that use the low-level Comment Dialog **suggestion** wireframe or primitive components directly. Integrations using the default Comment Dialog are unaffected. There are no runtime aliases for the old names.
</Warning>

- [**Comments**]: The `AgentSuggestion` card component tree was renamed to `Suggestion` — the card now renders human-authored suggestions too, so the `Agent` qualifier no longer fit. Update your React imports (e.g. `VeltCommentDialogAgentSuggestion` → `VeltCommentDialogSuggestion`), wireframe dot-notation references, and HTML custom-element tags (`velt-comment-dialog-agent-suggestion-*` → `velt-comment-dialog-suggestion-*`). Also update any CSS overrides targeting the old `velt-suggestion*` classes. [Learn more →](/ui-customization/features/async/comments/comment-dialog/wireframes)

- [**Comments**]: The standalone accept/reject action row was renamed from `SuggestionAction` to `LegacySuggestionAction` (React exports, wireframe dot-notation, and HTML tags including `-wireframe` variants). The new `Suggestion` card supersedes this row inside the standard dialog; the `Legacy…` names remain for standalone custom-element usage only. [Learn more →](/ui-customization/features/async/comments/comment-dialog/primitives)

</Update>

<Update label="6.0.0-beta.10" description="July 14, 2026">

### New Features
Expand Down