@tiptap-pro/client-ai-toolkit changelog

Changelog for @tiptap-pro/client-ai-toolkit

0.15.1

Patch Changes

  • Restore the findContentRange API for finding document ranges by hash, HTML, or both.

0.15.0

Minor Changes

  • Allow custom node attribute comparators in inline, smart, and block diffs.
  • Remove the experimental findContentRange method.
  • Remove the undocumented getRangeFromNodeRange method.

Patch Changes

  • Fix an extra item being inserted when the AI edits custom nodes that render as tables.

0.14.2

Patch Changes

  • Preserve structural and insertion node splits when AI edits tracked content.

    Keep node formatting changes inside insertion splits and prevent rejected edits spanning multiple blocks from restoring pending insertions.

  • Preserve separate deletion suggestions that share the same position in the final document.

  • Keep adjacent insertions after deleted content in the correct order.

  • Represent block-wide formatting changes as text suggestions so their formatting can be rejected.

  • Report a suggestion spanning formatted text as one complete range.

  • Track moved formatting boundaries without duplicating unchanged text.

  • Keep suggestion marks in valid schema order alongside existing formatting.

  • Split mixed formatting changes into suggestions that can be reviewed independently.

  • Preserve existing nested suggestions with their original attribution when annotating surrounding content.

  • Preserve structural changes as replacement suggestions when the text stays the same.

  • Preserve structural edits when the same suggestion also changes text formatting.

0.14.1

Patch Changes

  • Prevent pending document comparisons from running after an editor is destroyed.

0.14.0

Minor Changes

  • Tracked Changes integration now supports block splits.

Patch Changes

  • Fix an extra empty row being inserted when the AI edits custom nodes that render as tables.

0.13.3

Patch Changes

  • Fix CommonJS type declaration export paths.

0.13.2

Patch Changes

  • Preserve boundary whitespace consistently when inserting HTML.

0.13.1

Patch Changes

  • Use namespaced AI Toolkit events to synchronize tracked-change comment threads without conflicting with the Tracked Changes extension event payloads.

0.13.0

0.12.2

Patch Changes

  • Add disclaimer banner to build

0.12.1

Patch Changes

  • Fix node hashes assigned by tiptapRead not persisting to the collaborative document when a read runs during an incoming remote update, which could cause later operations to fail with "Node with this hash not found" after a reload

0.12.0

Minor Changes

  • Add client AI Toolkit packages and retain the existing package names as compatibility aliases.