Packages

@tiptap/extension-unique-id

3.34.0 · 13 Nov 2026MIT841.7k / weekRepositoryHomepagenpmAtom feed

Your version

3.3.0

23 Aug 2025Where it was published

3.34.0 is the newest release of 3.x.

In short

1 fixed

Release note

The section about @tiptap/extension-unique-id of a note shared by several packages.

@tiptap/extension-unique-id@3.3.0

Patch Changes

  • 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()}`,  
    })

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.