@tiptap/extension-unique-id Changelog

Changelog for @tiptap/extension-unique-id

3.22.4

Patch Changes

  • 27ea931: Fix dependencies installation after packages updates producing peer dependency resolution conflicts
  • Updated dependencies [27ea931]
  • Updated dependencies [64f36b8]
  • Updated dependencies [032f8f1]
    • @tiptap/core@3.22.4
    • @tiptap/pm@3.22.4

3.22.3

Patch Changes

  • Updated dependencies [cb28e7b]
    • @tiptap/core@3.22.3
    • @tiptap/pm@3.22.3

3.22.2

Patch Changes

  • Updated dependencies [f1d504c]
  • Updated dependencies [404c683]
    • @tiptap/core@3.22.2
    • @tiptap/pm@3.22.2

3.22.1

Patch Changes

  • Updated dependencies [ee03ac0]
  • Updated dependencies [b88f9ed]
    • @tiptap/core@3.22.1
    • @tiptap/pm@3.22.1

3.22.0

Patch Changes

  • Updated dependencies [912a49b]
  • Updated dependencies [7d4fb9a]
  • Updated dependencies [0c1c112]
  • Updated dependencies [0c1c112]
  • Updated dependencies [f99bdc2]
    • @tiptap/core@3.22.0
    • @tiptap/pm@3.22.0

3.21.0

Patch Changes

  • @tiptap/core@3.21.0
  • @tiptap/pm@3.21.0

3.20.6

Patch Changes

  • @tiptap/core@3.20.6
  • @tiptap/pm@3.20.6

3.20.5

Patch Changes

  • @tiptap/core@3.20.5
  • @tiptap/pm@3.20.5

3.20.4

Patch Changes

  • Updated dependencies [0bcf3c2]
    • @tiptap/core@3.20.4
    • @tiptap/pm@3.20.4

3.20.3

Patch Changes

  • 6538ea5: Fixed a bug where empty paragraphs accumulated in the document on every page reload when using the UniqueID extension with the Collaboration extension and an externally created Yjs provider.
  • Updated dependencies [c94fac4]
  • Updated dependencies [6b9ea92]
    • @tiptap/core@3.20.3
    • @tiptap/pm@3.20.3

3.20.2

Patch Changes

  • Updated dependencies [269823d]
    • @tiptap/core@3.20.2
    • @tiptap/pm@3.20.2

3.20.1

Patch Changes

  • db873d9: Add support for types: 'all' in UniqueID to target every node type except doc and text.
  • Updated dependencies [25f57e4]
    • @tiptap/core@3.20.1
    • @tiptap/pm@3.20.1

3.20.0

Patch Changes

  • Updated dependencies [4b731e2]
  • Updated dependencies [98546ac]
  • Updated dependencies [57624a1]
  • Updated dependencies [76ce47d]
    • @tiptap/core@3.20.0
    • @tiptap/pm@3.20.0

3.19.0

Patch Changes

  • @tiptap/core@3.19.0
  • @tiptap/pm@3.19.0

3.18.0

Patch Changes

  • @tiptap/core@3.18.0
  • @tiptap/pm@3.18.0

3.17.1

Patch Changes

  • Updated dependencies [aa9709e]
  • Updated dependencies [b46e66a]
    • @tiptap/core@3.17.1
    • @tiptap/pm@3.17.1

3.17.0

Patch Changes

  • Updated dependencies [eecf1c9]
    • @tiptap/core@3.17.0
    • @tiptap/pm@3.17.0

3.16.0

Patch Changes

  • bb4989f: Improved findDuplicates helper performance from O(n²) to O(n) by using Set-based lookups instead of Array.indexOf
    • @tiptap/core@3.16.0
    • @tiptap/pm@3.16.0

3.15.3

Patch Changes

  • Updated dependencies [8f86f06]
    • @tiptap/core@3.15.3
    • @tiptap/pm@3.15.3

3.15.2

Patch Changes

  • @tiptap/core@3.15.2
  • @tiptap/pm@3.15.2

3.15.1

Patch Changes

  • @tiptap/core@3.15.1
  • @tiptap/pm@3.15.1

3.15.0

Patch Changes

  • c5cbea6: Fix unique ID assignment when handling empty nodes by checking next node's attribute state in the transaction document before modifying it, preventing incorrect ID assignments.
  • Updated dependencies [ac8361c]
    • @tiptap/core@3.15.0
    • @tiptap/pm@3.15.0

3.14.0

Patch Changes

  • @tiptap/core@3.14.0
  • @tiptap/pm@3.14.0

3.13.0

Patch Changes

  • Updated dependencies [526365a]
  • Updated dependencies [e3b4f68]
    • @tiptap/core@3.13.0
    • @tiptap/pm@3.13.0

3.12.1

Patch Changes

  • @tiptap/core@3.12.1
  • @tiptap/pm@3.12.1

3.12.0

Patch Changes

  • Updated dependencies [f232c5a]
    • @tiptap/core@3.12.0
    • @tiptap/pm@3.12.0

3.11.1

Patch Changes

  • Updated dependencies [d0c4264]
    • @tiptap/core@3.11.1
    • @tiptap/pm@3.11.1

3.11.0

Patch Changes

  • Updated dependencies [541c93c]
    • @tiptap/core@3.11.0
    • @tiptap/pm@3.11.0

3.10.8

Patch Changes

  • Updated dependencies [8375241]
  • Updated dependencies [b7ead7c]
  • Updated dependencies [95d3e80]
  • Updated dependencies [fd479bd]
    • @tiptap/core@3.10.8
    • @tiptap/pm@3.10.8

3.10.7

Patch Changes

  • @tiptap/core@3.10.7
  • @tiptap/pm@3.10.7

3.10.6

Patch Changes

  • @tiptap/core@3.10.6
  • @tiptap/pm@3.10.6

3.10.5

Patch Changes

  • 9d5aeb1: Fixed infinite transaction loop that caused browser tabs to freeze when using UniqueID and TrailingNode extensions together.
  • Updated dependencies [92fae18]
    • @tiptap/core@3.10.5
    • @tiptap/pm@3.10.5

3.10.4

Patch Changes

  • Updated dependencies [64561c4]
    • @tiptap/core@3.10.4
    • @tiptap/pm@3.10.4

3.10.3

Patch Changes

  • @tiptap/core@3.10.3
  • @tiptap/pm@3.10.3

3.10.2

Patch Changes

  • @tiptap/core@3.10.2
  • @tiptap/pm@3.10.2

3.10.1

Patch Changes

  • Updated dependencies [3564e7c]
    • @tiptap/core@3.10.1
    • @tiptap/pm@3.10.1

3.10.0

Patch Changes

  • Updated dependencies [4aa9f57]
  • Updated dependencies [4aa9f57]
    • @tiptap/core@3.10.0
    • @tiptap/pm@3.10.0

3.9.1

Patch Changes

  • @tiptap/core@3.9.1
  • @tiptap/pm@3.9.1

3.9.0

Minor Changes

  • 1df8901: Add updateDocument option to disable document updates caused by the Unique ID extension.

Patch Changes

  • Updated dependencies [bbb8e16]
    • @tiptap/core@3.9.0
    • @tiptap/pm@3.9.0

3.8.0

Minor Changes

  • 23e516e: Add updateDocument option to disable document updates caused by the Unique ID extension.

Patch Changes

  • @tiptap/core@3.8.0
  • @tiptap/pm@3.8.0

3.7.2

Patch Changes

  • @tiptap/core@3.7.2
  • @tiptap/pm@3.7.2

3.7.1

Patch Changes

  • @tiptap/core@3.7.1
  • @tiptap/pm@3.7.1

3.7.0

Patch Changes

  • Updated dependencies [35645d9]
  • Updated dependencies [35645d9]
  • Updated dependencies [35645d9]
    • @tiptap/core@3.7.0
    • @tiptap/pm@3.7.0

3.6.7

Patch Changes

  • @tiptap/core@3.6.7
  • @tiptap/pm@3.6.7

3.6.6

Patch Changes

  • @tiptap/core@3.6.6
  • @tiptap/pm@3.6.6

3.6.5

Patch Changes

  • Updated dependencies [1e4caea]
    • @tiptap/core@3.6.5
    • @tiptap/pm@3.6.5

3.6.4

Patch Changes

  • @tiptap/core@3.6.4
  • @tiptap/pm@3.6.4

3.6.3

Patch Changes

  • Updated dependencies [67f7b4a]
    • @tiptap/core@3.6.3
    • @tiptap/pm@3.6.3

3.6.2

Patch Changes

  • @tiptap/core@3.6.2
  • @tiptap/pm@3.6.2

3.6.1

Patch Changes

  • @tiptap/core@3.6.1
  • @tiptap/pm@3.6.1

3.6.0

Minor Changes

  • 001b718: Create a utility to add unique IDs to a document in the server

    The utility is called generateUniqueIds and is exported from the @tiptap/extension-unique-id package.

    It has the same functionality as the UniqueID extension, but without the need to create an Editor instance. This lets you add unique IDs to the document in the server.

    It takes the following parameters:

    • doc: The Tiptap JSON document to add unique IDs to.
    • extensions: The extensions to use. Must include the UniqueID extension.

    It returns the updated Tiptap JSON document, with the unique IDs added to the nodes.

Patch Changes

  • Updated dependencies [c0190bd]
    • @tiptap/core@3.6.0
    • @tiptap/pm@3.6.0

3.5.3

Patch Changes

  • @tiptap/core@3.5.3
  • @tiptap/pm@3.5.3

3.5.2

Patch Changes

  • @tiptap/core@3.5.2
  • @tiptap/pm@3.5.2

3.5.1

Patch Changes

  • @tiptap/core@3.5.1
  • @tiptap/pm@3.5.1

3.5.0

Patch Changes

  • @tiptap/core@3.5.0
  • @tiptap/pm@3.5.0

3.4.6

Patch Changes

  • Updated dependencies [968016f]
    • @tiptap/core@3.4.6
    • @tiptap/pm@3.4.6

3.4.5

Patch Changes

  • Updated dependencies [0226d42]
  • Updated dependencies [37af83b]
  • Updated dependencies [f598ac7]
    • @tiptap/core@3.4.5
    • @tiptap/pm@3.4.5

3.4.4

Patch Changes

  • Updated dependencies [00cf1d7]
    • @tiptap/core@3.4.4
    • @tiptap/pm@3.4.4

3.4.3

Patch Changes

  • Updated dependencies [1ea8906]
    • @tiptap/core@3.4.3
    • @tiptap/pm@3.4.3

3.4.2

Patch Changes

  • @tiptap/core@3.4.2
  • @tiptap/pm@3.4.2

3.4.1

Patch Changes

  • @tiptap/core@3.4.1
  • @tiptap/pm@3.4.1

3.4.0

Patch Changes

  • Updated dependencies [895c73f]
  • Updated dependencies [ad51daa]
    • @tiptap/core@3.4.0
    • @tiptap/pm@3.4.0

3.3.1

Patch Changes

  • 96a34a0: Fix collaboration extension selection to use the extension with a provider instead of the first registered extension
    • @tiptap/core@3.3.1
    • @tiptap/pm@3.3.1

3.3.0

Patch Changes

  • 5423726: Change the generateID option to accept a context object: { node, pos }.

    This lets ID generators access both the ProseMirror node and its pos within the document when creating IDs, enabling logic that depends on node content, type, or position.

    The change is backwards-compatible: existing generateID functions that ignore the new context will continue to work. Example usage:

    editor.use(UniqueID, {
      generateID: ({ node, pos }) => `${node.type.name}-${pos}-${uuidv4()}`,
    })
    
  • Updated dependencies [5423726]

  • Updated dependencies [5423726]

    • @tiptap/core@3.3.0
    • @tiptap/pm@3.3.0

3.2.2

Patch Changes

  • 1cab7ff: Change the generateID option to accept a context object: { node, pos }.

    This lets ID generators access both the ProseMirror node and its pos within the document when creating IDs, enabling logic that depends on node content, type, or position.

    The change is backwards-compatible: existing generateID functions that ignore the new context will continue to work.

    • @tiptap/core@3.2.2
    • @tiptap/pm@3.2.2

3.2.1

Patch Changes

  • Updated dependencies [6a2873f]
    • @tiptap/core@3.2.1
    • @tiptap/pm@3.2.1

3.2.0

Patch Changes

  • 0dc17f4: Fix UniqueID extension creating unwanted nodes on page refresh by looking for collaboration provider in the correct extension (collaborationCaret instead of collaboration)
  • Updated dependencies [5056e3e]
    • @tiptap/core@3.2.0
    • @tiptap/pm@3.2.0

3.1.0

Patch Changes

  • @tiptap/core@3.1.0
  • @tiptap/pm@3.1.0

3.0.9

Patch Changes

  • @tiptap/core@3.0.9
  • @tiptap/pm@3.0.9

3.0.8

Patch Changes

  • @tiptap/core@3.0.8
  • @tiptap/pm@3.0.8

3.0.7

Patch Changes

  • @tiptap/core@3.0.7
  • @tiptap/pm@3.0.7

3.0.6

Patch Changes

  • Updated dependencies [2e71d05]
    • @tiptap/core@3.0.6
    • @tiptap/pm@3.0.6

3.0.5

Patch Changes

  • @tiptap/core@3.0.5
  • @tiptap/pm@3.0.5

3.0.4

Patch Changes

  • Updated dependencies [7ed03fa]
    • @tiptap/core@3.0.4
    • @tiptap/pm@3.0.4

3.0.3

Patch Changes

  • Updated dependencies [75cabde]
    • @tiptap/core@3.0.3
    • @tiptap/pm@3.0.3

3.0.2

Patch Changes

  • @tiptap/core@3.0.2
  • @tiptap/pm@3.0.2

3.0.1

Minor Changes

  • 7ac01ef: We open sourced our basic pro extensions

    This release includes the following extensions that were previously only available in our Pro version:

    • @tiptap/extension-drag-handle
    • @tiptap/extension-drag-handle-react
    • @tiptap/extension-drag-handle-vue-2
    • @tiptap/extension-drag-handle-vue-3
    • @tiptap/extension-emoji
    • @tiptap/extension-details
    • @tiptap/extension-file-handler
    • @tiptap/extension-invisible-characters
    • @tiptap/extension-mathematics
    • @tiptap/extension-node-range
    • @tiptap/extension-table-of-contents
    • @tiptap/extension-unique-id

Patch Changes

  • Updated dependencies [1b4c82b]
  • Updated dependencies [1e91f9b]
  • Updated dependencies [a92f4a6]
  • Updated dependencies [8de8e13]
  • Updated dependencies [20f68f6]
  • Updated dependencies [5e957e5]
  • Updated dependencies [89bd9c7]
  • Updated dependencies [d0fda30]
  • Updated dependencies [0e3207f]
  • Updated dependencies [37913d5]
  • Updated dependencies [28c5418]
  • Updated dependencies [32958d6]
  • Updated dependencies [12bb31a]
  • Updated dependencies [9f207a6]
  • Updated dependencies [412e1bd]
  • Updated dependencies [062afaf]
  • Updated dependencies [ff8eed6]
  • Updated dependencies [704f462]
  • Updated dependencies [95b8c71]
  • Updated dependencies [8c69002]
  • Updated dependencies [664834f]
  • Updated dependencies [ac897e7]
  • Updated dependencies [087d114]
  • Updated dependencies [32958d6]
  • Updated dependencies [fc17b21]
  • Updated dependencies [62b0877]
  • Updated dependencies [e20006b]
  • Updated dependencies [5ba480b]
  • Updated dependencies [d6c7558]
  • Updated dependencies [062afaf]
  • Updated dependencies [9ceeab4]
  • Updated dependencies [32958d6]
  • Updated dependencies [bf835b0]
  • Updated dependencies [4e2f6d8]
  • Updated dependencies [32958d6]
    • @tiptap/core@3.0.1
    • @tiptap/pm@3.0.1

3.0.0-beta.30

Patch Changes

  • @tiptap/core@3.0.0-beta.30
  • @tiptap/pm@3.0.0-beta.30

3.0.0-beta.29

Patch Changes

  • @tiptap/core@3.0.0-beta.29
  • @tiptap/pm@3.0.0-beta.29

3.0.0-beta.28

Patch Changes

  • @tiptap/core@3.0.0-beta.28
  • @tiptap/pm@3.0.0-beta.28

3.0.0-beta.27

Patch Changes

  • Updated dependencies [412e1bd]
    • @tiptap/core@3.0.0-beta.27
    • @tiptap/pm@3.0.0-beta.27

3.0.0-beta.26

Patch Changes

  • Updated dependencies [5ba480b]
    • @tiptap/core@3.0.0-beta.26
    • @tiptap/pm@3.0.0-beta.26

3.0.0-beta.25

Patch Changes

  • Updated dependencies [4e2f6d8]
    • @tiptap/core@3.0.0-beta.25
    • @tiptap/pm@3.0.0-beta.25

3.0.0-beta.24

Patch Changes

  • @tiptap/core@3.0.0-beta.24
  • @tiptap/pm@3.0.0-beta.24

3.0.0-beta.23

Patch Changes

  • @tiptap/core@3.0.0-beta.23
  • @tiptap/pm@3.0.0-beta.23

3.0.0-beta.22

Patch Changes

  • @tiptap/core@3.0.0-beta.22
  • @tiptap/pm@3.0.0-beta.22

3.0.0-beta.21

Patch Changes

  • Updated dependencies [813674c]
  • Updated dependencies [fc17b21]
    • @tiptap/core@3.0.0-beta.21
    • @tiptap/pm@3.0.0-beta.21

3.0.0-beta.20

Patch Changes

  • @tiptap/core@3.0.0-beta.20
  • @tiptap/pm@3.0.0-beta.20

3.0.0-beta.19

Patch Changes

  • Updated dependencies [9ceeab4]
    • @tiptap/core@3.0.0-beta.19
    • @tiptap/pm@3.0.0-beta.19

3.0.0-beta.18

Patch Changes

  • @tiptap/core@3.0.0-beta.18
  • @tiptap/pm@3.0.0-beta.18

3.0.0-beta.17

Patch Changes

  • Updated dependencies [e20006b]
    • @tiptap/core@3.0.0-beta.17
    • @tiptap/pm@3.0.0-beta.17

3.0.0-beta.16

Patch Changes

  • Updated dependencies [ac897e7]
  • Updated dependencies [bf835b0]
    • @tiptap/core@3.0.0-beta.16
    • @tiptap/pm@3.0.0-beta.16

3.0.0-beta.15

Patch Changes

  • Updated dependencies [087d114]
    • @tiptap/core@3.0.0-beta.15
    • @tiptap/pm@3.0.0-beta.15

3.0.0-beta.14

Patch Changes

  • Updated dependencies [95b8c71]
    • @tiptap/core@3.0.0-beta.14
    • @tiptap/pm@3.0.0-beta.14

3.0.0-beta.13

Patch Changes

  • @tiptap/core@3.0.0-beta.13
  • @tiptap/pm@3.0.0-beta.13

3.0.0-beta.12

Patch Changes

  • @tiptap/core@3.0.0-beta.12
  • @tiptap/pm@3.0.0-beta.12

3.0.0-beta.11

Patch Changes

  • @tiptap/core@3.0.0-beta.11
  • @tiptap/pm@3.0.0-beta.11

3.0.0-beta.10

Minor Changes

  • 7ac01ef: We open sourced our basic pro extensions

    This release includes the following extensions that were previously only available in our Pro version:

    • @tiptap/extension-drag-handle
    • @tiptap/extension-drag-handle-react
    • @tiptap/extension-drag-handle-vue-2
    • @tiptap/extension-drag-handle-vue-3
    • @tiptap/extension-emoji
    • @tiptap/extension-details
    • @tiptap/extension-file-handler
    • @tiptap/extension-invisible-characters
    • @tiptap/extension-mathematics
    • @tiptap/extension-node-range
    • @tiptap/extension-table-of-contents
    • @tiptap/extension-unique-id

Patch Changes

  • @tiptap/core@3.0.0-beta.10
  • @tiptap/pm@3.0.0-beta.10