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.6.2 (main) #6062

Merged
merged 4 commits into from
Aug 14, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 18, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

ueberdosis/tiptap (@​tiptap/core)

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-blockquote)

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-bold)

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-bullet-list)

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 Jul 18, 2024
@renovate renovate bot requested review from max-nextcloud and mejo- July 18, 2024 20:05
@github-actions github-actions bot enabled auto-merge July 18, 2024 20:05
@juliushaertl
Copy link
Member

This is a new failure:


  1) text/plain (lines.txt)
       resolves conflict using current editing session:
     CypressError: `cy.type()` failed because it requires a valid typeable element.

The element typed into was:

  > `<pre>...</pre>`

  A typeable element matches one of the following selectors:
  `a[href]`
  `area[href]`
  `input`
  `select`
  `textarea`
  `button`
  `iframe`
  `[tabindex]`
  `[contenteditable]`

https://on.cypress.io/type
      at <unknown> (http://localhost:8081/__cypress/runner/cypress_runner.js:115296:76)
      at tryCatcher (http://localhost:8081/__cypress/runner/cypress_runner.js:1807:23)
      at Promise._settlePromiseFromHandler (http://localhost:8081/__cypress/runner/cypress_runner.js:1519:31)
      at Promise._settlePromise (http://localhost:8081/__cypress/runner/cypress_runner.js:1576:18)
      at Promise._settlePromise0 (http://localhost:8081/__cypress/runner/cypress_runner.js:1621:10)
      at Promise._settlePromises (http://localhost:8081/__cypress/runner/cypress_runner.js:1701:18)
      at _drainQueueStep (http://localhost:8081/__cypress/runner/cypress_runner.js:2407:12)
      at _drainQueue (http://localhost:8081/__cypress/runner/cypress_runner.js:2400:9)
      at Async._drainQueues (http://localhost:8081/__cypress/runner/cypress_runner.js:2416:5)
      at Async.drainQueues (http://localhost:8081/__cypress/runner/cypress_runner.js:2286:14)
  From Your Spec Code:
      at Context.eval (http://localhost:8081/__cypress/tests?p=cypress/e2e/conflict.spec.js:114:25)

@renovate renovate bot changed the title fix(deps): update tiptap to ^2.5.4 (main) fix(deps): update tiptap to ^2.5.5 (main) Jul 22, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to ^2.5.5 (main) fix(deps): update tiptap (main) Jul 24, 2024
@renovate renovate bot changed the title fix(deps): update tiptap (main) fix(deps): update tiptap to ^2.5.6 (main) Jul 24, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to ^2.5.6 (main) fix(deps): update tiptap to ^2.5.7 (main) Jul 26, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to ^2.5.7 (main) fix(deps): update tiptap to ^2.5.8 (main) Jul 30, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to ^2.5.8 (main) fix(deps): update tiptap (main) Aug 6, 2024
@renovate renovate bot changed the title fix(deps): update tiptap (main) fix(deps): update tiptap to ^2.5.9 (main) Aug 6, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to ^2.6.0 (main) fix(deps): update tiptap (main) Aug 13, 2024
@renovate renovate bot changed the title fix(deps): update tiptap (main) fix(deps): update tiptap to ^2.6.1 (main) Aug 13, 2024
@renovate renovate bot changed the title fix(deps): update tiptap to ^2.6.1 (main) fix(deps): update tiptap to ^2.6.2 (main) Aug 13, 2024
Copy link
Contributor Author

renovate bot commented Aug 13, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link

cypress bot commented Aug 14, 2024



Test summary

46 3 0 0Flakiness 1


Run details

Project Text
Status Failed
Commit e3ed7b3
Started Aug 14, 2024 2:47 PM
Ended Aug 14, 2024 2:56 PM
Duration 08:35 💡
OS Linux Ubuntu -
Browser Electron 114

View run in Cypress Cloud ➡️


Failures

Run group: split-0 (Linux, Electron )
Assistant.spec.js Failed
1 Assistant > Open translate dialog
Run group: split-8 (Linux, Electron )
nodes/ImageView.spec.js Failed
1 Image View > native attachments > open image in modal
2 Image View > native attachments > download non-image gzip attachment

Flakiness

cypress/e2e/nodes/Table.spec.js Flakiness
1 table plugin > Enter creates newline and navigates

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

@juliushaertl
Copy link
Member

/backport! to stable30

@juliushaertl juliushaertl merged commit 257e849 into main Aug 14, 2024
59 of 61 checks passed
@juliushaertl juliushaertl deleted the renovate/main-tiptap branch August 14, 2024 17:01
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