Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update tiptap to v2.10.2 #2784

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

fix(deps): update tiptap to v2.10.2 #2784

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 8, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@tiptap/core (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/extension-bold (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/extension-character-count (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/extension-code-block (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/extension-history (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/extension-italic (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/extension-mention (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/extension-paragraph (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/extension-placeholder (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/extension-text (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/starter-kit (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/suggestion (source) 2.2.4 -> 2.10.2 age adoption passing confidence
@tiptap/vue-3 (source) 2.2.4 -> 2.10.2 age adoption passing confidence

Release Notes

ueberdosis/tiptap (@​tiptap/core)

v2.10.2

Compare Source

v2.10.1

Compare Source

v2.10.0

Compare Source

Minor Changes
  • 7619215: Previously, only a json representation of the node could be inserted into the editor. This change allows for the insertion of Prosemirror Nodes and Fragments directly into the editor through the insertContentAt, setContent and insertContent commands.
Patch Changes
  • 7619215: preserve existing node attributes when running setNode
  • 7619215: Addresses a bug with insertContentAt's simulatedPasteRules option where it could only accept text and not Prosemirror Node and Content
  • 7619215: Updates the types of addOptions and addStorage to have the parent be possibly undefined which is the most accurate typing
  • 7619215: feat: add once to EventEmitters
  • 7619215: Add Node linebreakReplacement support and enable on hard-break nodes
  • 7619215: Improve handling of selections with updateAttributes. Should no longer modify parent nodes of the same type.
  • 2ea807d: getMarkRange would greedily match more content than it should have if it was the same type of mark, now it will match only the mark at the position #​3872

v2.9.1

Compare Source

v2.9.0

Compare Source

Patch Changes
  • ffb51d3: insertContentAt, setContent, and insertContent commands now respect the editor's pre-defined parseOptions configuration if the command does not specify it's own parseOptions
  • 873a67c: This allows the Editor isntance to unregister multiple plugins in a single editor state replacement
  • d96f679: Fixed an issue while updating attributes on a NodePos that was not a text
  • e606c06: Updates the typings of DecorationsWithTypes to be more accurate to the prosemirror implementation even though it is not completely exposed as an API
  • a2eea24: Added role and aria-label attributes to the contenteditable field for better screenreader support and mouseless controls
  • d96f679: Fixed issues with NodePos child positions causing wrong positions when used on non-text atoms
  • 4efd227: Fixed an issue with getMarkRange not returning the correct range when cursor is at the start of the specified mark

v2.8.0

Compare Source

Minor Changes
  • 6834a7f: Bundling of packages no longer includes tiptap dependency type definitions
Patch Changes
  • 8ee534d: This refactors the onDrop and onPaste event callbacks to be Tiptap extensions rather than separate Prosemirror plugins which was forcing the editor to recreate the view on initialization.

v2.7.4

Compare Source

Patch Changes
  • 7ef401d: This plugs a memory leak where there is a circular reference between the view's DOM node and the editor instance, to resolve this, before destroying the view we need to delete the reference to the editor instance on the DOM node #​5654

v2.7.3

Compare Source

Patch Changes
  • f76515a: Update the typing for NodeViewProps to be an interface rather than a concrete type #​5632
  • d57ee51: filter rendered extensionAttributes (#​5588)

v2.7.2

Compare Source

v2.7.1

Compare Source

Patch Changes
  • 888f574: Fixed Slice import in DropPlugin

v2.7.0

Compare Source

Minor Changes
  • 97ea55f: Fixes #​5490. The preventClearDocument meta tag can now be used to prevent the clearDocument plugin in the core keymap extension from modifying transactions that appear to clear the document (but might be clearing it for other reasons).
  • 9e18d24: Added onPaste and onDrop options to the editor allowing for easier event binding for both cases
  • 97ea55f: An object can now be passed to enableCoreExtensions to allow disabling only specific core extensions.
Patch Changes
  • f805333: fix: check for schema's nesting rules on contentCheck
  • 07fa49d: Copy over node attributes on node toggling (for example to keep text styles while toggling a headline)
  • 7f24a66: Update the Typescript types for NodeViews, bringing them inline with there actual implementation
  • a22767e: Merging inline style attributes now can properly merge conflicting style attribute names, resulting in cleaner HTML output and correctness

v2.6.6

Compare Source

Patch Changes

v2.6.5

Compare Source

Patch Changes

v2.6.4

Compare Source

Patch Changes

v2.6.3

Compare Source

Patch Changes

v2.6.2

Compare Source

Patch Changes

v2.6.1

Compare Source

Patch Changes

v2.6.0

Compare Source

Minor Changes
  • 86a8553: Add getContent to nodePasteRules to allow specifying inner content to a created node

  • 222f2ac: Add the ability to add new attributes to a splitted list item

  • e31673d: This PR significantly improves the performance of React NodeViews in a couple of ways:

    • It now uses useSyncExternalStore to synchronize changes between React & the editor instance
    • It dramatically reduces the number of re-renders by re-using instances of React portals that have already been initialized and unaffected by the change made in the editor

    We were seeing performance problems with React NodeViews because a change to one of them would cause a re-render to all instances of node views. For an application that heavily relies on node views in React, this was quite expensive.
    This should dramatically cut down on the number of instances that have to re-render, and, making each of those re-renders much less costly.

Patch Changes

v2.5.9

Compare Source

Patch Changes
  • 84ebd51: Fix change criteria for isNodeEmpty to resolve #​5415
  • 0ec0af6: fix(core): findDuplicates - use Array.from when converting Set
  • ae0254d: Add ignoreWhitespace option to isNodeEmpty to ignore any whitespace and hardbreaks in a node to check for emptiness
  • efb27fa: This fixes a discrepency between getMarksBetween and isActive(markName) where the position used for getMarksBetween was off by one

v2.5.8

Compare Source

Patch Changes

v2.5.7

Compare Source

Patch Changes
  • b012471: This addresses an issue with isNodeEmpty function where it was also comparing node attributes and finding mismatches on actually empty nodes. This helps placeholders find empty content correctly
  • cc3497e: Fixes a bug where if enableContentCheck was true, inserting content as JSON nodes would fail. This was because the node that was being created technically had a different schema than the content being inserted, so it would fail to generate the correct content value

v2.5.6

Compare Source

Patch Changes
  • 618bca9: Adjust the splitBlock command to return false when it was unsuccessful.
  • 35682d1: This fixes a bug with the placeholder extension where a heading level other than the default was not considered empty, when comparing node contents, we need to consider that the node attributes are carried over for a fair comparison of content instead of attribute values
  • 2104f0f: Add a check beforecreateNodeViews so that view.setProps is not called when the view has already been destroyed
  • Updated dependencies [b5c1b32]

v2.5.5

Compare Source

Patch Changes
  • 4cca382: Make sure that atoms are used in-full without cutting the content. Node size for atoms is 1 which causes text to be cut unexpectedly.
  • 3b67e8a: This changes the typing to not declare types on all HTMLElements, just a local one with the editor instance attached

v2.5.4

Compare Source

Patch Changes
  • dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
  • Updated dependencies [dd7f9ac]

v2.5.3

Compare Source

Patch Changes

v2.5.2

Compare Source

Patch Changes
  • 07f4c03: There was a bug where doing a .configure on an extension, node or mark would overwrite the extensions options instead of being merged with the default options.

v2.5.1

Compare Source

Patch Changes

v2.5.0

Compare Source

Patch Changes
  • fb45149: Made some minor changes to how packages are built
  • fb45149: When parseOptions.whitespace === 'full' or parseOptions.whitespace === true setting content will no longer strip whitespaces on setContent
  • fb45149: Faster performance for checking if a node is empty and if something is a fragment
  • fb45149: Vue 3 bubble menus are properly synchronized with state transitions with the new beforeTransaction hook which is fired before the transaction is applied to the view

v2.4.0

Compare Source

Bug Fixes
  • core: configure should use the parent of the current instance, to avoid duplication (#​5147) (4db463c)
Features

2.3.2 (2024-05-08)

Bug Fixes

2.3.1 (2024-04-30)

Note: Version bump only for package @​tiptap/core

v2.3.2

Compare Source

Bug Fixes

v2.3.1

Compare Source

Note: Version bump only for package @​tiptap/core

v2.3.0

Compare Source

Bug Fixes
Features
  • core: apply input and paste rules when using insertContent methods (#​5046) (96b6abc)

2.2.6 (2024-04-06)

Bug Fixes

2.2.5 (2024-04-05)

Note: Version bump only for package @​tiptap/core

2.2.4 (2024-02-23)

Bug Fixes
  • typecheck drag and clipboard events for testing environments (bbee9a3)

2.2.3 (2024-02-15)

Note: Version bump only for package @​tiptap/core

2.2.2 (2024-02-07)

Note: Version bump only for package @​tiptap/core

2.2.1 (2024-01-31)

Note: Version bump only for package @​tiptap/core

v2.2.6

Compare Source

Bug Fixes

v2.2.5

Compare Source

Note: Version bump only for package @​tiptap/core

ueberdosis/tiptap (@​tiptap/extension-bold)

v2.10.2

Compare Source

What's Changed

Full Changelog: ueberdosis/tiptap@v2.10.1...v2.10.2

v2.10.1

Compare Source

What's Changed

Full Changelog: ueberdosis/tiptap@v2.10.0...v2.10.1

v2.10.0

Compare Source

v2.9.1

Compare Source

v2.9.0

Compare Source

Patch Changes
  • 6fae240: Add parse rules that reset bold & italic marks

v2.8.0

Compare Source

Minor Changes
  • 6834a7f: Bundling of packages no longer includes tiptap dependency type definitions

v2.7.4

Compare Source

v2.7.3

Compare Source

v2.7.2

Compare Source

v2.7.1

Compare Source

v2.7.0

Compare Source

v2.6.6

Compare Source

Patch Changes

v2.6.5

Compare Source

Patch Changes

v2.6.4

Compare Source

Patch Changes

v2.6.3

Compare Source

Patch Changes

v2.6.2

Compare Source

Patch Changes

v2.6.1

Compare Source

Patch Changes

v2.6.0

Compare Source

Patch Changes

v2.5.9

Compare Source

Patch Changes

v2.5.8

Compare Source

Patch Changes

v2.5.7

Compare Source

Patch Changes

v2.5.6

Compare Source

Patch Changes

v2.5.5

Compare Source

Patch Changes

v2.5.4

Compare Source

Patch Changes
  • dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
  • Updated dependencies [dd7f9ac]

v2.5.3

Compare Source

Patch Changes

v2.5.2

Compare Source

Patch Changes

v2.5.1

Compare Source

Patch Changes

v2.5.0

Compare Source

Patch Changes

v2.4.0

Compare Source

Features

2.3.2 (2024-05-08)

Note: Version bump only for package @​tiptap/extension-bold

2.3.1 (2024-04-30)

Note: Version bump only for package @​tiptap/extension-bold

v2.3.2

Compare Source

Note: Version bump only for package @​tiptap/extension-bold

v2.3.1

Compare Source

Note: Version bump only for package @​tiptap/extension-bold

v2.3.0

Compare Source

Note: Version bump only for package @​tiptap/extension-bold

2.2.6 (2024-04-06)

Note: Version bump only for package @​tiptap/extension-bold

2.2.5 (2024-04-05)

Bug Fixes
  • Disallow only whitespace between markdown shortcuts delimiters (#​4866) (aa029fe)

2.2.4 (2024-02-23)

Note: Version bump only for package @​tiptap/extension-bold

2.2.3 (2024-02-15)

Note: Version bump only for package @​tiptap/extension-bold

2.2.2 (2024-02-07)

Note: Version bump only for package @​tiptap/extension-bold

2.2.1 (2024-01-31)

Note: Version bump only for package @​tiptap/extension-bold

v2.2.6

Compare Source

Note: Version bump only for package @​tiptap/extension-bold

v2.2.5

Compare Source

Bug Fixes
  • Disallow only whitespace between markdown shortcuts delimiters (#​4866) (aa029fe)
ueberdosis/tiptap (@​tiptap/extension-placeholder)

v2.10.2

Compare Source

v2.10.1

Compare Source

v2.10.0

Compare Source

v2.9.1

Compare Source

v2.9.0

Compare Source

v2.8.0

Compare Source

Minor Changes
  • 6834a7f: Bundling of packages no longer includes tiptap dependency type definitions

v2.7.4

Compare Source

v2.7.3

Compare Source

v2.7.2

Compare Source

v2.7.1

Compare Source

v2.7.0

Compare Source

v2.6.6

Compare Source

Patch Changes

v2.6.5

Compare Source

Patch Changes

v2.6.4

Compare Source

Patch Changes
  • [@​tiptap/core](

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the c: dependencies Pull requests that adds/updates a dependency label Apr 8, 2024
Copy link

stackblitz bot commented Apr 8, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Apr 8, 2024

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit 4c0ab48
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/67406e9acee3240008db7520
😎 Deploy Preview https://deploy-preview-2784--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 8, 2024

Deploy Preview for elk-docs canceled.

Name Link
🔨 Latest commit 4c0ab48
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/67406e9a228bf40008fa08bc

@renovate renovate bot changed the title fix(deps): update tiptap to v2.2.6 fix(deps): update tiptap to v2.3.0 Apr 9, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.3.0 fix(deps): update tiptap to v2.3.1 Apr 30, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.3.1 fix(deps): update tiptap to v2.3.2 May 8, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.3.2 fix(deps): update tiptap to v2.4.0 May 14, 2024
@renovate renovate bot force-pushed the renovate/tiptap branch 2 times, most recently from 52c48d0 to b4ddfe1 Compare May 30, 2024 19:44
@renovate renovate bot changed the title fix(deps): update tiptap to v2.4.0 fix(deps): update tiptap to v2.5.0 Jul 14, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.5.0 fix(deps): update tiptap to v2.5.1 Jul 15, 2024
Copy link

socket-security bot commented Jul 15, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@renovate renovate bot changed the title fix(deps): update tiptap to v2.5.1 fix(deps): update tiptap to v2.5.4 Jul 17, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.5.4 fix(deps): update tiptap to v2.5.5 Jul 22, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.5.5 fix(deps): update tiptap to v2.5.6 Jul 24, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.5.6 fix(deps): update tiptap to v2.5.7 Jul 26, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.5.7 fix(deps): update tiptap to v2.5.8 Jul 30, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.6.4 fix(deps): update tiptap to v2.6.6 Sep 12, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.6.6 fix(deps): update tiptap to v2.7.0 Sep 17, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.7.0 fix(deps): update tiptap to v2.7.1 Sep 17, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.7.1 fix(deps): update tiptap to v2.7.2 Sep 19, 2024
@renovate renovate bot force-pushed the renovate/tiptap branch 2 times, most recently from b0de8a4 to 1178582 Compare September 25, 2024 19:31
@renovate renovate bot changed the title fix(deps): update tiptap to v2.7.2 fix(deps): update tiptap to v2.7.3 Sep 25, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.7.3 fix(deps): update tiptap to v2.7.4 Sep 26, 2024
@renovate renovate bot force-pushed the renovate/tiptap branch 3 times, most recently from 8e526ba to ebb5a63 Compare September 30, 2024 15:45
@renovate renovate bot changed the title fix(deps): update tiptap to v2.7.4 fix(deps): update tiptap to v2.8.0 Sep 30, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.8.0 fix(deps): update tiptap to v2.9.0 Oct 22, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.9.0 fix(deps): update tiptap to v2.9.1 Oct 23, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.9.1 fix(deps): update tiptap to v2.10.0 Nov 20, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.10.0 fix(deps): update tiptap to v2.10.1 Nov 21, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to v2.10.1 fix(deps): update tiptap to v2.10.2 Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: dependencies Pull requests that adds/updates a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants