[Snyk] Upgrade lexical from 0.20.2 to 0.21.0 #1058
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.21.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 2 versions ahead of your current version.
The recommended version was released 25 days ago.
Release notes
Package name: lexical
Breaking Changes
🆕 Deprecate $nodesOfType function
#6855
🆕 Feature: Scrollable tables with experimental getDOMSlot API
#6759
✅ Fix get table-cell background selection color from a class
#6658
Example change would be #6892
Highlights
Highlights since v0.20.0
Core editor:
🆕 skipInitialization defaults to false for registerMutationListener
#6857
🆕 Deprecate $nodesOfType function
#6855
✅ Fix backspace bug when deleting nodes with canInsertTextAfter set to false
#6268
🆕 Add missing flow types for utils
#6841
✅ Fix: Add feature detection to calculateZoomLevel
#6864
✅ Fix: Allow setEditorState to work correctly inside of an update (Fixes Autocomplete plugin)
#6876
React:
✅ Fix: Prevent initial value fn to be called on rerender
#6835
🆕 ContentEditable Props type rename to ContentEditableProps
#6837
Link:
#6833
Table:
#6759
#6839
#6834
#6658
#6875
#6880
#6884
i8n:
#6819
A11y:
#6814
Mention:
#6788
List:
#6791
Mark:
#6810
Selection:
🆕 New plugin to retain selection: SelectionAlwaysOnDisplay plugin
#6872
✅ Fix: positionNodeOnRange fixes
#6873
What's Changed
canInsertTextAfter
set to false by @ dani-lp in #6268New Contributors
Full Changelog: v0.20.0...v0.21.0
v0.20.3-nightly.20241202.0
Highlights
Highlights since v0.20.0
Core editor:
🆕 skipInitialization defaults to false for registerMutationListener
#6857
🆕 Deprecate $nodesOfType function
#6855
✅ Fix backspace bug when deleting nodes with canInsertTextAfter set to false
#6268
🆕 Add missing flow types for utils
#6841
✅ Fix: Add feature detection to calculateZoomLevel
#6864
✅ Fix: Allow setEditorState to work correctly inside of an update (Fixes Autocomplete plugin)
#6876
React:
✅ Fix: Prevent initial value fn to be called on rerender
#6835
🆕 ContentEditable Props type rename to ContentEditableProps
#6837
Link:
#6833
Table:
#6759
#6839
#6834
#6658
#6875
#6880
#6884
i8n:
#6819
A11y:
#6814
Mention:
#6788
List:
#6791
Mark:
#6810
Selection:
🆕 New plugin to retain selection: SelectionAlwaysOnDisplay plugin
#6872
✅ Fix: positionNodeOnRange fixes
#6873
What's Changed