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 monorepo to v2.7.0 #2390

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@tiptap/core (source) 2.4.0 -> 2.7.0 age adoption passing confidence
@tiptap/extension-image (source) 2.4.0 -> 2.7.0 age adoption passing confidence
@tiptap/extension-link (source) 2.4.0 -> 2.7.0 age adoption passing confidence
@tiptap/extension-placeholder (source) 2.4.0 -> 2.7.0 age adoption passing confidence
@tiptap/pm (source) 2.4.0 -> 2.7.0 age adoption passing confidence
@tiptap/react (source) 2.4.0 -> 2.7.0 age adoption passing confidence
@tiptap/starter-kit (source) 2.4.0 -> 2.7.0 age adoption passing confidence

Release Notes

ueberdosis/tiptap (@​tiptap/core)

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
ueberdosis/tiptap (@​tiptap/extension-image)

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
ueberdosis/tiptap (@​tiptap/extension-link)

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

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
ueberdosis/tiptap (@​tiptap/extension-placeholder)

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
  • 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
  • Updated dependencies [b012471]
  • Updated dependencies [cc3497e]

v2.5.6

Compare Source

Patch Changes

v2.5.5

Compare Source

Patch Changes

v2.5.4

Compare Source

Patch Changes

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
ueberdosis/tiptap (@​tiptap/pm)

v2.7.0

Compare Source

Patch Changes
  • bd34793: Bumped prosemirror versions

v2.6.6

Compare Source

v2.6.5

Compare Source

https://github.com/ueberdosis/tiptap/pull/5532

What's Changed

Full Changelog: ueberdosis/tiptap@v2.6.4...v2.6.5

v2.6.4

Compare Source

v2.6.3

Compare Source

v2.6.2

Compare Source

v2.6.1

Compare Source

v2.6.0

Compare Source

v2.5.9

Compare Source

v2.5.8

Compare Source

v2.5.7

Compare Source

v2.5.6

Compare Source

Patch Changes
  • b5c1b32: Because of an XSS vulnerability in the prosemirror-model package, we've updated all our prosemirror dependencies to the latest versions.

    Upgraded packages:

    • prosemirror-model from ^1.22.1 to ^1.22.2
    • prosemirror-tables from ^1.3.7 to ^1.4.0
    • prosemirror-trailing-node from ^2.0.8 to ^2.0.9
    • prosemirror-view from ^1.33.8 to ^1.33.9

    See https://discuss.prosemirror.net/t/heads-up-xss-risk-in-domserializer/6572

v2.5.5

Compare Source

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

v2.5.3

Compare Source

v2.5.2

Compare Source

v2.5.1

Compare Source

v2.5.0

Compare Source

ueberdosis/tiptap (@​tiptap/

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 renovate An automated renovate dependency update label Sep 17, 2024
@nakedfool nakedfool closed this Sep 17, 2024
Copy link
Contributor Author

renovate bot commented Sep 17, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (2.7.0). 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/tiptap-monorepo branch September 17, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
renovate An automated renovate dependency update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant