@tiptap-pro/compare changelog

Changelog for @tiptap-pro/compare

0.1.16

Patch Changes

  • Reduce unnecessary metadata comparisons when comparing edit histories with separate changes.
  • Include customer documentation in the published package.
  • Updated dependencies
    • @tiptap-pro/extension-tracked-changes@0.14.3

0.1.15

Patch Changes

  • Speed up comparison of large cached formatting changes and their overlapping edit histories.
  • Add the handleTrackedChanges option to compareSteps and compareVersions. Set it to 'showAccepted' to show Tracked Changes suggestions only once they are accepted, instead of showing pending suggestions as content.
  • Add handleTrackedChanges: 'showAcceptedAndPending' to compareSteps and compareVersions. It works like 'showAccepted' and also shows each pending Tracked Changes suggestion as its own change, with the suggestion's author and ID in its metadata.
  • Compare now requires @tiptap/core and @tiptap/pm 3.30.1 or later, the same as Tracked Changes. If your app uses an older Tiptap 3 version, upgrade your Tiptap packages to 3.30.1 or later.
  • Updated dependencies
    • @tiptap-pro/extension-tracked-changes@0.14.2

0.1.14

Patch Changes

  • Speed up comparisons of sequences containing many empty cached transitions.

0.1.13

Patch Changes

  • Speed up smart comparisons with broad text edits or reordered blocks.
  • Reduce array initialization overhead during document comparisons.

0.1.12

Patch Changes

  • Rejecting nested formatting in a tracked-changes export now restores the formatting instead of deleting the text. Nested changes from compareSteps now include a type and markChanges when they kept their text.
  • Keep ignored attributes intact in input documents and results when comparing document sequences in strict mode.
  • Rejecting a tracked mark change now restores the original mark when the new mark excludes it, for example when bold text was changed to inline code.

0.1.11

Patch Changes

  • Improve performance of comparing long documents with many nodes.

0.1.10

Patch Changes

  • Speed up document and revision comparisons when configured ignored node types are absent.
  • Fixed diffs with ignoreNodes when versions add or remove ignored nodes. Changes now keep the right content and author, and replay correctly in both directions.
  • Fix strict-mode validation failing on structural replacements that span multiple authors' edits.
  • Allow comparing preloaded document sequences without optional metadata or cached changes, including after appending more steps.

0.1.9

Patch Changes

  • Allow strict sequence comparisons to ignore node wrappers selected by ignoreNodes.
  • Reduce comparison time and temporary memory use for documents with many inline edits.
  • Speed up comparisons across many document versions, avoiding repeated computations.
  • Fix duplicate insertions when comparing repeated overlapping revisions by alternating authors.

0.1.8

Patch Changes

  • Keep insertion and deletion ranges valid beside ignored nodes.
  • Improve performance of comparing long documents with many nodes.

0.1.7

Patch Changes

  • Fix strict mode rejecting valid list attribute changes followed by text replacements.
  • Improve performance when comparing documents and edit sequences with ignored nodes.
  • Fix strict comparison rejecting inline changes that cross list item boundaries.
  • Preserve existing tracked replacements with separated parts and report their ranges without including intervening content.
  • Improve comparison performance for documents and version sequences with text edits.
  • Improve performance of comparing long documents with many nodes
  • License updates

0.1.6

Patch Changes

  • Speed up comparisons of heavily edited, formatted documents and reduce comparison memory use.
  • Preserve text and formatting in simplified diffs when nearby change merging is disabled.

0.1.5

Patch Changes

  • Preserve text order when accepting or rejecting overlapping changes from an edit history.

0.1.4

Patch Changes

  • Keep changed emojis whole in document diffs across all comparison modes and settings.

0.1.3

Patch Changes

  • Release custom node views when AI Toolkit previews are removed or Compare previews fail to render.

0.1.2

Patch Changes

  • Fix formatted suggestion previews inheriting neighboring text marks while preserving their own formatting and plain-text replacement behavior.

0.1.1

Patch Changes

  • Keep adjacent insertions after deleted content in the correct order.
  • Track moved formatting boundaries without duplicating unchanged text.
  • Keep suggestion marks in valid schema order alongside existing formatting.
  • Preserve structural edits when the same suggestion also changes text formatting.

0.1.0

Minor Changes

  • Initial release of the compare package