@tiptap-pro/extension-ai Changelog

Changelog for @tiptap-pro/extension-ai

3.8.0

3.7.4

3.7.3

3.7.2

3.7.1

Patch Changes

  • 0608c46: Minor bugfixes & improvements

3.7.0

3.6.3

3.6.2

3.6.1

3.6.0

3.5.0

3.4.1

Patch Changes

  • 5567996: Reintroduce deleted generatedWith.range property of extension storage

3.4.0

Patch Changes

  • c0fad06: - Allow user edits during AI content streaming.
    • Fixes a bug where user edits during AI streaming would cause content to be inserted at incorrect positions.
    • Fixes a bug where the AI decoration would be shown in the incorrect positions while streaming
    • Fixes a bug where the incorrect content would be inserted in the document if the user rejected an edit.

3.3.1

3.3.0

3.2.1

Patch Changes

  • 11d880c: Publish a new version so that the latest tag is set to the v3 version of pro packages

3.2.0

Minor Changes

  • f6100e9: Support GPT-5 models

Patch Changes

  • cb66828: Fix streaming bugs where content was inserted in the wrong positions

    • Remove experimental "streaming v2" implementation. This approach has been abandoned because it had some drawbacks. Mainly, content was rendered as decorations so no decorations could be shown on top of it. Therefore, it did not integrate well with the Notion-like template.
    • Modify the aiStream command with a new implementation of streaming. In this new version, the new document (with the streamed content) is compared with the current document using the prosemirror-changeset library. Thanks to this system, the content is always inserted in the exact positions where it should go. This fixes the bug where streamed content is inserted in the wrong position.
    • Fix a bug where content is not inserted in a new paragraph when it should be. For example, if the AI inserted a h2 tag inside a paragraph, the h2 tag would be converted into a paragraph instead of being inserted into a new paragraph. Now, with the new streaming implementation, the extension intelligently decides when to insert content into a new paragraph and when to insert it in the same paragraph (see replace-range-with-fragment.ts file for the implementation).
    • Fix a bug that occurred while converting the streamed content to a fragment, where an empty text node was inserted after a block node.
    • Modify the demos so that they do not use the experimental "streaming v2" implementation.

3.1.0

Minor Changes

  • 699eef4: Add stream v2 implementation that solves bug where incorrect content gets deleted or added while streaming

Patch Changes

  • 08dcfb4: Update package.json homepage field to the correct URL value

3.0.1

3.0.0

Major Changes

  • 953106f: Updated all tiptap dependencies

Minor Changes

  • a819f5a: Use decorations to render AI-generated content
  • 05d3091: Enable developers to customize the autocomplete trigger and define an autocomplete-as-you-type behaviour

Patch Changes

  • 40d6b02: updated tiptap and hocuspocus dependencies
  • 95edb66: Send spaces to backend so that the response respects the spaces between words in autocomplete response
  • 8292f35: Initialized Changesets
  • 77a7769: Bumped @tiptap and @hocuspocus dependencies
  • 7f9455b: Bumped Tiptap and Hocuspocus Dependencies to most recent version
  • 828eb51: Let developers mark new commands as regenerations
  • 4a35f7e: Rename isRegenerate param to regenerate to make the naming more consistent
  • 6b08d0c: Bumped tiptap and hocuspocus dependencies
  • b31ecec: Updated tiptap packages
  • e369685: upgraded hocuspocus and tiptap dependencies
  • aca403d: Bump tiptap and hocuspocus dependencies

3.0.0-beta.31

3.0.0-beta.30

Patch Changes

  • 7f9455b: Bumped Tiptap and Hocuspocus Dependencies to most recent version

3.0.0-beta.29

3.0.0-beta.28

3.0.0-beta.27

3.0.0-beta.26

3.0.0-beta.25

Patch Changes

  • 77a7769: Bumped @tiptap and @hocuspocus dependencies

3.0.0-beta.24

Patch Changes

  • aca403d: Bump tiptap and hocuspocus dependencies

3.0.0-beta.23

3.0.0-beta.22

Patch Changes

  • e369685: upgraded hocuspocus and tiptap dependencies

3.0.0-beta.21

Patch Changes

  • 828eb51: Let developers mark new commands as regenerations
  • 4a35f7e: Rename isRegenerate param to regenerate to make the naming more consistent

3.0.0-beta.20

Patch Changes

  • 6b08d0c: Bumped tiptap and hocuspocus dependencies

3.0.0-beta.19

Minor Changes

  • a819f5a: Use decorations to render AI-generated content
  • 05d3091: Enable developers to customize the autocomplete trigger and define an autocomplete-as-you-type behaviour

Patch Changes

  • 95edb66: Send spaces to backend so that the response respects the spaces between words in autocomplete response

3.0.0-beta.18

Patch Changes

  • 40d6b02: updated tiptap and hocuspocus dependencies

3.0.0-beta.17

3.0.0-beta.16

Patch Changes

  • b31ecec: Updated tiptap packages

3.0.0-beta.15

Major Changes

  • 953106f: Updated all tiptap dependencies

3.0.0-next.1

3.0.0-next.0

Patch Changes

  • 8292f35: Initialized Changesets

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.21.5 (2025-06-18)

Note: Version bump only for package @tiptap-pro/extension-ai

2.21.4 (2025-06-12)

Note: Version bump only for package @tiptap-pro/extension-ai

2.21.3 (2025-06-11)

Note: Version bump only for package @tiptap-pro/extension-ai

2.21.2 (2025-06-11)

Note: Version bump only for package @tiptap-pro/extension-ai

2.21.1 (2025-06-10)

Note: Version bump only for package @tiptap-pro/extension-ai

2.21.0 (2025-05-30)

Note: Version bump only for package @tiptap-pro/extension-ai

2.20.2 (2025-05-29)

Bug Fixes

  • calculate last index of the document correctly (1f2fa2b)

2.20.1 (2025-05-29)

Bug Fixes

  • export unsetAllAiMarks command and simplify its code (6793832)

2.20.0 (2025-05-28)

Bug Fixes

  • prevent trailing text from appearing after the content when you stream AI-generated content (#283) (676b1ca)
  • remove redundant serialization and deserialization step (#279) (91b15cd)

Features

  • configure if decorations are hidden on stream end (#282) (7fc66c3)

2.19.2 (2025-05-25)

Note: Version bump only for package @tiptap-pro/extension-ai

2.19.1 (2025-05-15)

Note: Version bump only for package @tiptap-pro/extension-ai

2.19.0 (2025-05-14)

Features

2.18.2 (2025-05-13)

Note: Version bump only for package @tiptap-pro/extension-ai

2.18.1 (2025-05-12)

Note: Version bump only for package @tiptap-pro/extension-ai

2.18.0 (2025-04-17)

Features

  • update list of openai models (9a7b6f8)

2.17.8 (2025-04-11)

Note: Version bump only for package @tiptap-pro/extension-ai

2.17.7 (2025-04-11)

Bug Fixes

  • create new paragraph if the generated text is plain text and it is outside the content (75df53c)

2.17.6 (2025-03-29)

Note: Version bump only for package @tiptap-pro/extension-ai

2.17.5 (2025-02-26)

Note: Version bump only for package @tiptap-pro/extension-ai

2.17.4 (2025-02-11)

Note: Version bump only for package @tiptap-pro/extension-ai

2.17.3 (2025-01-30)

Bug Fixes

  • autocompletion: correct linting errors (9930c1a)

Features

  • autocompletion: enhance trigger options with accept, debounce (9e78d8b)

2.17.2 (2025-01-07)

Note: Version bump only for package @tiptap-pro/extension-ai

2.17.1 (2024-12-30)

Note: Version bump only for package @tiptap-pro/extension-ai

2.17.0 (2024-12-20)

Note: Version bump only for package @tiptap-pro/extension-ai

2.16.3 (2024-11-28)

Bug Fixes

  • emoji: preserve marks in stored marks when inserting an emoji (#143) (5ebbed4)
  • prevent autocomplete api calls on pressing tab key (#142) (95c157a)

2.16.2 (2024-11-27)

Note: Version bump only for package @tiptap-pro/extension-ai

2.16.1 (2024-11-26)

Bug Fixes

  • mathematics: do some bounds checking to make the root doc not be asked what it's before or after is (#140) (7af2b73)

2.16.0 (2024-11-25)

Features

  • table-of-contents: add a command to force refresh the table of contents (#132) (dafc61e)

2.15.0 (2024-11-20)

Note: Version bump only for package @tiptap-pro/extension-ai

2.14.1 (2024-11-14)

Bug Fixes

2.14.0 (2024-11-07)

Note: Version bump only for package @tiptap-pro/extension-ai

2.13.0 (2024-10-31)

Features

  • snapshot-compare: first version of snapshot compare (#113) (8462002)

2.11.9 (2024-10-02)

Bug Fixes

  • ai: resolve an off-by-one error when continue writing was used (5824995)

2.11.8 (2024-10-02)

Bug Fixes

  • implement defaultResolver for autocomplete (c927b35)

2.11.7 (2024-09-27)

Note: Version bump only for package @tiptap-pro/extension-ai

2.11.6 (2024-09-27)

Note: Version bump only for package @tiptap-pro/extension-ai

2.11.5 (2024-09-27)

Note: Version bump only for package @tiptap-pro/extension-ai

2.11.4 (2024-09-26)

Note: Version bump only for package @tiptap-pro/extension-ai

2.11.3 (2024-09-24)

Bug Fixes

  • aiAccept works on a non-streamed response now (#126) (c0cdc4e)

2.11.2 (2024-08-30)

Note: Version bump only for package @tiptap-pro/extension-ai

2.11.1 (2024-08-23)

Bug Fixes

  • apply aiMark in 1 step to fix history + position fixes (#112) (b06f76c)

2.11.0 (2024-08-21)

Note: Version bump only for package @tiptap-pro/extension-ai

2.10.11 (2024-08-09)

Note: Version bump only for package @tiptap-pro/extension-ai

2.10.10 (2024-08-08)

Note: Version bump only for package @tiptap-pro/extension-ai

2.10.9 (2024-08-06)

Note: Version bump only for package @tiptap-pro/extension-ai

2.10.8 (2024-08-06)

Note: Version bump only for package @tiptap-pro/extension-ai

2.10.7 (2024-07-31)

Note: Version bump only for package @tiptap-pro/extension-ai

2.10.6 (2024-07-31)

Features

  • add support for gpt-4o-mini (eb18df4)

2.10.5 (2024-07-26)

Bug Fixes

  • do not emit errors on invalid content (#111) (6e38519)

2.10.4 (2024-07-26)

Bug Fixes

  • ai-advanced extension now can use editor.storage.aiAdvanced (f33f2ee)

2.10.3 (2024-07-16)

Note: Version bump only for package @tiptap-pro/extension-ai

2.10.2 (2024-07-15)

Note: Version bump only for package @tiptap-pro/extension-ai

2.10.1 (2024-07-15)

Note: Version bump only for package @tiptap-pro/extension-ai

2.10.0 (2024-07-14)

Note: Version bump only for package @tiptap-pro/extension-ai

2.9.3 (2024-07-05)

Note: Version bump only for package @tiptap-pro/extension-ai

2.9.2 (2024-06-28)

Note: Version bump only for package @tiptap-pro/extension-ai

2.9.1 (2024-06-26)

Bug Fixes

2.9.0 (2024-06-26)

Bug Fixes

  • account for offset in normal text (75e6e51)
  • ai: account for an off-by-one bug with appending (8789ca0)
  • ai: resolve a minor prosemirror parser issue with handling partial HTML (4c36244)
  • allow regenerating better (c62a71a)
  • check for undefined step (d538512)
  • clear pastResponses on accept (39146f6)
  • do not preserve whitespace on injection (1a5d142)
  • insert response at correct position (aa9b3c0)
  • no input rules on accept (7430b83)
  • remove custom command (5a0a611)
  • resolve off-by-one bug in accepting response (e3f9074)
  • return true explicitly, not a promise (c25dc80)
  • the try needs to wrap the whole chain (d6bc998)
  • wrangle the types for ai-advanced (c205c12)

Features

  • add aiCustom command (6a61da5)
  • add aiKeypoints command (12ccd7b)
  • add support for injectAt (f6bc79d)
  • ai regenerate response & response history (e9d2815)
  • ai: rejecting mid-response will cancel the request (4d9356c)
  • clean up the AI extension while supporting all the new features (0a7295c)
  • disable prompting when already executing (e942bf6)
  • export tryParseToTiptapHTML (12ba0c5)
  • include context feature into prompt (ba472d1)
  • make applying aiMark configurable (a7d7a57)
  • markdown streaming poc from @mkriegeskorte (64f93d5)
  • more changes for demo (a8fad9a)

3.0.0-beta.4 (2024-02-08)

3.0.0-beta.3 (2024-02-08)

3.0.0-beta.2 (2024-02-08)

3.0.0-beta.1 (2024-02-08)

3.0.0-beta.0 (2024-02-08)

Features

  • extension-ai: pass type to onLoading callback and add to autocompletion (#75) (d681745)

2.8.9 (2024-06-03)

Note: Version bump only for package @tiptap-pro/extension-ai

2.8.8 (2024-05-27)

Bug Fixes

  • remove the ai mark after generation (#92) (ec37eee)

2.8.7 (2024-05-15)

Features

  • expose new gpt-4o model (17c3517)

2.8.6 (2024-05-08)

Note: Version bump only for package @tiptap-pro/extension-ai

2.8.5 (2024-05-08)

Note: Version bump only for package @tiptap-pro/extension-ai

2.8.4 (2024-05-08)

Note: Version bump only for package @tiptap-pro/extension-ai

2.8.3 (2024-05-08)

Note: Version bump only for package @tiptap-pro/extension-ai

2.8.2 (2024-05-06)

Note: Version bump only for package @tiptap-pro/extension-ai

2.8.1 (2024-04-12)

Note: Version bump only for package @tiptap-pro/extension-ai

2.8.0 (2024-04-05)

Note: Version bump only for package @tiptap-pro/extension-ai

2.7.7 (2024-03-28)

Note: Version bump only for package @tiptap-pro/extension-ai

2.7.6 (2024-03-14)

Note: Version bump only for package @tiptap-pro/extension-ai

2.7.5 (2024-02-20)

Note: Version bump only for package @tiptap-pro/extension-ai

2.7.4 (2024-02-20)

Note: Version bump only for package @tiptap-pro/extension-ai

2.7.3 (2024-02-20)

Note: Version bump only for package @tiptap-pro/extension-ai

2.7.2 (2024-02-16)

Note: Version bump only for package @tiptap-pro/extension-ai

2.7.1 (2024-02-16)

Note: Version bump only for package @tiptap-pro/extension-ai

2.7.0 (2024-02-15)

Note: Version bump only for package @tiptap-pro/extension-ai

2.6.5 (2024-02-07)

Note: Version bump only for package @tiptap-pro/extension-ai

2.6.4 (2024-01-29)

Note: Version bump only for package @tiptap-pro/extension-ai

2.6.3 (2024-01-22)

Note: Version bump only for package @tiptap-pro/extension-ai

2.6.2 (2024-01-19)

Note: Version bump only for package @tiptap-pro/extension-ai

2.6.1 (2024-01-16)

Reverts

  • Revert "switch to rc tiptap versions for release candidate" (d397698)

2.6.0 (2024-01-09)

Note: Version bump only for package @tiptap-pro/extension-ai

2.5.2 (2024-01-09)

Note: Version bump only for package @tiptap-pro/extension-ai

2.5.1 (2023-12-08)

Note: Version bump only for package @tiptap-pro/extension-ai

2.5.0 (2023-11-27)

Note: Version bump only for package @tiptap-pro/extension-ai

2.4.1 (2023-11-21)

Note: Version bump only for package @tiptap-pro/extension-ai

2.4.0 (2023-11-16)

Note: Version bump only for package @tiptap-pro/extension-ai

2.3.4 (2023-11-15)

Note: Version bump only for package @tiptap-pro/extension-ai

2.3.3 (2023-10-14)

Note: Version bump only for package @tiptap-pro/extension-ai

2.3.2 (2023-10-12)

Note: Version bump only for package @tiptap-pro/extension-ai

2.3.1 (2023-10-06)

Note: Version bump only for package @tiptap-pro/extension-ai

2.3.0 (2023-09-27)

Bug Fixes

  • extension-ai: fix errors in case of multiple triggering (c738a59)

2.2.2-rc.3 (2023-09-04)

2.2.2-rc.2 (2023-09-04)

2.2.2-rc.1 (2023-09-04)

2.2.2-rc.0 (2023-08-22)

2.2.4 (2023-09-19)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.3 (2023-09-11)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.2 (2023-09-08)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.2-rc.3 (2023-09-04)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.2-rc.2 (2023-09-04)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.2-rc.1 (2023-09-04)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.2-rc.0 (2023-08-22)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.1 (2023-08-22)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.0 (2023-08-19)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.0-rc.6 (2023-08-11)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.0-rc.5 (2023-08-09)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.0-rc.4 (2023-08-04)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.0-rc.3 (2023-07-31)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.0-rc.2 (2023-07-26)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.0-rc.1 (2023-07-26)

Note: Version bump only for package @tiptap-pro/extension-ai

2.2.0-rc.0 (2023-07-22)

Note: Version bump only for package @tiptap-pro/extension-ai