Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 1, 2024
1 parent 4936c99 commit 74228a2
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 27 deletions.
21 changes: 0 additions & 21 deletions .changeset/fluffy-donuts-roll.md

This file was deleted.

23 changes: 23 additions & 0 deletions packages/diff/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @udecode/plate-diff

## 30.8.0

### Minor Changes

- [#3009](https://github.com/udecode/plate/pull/3009) by [@12joan](https://github.com/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:
```diff
- Old paragraph 1
+ New paragraph 1
- Old paragraph 2
+ New paragraph 2
```
- Example of a diff after this change:
```diff
- Old paragraph 1
- Old paragraph 2
+ New paragraph 1
+ New paragraph 2
```

## 30.6.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/diff/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-diff",
"version": "30.6.1",
"version": "30.8.0",
"description": "Compute a diff of two Slate documents",
"homepage": "https://platejs.org",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions packages/plate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @udecode/plate

## 30.8.0

## 30.7.0

## 30.6.1
Expand Down
6 changes: 3 additions & 3 deletions packages/plate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate",
"version": "30.7.0",
"version": "30.8.0",
"description": "Plate – a plugin system for slate",
"license": "MIT",
"homepage": "https://platejs.org",
Expand Down Expand Up @@ -52,7 +52,7 @@
"@udecode/plate-combobox": "30.5.3",
"@udecode/plate-comments": "30.5.3",
"@udecode/plate-common": "30.4.5",
"@udecode/plate-diff": "30.6.1",
"@udecode/plate-diff": "30.8.0",
"@udecode/plate-find-replace": "30.5.3",
"@udecode/plate-floating": "30.5.3",
"@udecode/plate-font": "30.5.3",
Expand All @@ -77,7 +77,7 @@
"@udecode/plate-serializer-docx": "30.5.3",
"@udecode/plate-serializer-html": "30.5.3",
"@udecode/plate-serializer-md": "30.7.0",
"@udecode/plate-suggestion": "30.6.1",
"@udecode/plate-suggestion": "30.8.0",
"@udecode/plate-tabbable": "30.5.3",
"@udecode/plate-table": "30.5.3",
"@udecode/plate-toggle": "30.5.3",
Expand Down
2 changes: 2 additions & 0 deletions packages/suggestion/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @udecode/plate-suggestion

## 30.8.0

## 30.6.1

## 30.6.0
Expand Down
4 changes: 2 additions & 2 deletions packages/suggestion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-suggestion",
"version": "30.6.1",
"version": "30.8.0",
"description": "Plate plugin for suggestions",
"homepage": "https://platejs.org",
"repository": {
Expand Down Expand Up @@ -38,7 +38,7 @@
"typecheck": "yarn p:typecheck"
},
"dependencies": {
"@udecode/plate-diff": "30.6.1",
"@udecode/plate-diff": "30.8.0",
"lodash": "^4.17.21"
},
"devDependencies": {
Expand Down

0 comments on commit 74228a2

Please sign in to comment.