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

[Snyk] Upgrade lexical from 0.20.2 to 0.23.1 #1114

Closed

Conversation

tristanrobert
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade lexical from 0.20.2 to 0.23.1.

ℹ️ 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 33 versions ahead of your current version.

  • The recommended version was released 21 days ago.

Release notes
Package name: lexical
  • 0.23.1 - 2025-01-09

    Breaking Changes

    The only breaking change in this release is minor (#7023) and should not affect any correct code. However, if you are counting the number of times your update listener is called during editor.setRootElement(null) then you will have to change that expectation.

    Highlights

    Highlights since v0.23.0

    Core Editor:

    • ✅ Fix: Updates are committed on editor.setRootElement(null) #7023
    • ✅ Fix: TabNode deserialization regression from v0.23.0 #7031

    Mark:

    • ✅ Fix: MarkNode.addID regression #7020

    React:

    • 🆕 Feature: Merge TabIndentionPlugin and ListMaxIndentLevelPlugin plugins, previously the ListMaxIndentLevelPlugin functionality was only in the playground #7018

    What's Changed

    • v0.23.0 by @ etrepum in #7017
    • [lexical-mark] Bug Fix: reverse ternary in MarkNode.addID by @ james-atticus in #7020
    • [lexical-react] Feature: Merge TabIndentionPlugin and ListMaxIndentLevelPlugin plugins by @ fantactuka in #7018
    • [lexical] Fix TabNode deserialization regression by @ etrepum in #7031
    • [Breaking Change][lexical] Bug Fix: Commit updates on editor.setRootElement(null) by @ etrepum in #7023

    New Contributors

    Full Changelog: v0.23.0...v0.23.1

  • 0.23.1-nightly.20250109.0 - 2025-01-09

    v0.23.1-nightly.20250109.0

  • 0.23.1-nightly.20250108.0 - 2025-01-08

    v0.23.1-nightly.20250108.0

  • 0.23.1-nightly.20250107.0 - 2025-01-07

    v0.23.1-nightly.20250107.0

  • 0.23.1-nightly.20250106.0 - 2025-01-06

    v0.23.1-nightly.20250106.0

  • 0.23.0 - 2025-01-05

    Breaking Changes

    • 🆕 Feature: Add updateFromJSON and move more textFormat/textStyle to ElementNode
      This change adds optional textFormat and textStyle properties to SerializedElementNode. If you have existing classes with those properties it could create a namespace clash that you will have to resolve one way or another.

      TextNode and ElementNode subclasses should be updated to call the updateFromJSON(serializedNode) method from their static importJSON methods. If they don't, they won't support this new functionality, and will have to continue copy and pasting the super implementation of importJSON for correct behavior if the base class ever changes in the future.

      You should consider dropping usage of the version field.

    Highlights

    Highlights since v0.22.0

    Core Editor:

    • 🆕 Feature: Add updateFromJSON and move more textFormat/textStyle to ElementNode #6970
    • ✅ Fix: getNodes over-selection #7006
    • ✅ Fix: registerNodeTransform regression #7016

    Playground:

    • ✅ Fix: table hover actions button position #7011

    Yjs:

    • 🆕 Feature: Expose function to get anchor and focus nodes for given user awareness state #6942

    What's Changed

    New Contributors

    Full Changelog: v0.22.0...v0.23.0

  • 0.22.1-nightly.20250103.0 - 2025-01-03

    v0.22.1-nightly.20250103.0

  • 0.22.1-nightly.20250102.0 - 2025-01-02

    v0.22.1-nightly.20250102.0

  • 0.22.1-nightly.20250101.0 - 2025-01-01

    v0.22.1-nightly.20250101.0

  • 0.22.1-nightly.20241231.0 - 2024-12-31

    v0.22.1-nightly.20241231.0

  • 0.22.1-nightly.20241230.0 - 2024-12-30
  • 0.22.1-nightly.20241227.0 - 2024-12-27
  • 0.22.1-nightly.20241226.0 - 2024-12-26
  • 0.22.1-nightly.20241225.0 - 2024-12-25
  • 0.22.1-nightly.20241224.0 - 2024-12-24
  • 0.22.0 - 2024-12-24
  • 0.21.1-nightly.20241223.0 - 2024-12-23
  • 0.21.1-nightly.20241220.0 - 2024-12-20
  • 0.21.1-nightly.20241219.0 - 2024-12-19
  • 0.21.1-nightly.20241218.0 - 2024-12-18
  • 0.21.1-nightly.20241217.0 - 2024-12-17
  • 0.21.1-nightly.20241216.0 - 2024-12-16
  • 0.21.1-nightly.20241213.0 - 2024-12-13
  • 0.21.1-nightly.20241212.0 - 2024-12-12
  • 0.21.1-nightly.20241211.0 - 2024-12-11
  • 0.21.1-nightly.20241210.0 - 2024-12-10
  • 0.21.1-nightly.20241209.0 - 2024-12-09
  • 0.21.1-nightly.20241206.0 - 2024-12-06
  • 0.21.1-nightly.20241205.0 - 2024-12-05
  • 0.21.1-nightly.20241204.0 - 2024-12-04
  • 0.21.1-nightly.20241203.0 - 2024-12-03
  • 0.21.0 - 2024-12-02
  • 0.20.3-nightly.20241202.0 - 2024-12-02
  • 0.20.2 - 2024-12-01
from lexical GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade lexical from 0.20.2 to 0.23.1.

See this package in npm:
lexical

See this project in Snyk:
https://app.snyk.io/org/mtes-mct/project/16b503c1-eb95-4477-b196-19e44c293808?utm_source=github&utm_medium=referral&page=upgrade-pr
@Falinor Falinor closed this Feb 3, 2025
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.

3 participants