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 ^2.9.1 (stable29) #6646

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@tiptap/core (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-blockquote (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-bold (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-bullet-list (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-character-count (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-code (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-code-block (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-code-block-lowlight (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-collaboration (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-collaboration-cursor (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-document (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-dropcursor (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-gapcursor (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-hard-break (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-heading (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-history (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-horizontal-rule (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-image (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-italic (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-link (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-list-item (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-mention (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-ordered-list (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-paragraph (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-placeholder (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-strike (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-table (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-table-cell (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-table-header (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-table-row (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-task-item (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-task-list (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-text (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/extension-underline (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/pm (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/suggestion (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence
@tiptap/vue-2 (source) ^2.3.2 -> ^2.9.1 age adoption passing confidence

Release Notes

ueberdosis/tiptap (@​tiptap/core)

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

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

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

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

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Europe/Berlin, 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 dependencies Pull requests that update a dependency file label Nov 10, 2024
@renovate renovate bot requested review from max-nextcloud and mejo- November 10, 2024 03:53
@github-actions github-actions bot enabled auto-merge November 10, 2024 03:54
auto-merge was automatically disabled November 11, 2024 08:17

Pull request was closed

Copy link
Contributor Author

renovate bot commented Nov 11, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^2.9.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/stable29-tiptap branch November 11, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant