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

[Release] Version packages #3010

Merged
merged 1 commit into from
Mar 1, 2024
Merged

[Release] Version packages #3010

merged 1 commit into from
Mar 1, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 1, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@udecode/[email protected]

Minor Changes

  • #3009 by @12joan
    • Add shouldDiffDescendants option to computeDiff to control whether a pair of descendant lists should be diffed. If false, the parent node will be deleted and re-inserted. Defaults to () => true.
      • Example use case: To prevent computeDiff from diffing the text of unrelated paragraphs, use a text similarity checking algorithm to determine whether the paragraphs are sufficiently similar, and return false if not.
    • When multiple consecutive nodes have been deleted and inserted, computeDiff now groups all consecutive deletions together and does the same with all consecutive insertions.
      • Example of a diff prior to this change:
        - Old paragraph 1
        + New paragraph 1
        - Old paragraph 2
        + New paragraph 2
      • Example of a diff after this change:
        - Old paragraph 1
        - Old paragraph 2
        + New paragraph 1
        + New paragraph 2

@udecode/[email protected]

@udecode/[email protected]

Copy link

vercel bot commented Mar 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plate ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2024 5:01pm

@zbeyens zbeyens merged commit c4696af into main Mar 1, 2024
1 of 2 checks passed
@zbeyens zbeyens deleted the changeset-release/main branch March 1, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant