[Snyk] Upgrade lexical from 0.20.2 to 0.22.0 #1096
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade lexical from 0.20.2 to 0.22.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 18 versions ahead of your current version.
The recommended version was released 24 days ago.
Release notes
Package name: lexical
Breaking Changes
🆕 Feature: Support capitalization format
#6897
^ You may need to update callsites that enumerate all cases of TextFormatType eg. switch statements
🆕 Feature: New update tag: skip-dom-selection, $onUpdate now always called
#6894
Highlights
Highlights since v0.21.0
Link:
#6883
List:
#6917
Text:
#6897
Markdown:
#5758
Table:
🆕 Support google docs colgroup import (via deprecated col width attribute)
#6971
✅ fix: check is current selection in target table node
#6979
✅ Fix: Allow TableSelection to be preserved during contextmenu events
#6964
✅ Fix: Insertion of multiple rows
#6963
✅ Fix: Delete table row in merge cells
#6922
✅ Fix: Enforce table integrity with transforms and move non-React plugin code to @ lexical/table
#6914
Selection:
🆕 feature: expose forEachSelectedTextNode
https://github.com/facebook/lexical/pull/6981/files
🆕 Feature: Unify $selectAll Implementations
#6902
Core editor:
✅ Fix: Refactor markSelection for getDOMSlot and not using updateDOM
#6961
✅ Refactor: exportJSON, nodes dont need to redeclare exportJSON
#6983
🆕 Feature: New update tag: skip-dom-selection, $onUpdate now always called
#6894
🆕 Feature: Warn about "display: flex" container for the editor
#6901
React:
✅ Replace React$MixedElement and React$Node with React.MixedElement and React.Node in flow API
#6984
✅ Fix: the location of draggable-block-menu cannot be calculated
#6966
What's Changed
React$MixedElement
andReact$Node
withReact.MixedElement
andReact.Node
by @ SamChou19815 in #6984New Contributors
Full Changelog: v0.21.0...v0.22.0
v0.21.1-nightly.20241223.0
v0.21.1-nightly.20241220.0
v0.21.1-nightly.20241219.0
v0.21.1-nightly.20241218.0
v0.21.1-nightly.20241217.0
v0.21.1-nightly.20241216.0
v0.21.1-nightly.20241213.0
v0.21.1-nightly.20241212.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: