Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 12, 2025

Bumps lexical from 0.27.2 to 0.37.0.

Release notes

Sourced from lexical's releases.

v0.37.0 is an ad-hoc release, primarily to update the happy-dom dependency to address a CVE (#7909 - lexical's usage of this package was not susceptible) but also includes several bug fixes. This was marked as a minor release because it includes an experimental collab v2 implementation which is not yet ready for use (see #7616 #7903)

Highlights

Core:

  • #7900 ✅ Fix $cloneWithProperties so that it doesn't throw an exception when used in read-only mode
  • #7904 🆕 Add new (internal) ephemeral node concept for situations where a cloned node is intentionally decoupled from the editor state for mutations that will only have a local effect

Examples:

  • 🆕 #7879 New sveltekit ssr example demonstrating the use of @​lexical/headless/dom

React:

  • #7899 LexicalMenu guard against undefined option when list shrinks

Collab:

List

  • 🆕 #7892 Keep list marker for markdown round-trip

Rich Text:

  • #7902 Fix up/down arrows for node selection

Clipboard/Playground:

  • #7900 ImageNode caption support for exportDOM and importDOM
  • #7906 Export ParagraphNode as div role="paragraph" when it contains block DOM (such as the <figure> from ImageNode captions)

Headless

  • 🧹 #7909 Update to happy-dom v20 to address CVE reports (lexical's usage was not susceptible)

What's Changed

New Contributors

... (truncated)

Changelog

Sourced from lexical's changelog.

v0.37.0 (2025-10-11)

  • lexical-yjs Chore fix imports of Yjs XML types (#7908) James Fitzsimmons
  • lexical-react Chore make shouldBootstrapUnsafe prop optional (#7907) James Fitzsimmons
  • lexical-playground Bug Fix Export ParagraphNode as div roleparagraph when it contains block DOM (#7906) Bob Ippolito
  • lexicallexical-clipboardlexical-htmllexical-selection Feature Add an internal ephemeral node concept (#7904) Bob Ippolito
  • lexical-yjslexical-react Feature commands for diffing two yjs snapshots in collab v2 (#7903) James Fitzsimmons
  • lexicallexical-clipboardlexical-playground Feature ImageNode caption support for exportDOM and importDOM (#7900) Mehmet Can Ertan
  • lexical-rich-text Bug fix updown arrows for node selection (#7902) Maksim Horbachevsky
  • lexical-listlexical-markdown Feature Keep list marker for markdown round-trip (#7892) Simon
  • lexical-yjslexical-react Feature initial implementation of collab v2 (#7616) James Fitzsimmons
  • lexical-react Bug Fix LexicalMenu guard against undefined option when list shrinks (#7899) MRADUL TRIPATHI
  • examples Feature sveltekit ssr example (#7879) Bob Ippolito
  • Update examples for v0.36.2 (#7896) Bob Ippolito
  • v0.36.2 (#7894) Bob Ippolito
  • v0.36.2 Lexical GitHub Actions Bot

v0.36.2 (2025-09-30)

  • docs Chore Export DOMConversion types so that they are in the docs (#7893) Bob Ippolito
  • lexical-markdown Bug Fix Ensure First Match is Used in importTextMatchTransformer (#7890) River
  • lexical-react Fix ensure selection listeners cleaned up from original owner document (#7843) James Fitzsimmons
  • lexical-clipboard Preventing copying empty string (#7880) Nikhil Sharma
  • lexical-website Chore Update to docusaurus v3.9.1 (#7881) Bob Ippolito
  • lexical-headlesslexical-html Bug Fix Fix entrypoint for lexicalheadlessdom and generalize generateNodesFromDOM (#7859) Bob Ippolito
  • lexical-table Bug Fix Handle accessing table selection following table deletion (#7864) Patrick Moody
  • lexical-headless Bug Fix Fix types for lexicalheadlessdom and simplify npmToWwwName workaround (#7873) Bob Ippolito
  • Update examples for v0.36.1 (#7872) Bob Ippolito
  • lexical-playground Bug Fix Table add-row button no longer hides horizontal scroll (#7847) Nikhil Sharma
  • lexical-website Chore add example for how to bootstrap collab ydoc on the server (#7830) James Fitzsimmons
  • Bug Fix devInvariant should warn in prod even if not in codes.json (#7870) Bob Ippolito
  • v0.36.1 (#7871) Bob Ippolito
  • v0.36.1 Lexical GitHub Actions Bot

v0.36.1 (2025-09-25)

  • Bug Fix Update examples and fix package.json for v0.36.0 (will need a patch release) (#7867) Bob Ippolito
  • Make ref optional in ContentEditable flow (#7866) Gerard Rovira
  • v0.36.0 (#7861) Bob Ippolito
  • lexical Bug Fix account for Apple WebView in setManagedLineBreak (#7854) Matsuoka
  • lexical-headless Bug Fix Replace happy-dom with jsdom in www and map react-domclient (#7858) Bob Ippolito
  • Bug Fix npmToWwwName ensures lexical prefix (#7857) Bob Ippolito
  • lexical-headless Feature lexicalheadlessdom module for easier SSR (#7833) Bob Ippolito
  • lexical Chore Change TabNode.setTextContent invariant to devInvariant (#7855) Aman Harwara
  • lexical-extensiondocs Chore Add experimental to extension functions (#7853) Bob Ippolito
  • lexicallexical-extension Feature Lexical Extension (#7706) Bob Ippolito
  • lexical-react Bug Fix Include react-error-boundary and floating-uireact in WWW bundle (#7852) Bob Ippolito
  • lexical-react Bug Fix Add visibility margin to isTriggerVisibleInNearestScrollContainer to prevent popover from wrongfully closing (#7844) David
  • lexicallexical-reactlexical-playground Chore Update from React 18 to React 19 (#7802) Bob Ippolito
  • lexical-playground Chore remove InlineImageNode and InlineImagePlugun (#7839) Bob Ippolito

... (truncated)

Commits
  • c42a3d3 v0.37.0
  • 3535213 [lexical][lexical-clipboard][lexical-html][lexical-selection] Feature: Add an...
  • 81446cd [lexical][lexical-clipboard][lexical-playground] Feature: ImageNode caption s...
  • 8cbd726 v0.36.2 (#7894)
  • a42c89b [lexical][lexical-playground] Feature: Improve focus management in Toolbar an...
  • 59bb0a7 [docs] Chore: Export DOMConversion* types so that they are in the docs (#7893)
  • 843dbab [lexical-react] Fix: ensure selection listeners cleaned up from original owne...
  • 471e989 v0.36.1 (#7871)
  • 427c111 v0.36.0 (#7861)
  • a278e96 [lexical] Bug Fix: account for Apple WebView in setManagedLineBreak (#7854)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@otto-the-bot otto-the-bot enabled auto-merge (squash) October 12, 2025 14:10
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from e522c57 to 8f0b863 Compare October 12, 2025 14:16
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 8f0b863 to a4b09ae Compare October 12, 2025 14:28
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from a4b09ae to 18c90fa Compare October 12, 2025 14:35
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 18c90fa to efa4ceb Compare October 12, 2025 14:42
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from efa4ceb to 645a6e9 Compare October 12, 2025 14:49
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 645a6e9 to a0449d8 Compare October 12, 2025 14:57
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from a0449d8 to 001e964 Compare October 12, 2025 15:12
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 001e964 to 101c8a6 Compare October 14, 2025 15:38
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 101c8a6 to a7e2801 Compare October 15, 2025 08:50
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from a7e2801 to 950ce56 Compare October 16, 2025 12:23
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 950ce56 to b0fc2e5 Compare October 17, 2025 13:28
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from b0fc2e5 to 34bb7c4 Compare October 19, 2025 14:09
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 34bb7c4 to 7fd4801 Compare October 19, 2025 14:18
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 7fd4801 to 8f40983 Compare October 19, 2025 14:30
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 8f40983 to 166b072 Compare October 19, 2025 14:44
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 166b072 to 7ec5f6b Compare October 20, 2025 16:32
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 7ec5f6b to 130f287 Compare October 23, 2025 15:41
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 130f287 to 8f6a220 Compare October 26, 2025 15:08
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 8f6a220 to 53ef159 Compare October 26, 2025 15:21
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from 53ef159 to e0e82ce Compare October 26, 2025 15:33
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from e0e82ce to c3fd873 Compare October 26, 2025 15:48
Bumps [lexical](https://github.com/facebook/lexical/tree/HEAD/packages/lexical) from 0.27.2 to 0.37.0.
- [Release notes](https://github.com/facebook/lexical/releases)
- [Changelog](https://github.com/facebook/lexical/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/lexical/commits/v0.37.0/packages/lexical)

---
updated-dependencies:
- dependency-name: lexical
  dependency-version: 0.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical-0.37.0 branch from c3fd873 to 2a35cb7 Compare October 26, 2025 16:01
@sonarqubecloud
Copy link

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 2, 2025

Superseded by #19736.

@dependabot dependabot bot closed this Nov 2, 2025
auto-merge was automatically disabled November 2, 2025 15:09

Pull request was closed

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/lexical-0.37.0 branch November 2, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants