[PR #26801] chore(deps): bump @lexical/utils from 0.36.2 to 0.37.0 in /web #31565

Closed
opened 2026-02-21 20:49:42 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/26801

State: closed
Merged: Yes


Bumps @lexical/utils from 0.36.2 to 0.37.0.

Release notes

Sourced from @​lexical/utils'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/utils'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
Commits

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)
**Original Pull Request:** https://github.com/langgenius/dify/pull/26801 **State:** closed **Merged:** Yes --- Bumps [@lexical/utils](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils) from 0.36.2 to 0.37.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/lexical/releases"><code>@​lexical/utils</code>'s releases</a>.</em></p> <blockquote> <p>v0.37.0 is an ad-hoc release, primarily to update the happy-dom dependency to address a CVE (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7909">#7909</a> - 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 <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7616">#7616</a> <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7903">#7903</a>)</p> <h2>Highlights</h2> <p>Core:</p> <ul> <li><a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7900">#7900</a> ✅ Fix <code>$cloneWithProperties</code> so that it doesn't throw an exception when used in read-only mode</li> <li><a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7904">#7904</a> 🆕 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</li> </ul> <p>Examples:</p> <ul> <li>🆕 <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7879">#7879</a> New sveltekit ssr example demonstrating the use of <code>@​lexical/headless/</code>dom</li> </ul> <p>React:</p> <ul> <li>✅ <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7899">#7899</a> LexicalMenu guard against undefined option when list shrinks</li> </ul> <p>Collab:</p> <ul> <li>🆕 <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7616">#7616</a> <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7903">#7903</a> <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7907">#7907</a> <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7908">#7908</a> Initial implementation of collab v2</li> </ul> <p>List</p> <ul> <li>🆕 <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7892">#7892</a> Keep list marker for markdown round-trip</li> </ul> <p>Rich Text:</p> <ul> <li>✅ <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7902">#7902</a> Fix up/down arrows for node selection</li> </ul> <p>Clipboard/Playground:</p> <ul> <li>✅ <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7900">#7900</a> ImageNode caption support for exportDOM and importDOM</li> <li>✅ <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7906">#7906</a> Export ParagraphNode as div role=&quot;paragraph&quot; when it contains block DOM (such as the <code>&lt;figure&gt;</code> from ImageNode captions)</li> </ul> <p>Headless</p> <ul> <li>🧹 <a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7909">#7909</a> Update to happy-dom v20 to address CVE reports (lexical's usage was not susceptible)</li> </ul> <h2>What's Changed</h2> <ul> <li>v0.36.2 by <a href="https://github.com/etrepum"><code>@​etrepum</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7894">facebook/lexical#7894</a></li> <li>Update examples for v0.36.2 by <a href="https://github.com/etrepum"><code>@​etrepum</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7896">facebook/lexical#7896</a></li> <li>[examples] Feature: sveltekit ssr example by <a href="https://github.com/etrepum"><code>@​etrepum</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7879">facebook/lexical#7879</a></li> <li>[lexical-react] Bug Fix: LexicalMenu guard against undefined option when list shrinks by <a href="https://github.com/MRADULTRIPATHI"><code>@​MRADULTRIPATHI</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7899">facebook/lexical#7899</a></li> <li>[lexical-yjs][lexical-react] Feature: initial implementation of collab v2 by <a href="https://github.com/james-atticus"><code>@​james-atticus</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7616">facebook/lexical#7616</a></li> <li>[lexical-list][lexical-markdown] Feature: Keep list marker for markdown round-trip by <a href="https://github.com/lytion"><code>@​lytion</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7892">facebook/lexical#7892</a></li> <li>[lexical-rich-text] Bug fix: up/down arrows for node selection by <a href="https://github.com/fantactuka"><code>@​fantactuka</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7902">facebook/lexical#7902</a></li> <li>[lexical][lexical-clipboard][lexical-playground] Feature: ImageNode caption support for exportDOM and importDOM by <a href="https://github.com/Kepron"><code>@​Kepron</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7900">facebook/lexical#7900</a></li> <li>[lexical-yjs][lexical-react] Feature: commands for diffing two yjs snapshots in collab v2 by <a href="https://github.com/james-atticus"><code>@​james-atticus</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7903">facebook/lexical#7903</a></li> <li>[lexical][lexical-clipboard][lexical-html][lexical-selection] Feature: Add an internal ephemeral node concept by <a href="https://github.com/etrepum"><code>@​etrepum</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7904">facebook/lexical#7904</a></li> <li>[lexical-playground] Bug Fix: Export ParagraphNode as div role=&quot;paragraph&quot; when it contains block DOM by <a href="https://github.com/etrepum"><code>@​etrepum</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7906">facebook/lexical#7906</a></li> <li>[lexical-react] Chore: make __shouldBootstrapUnsafe prop optional by <a href="https://github.com/james-atticus"><code>@​james-atticus</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7907">facebook/lexical#7907</a></li> <li>[lexical-yjs] Chore: fix imports of Yjs XML types by <a href="https://github.com/james-atticus"><code>@​james-atticus</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7908">facebook/lexical#7908</a></li> <li>[lexical-headless] Chore: Update to happy-dom v20 by <a href="https://github.com/etrepum"><code>@​etrepum</code></a> in <a href="https://redirect.github.com/facebook/lexical/pull/7909">facebook/lexical#7909</a></li> </ul> <h2>New Contributors</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/lexical/blob/main/CHANGELOG.md"><code>@​lexical/utils</code>'s changelog</a>.</em></p> <blockquote> <h2>v0.37.0 (2025-10-11)</h2> <ul> <li>lexical-yjs Chore fix imports of Yjs XML types (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7908">#7908</a>) James Fitzsimmons</li> <li>lexical-react Chore make shouldBootstrapUnsafe prop optional (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7907">#7907</a>) James Fitzsimmons</li> <li>lexical-playground Bug Fix Export ParagraphNode as div roleparagraph when it contains block DOM (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7906">#7906</a>) Bob Ippolito</li> <li>lexicallexical-clipboardlexical-htmllexical-selection Feature Add an internal ephemeral node concept (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7904">#7904</a>) Bob Ippolito</li> <li>lexical-yjslexical-react Feature commands for diffing two yjs snapshots in collab v2 (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7903">#7903</a>) James Fitzsimmons</li> <li>lexicallexical-clipboardlexical-playground Feature ImageNode caption support for exportDOM and importDOM (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7900">#7900</a>) Mehmet Can Ertan</li> <li>lexical-rich-text Bug fix updown arrows for node selection (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7902">#7902</a>) Maksim Horbachevsky</li> <li>lexical-listlexical-markdown Feature Keep list marker for markdown round-trip (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7892">#7892</a>) Simon</li> <li>lexical-yjslexical-react Feature initial implementation of collab v2 (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7616">#7616</a>) James Fitzsimmons</li> <li>lexical-react Bug Fix LexicalMenu guard against undefined option when list shrinks (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7899">#7899</a>) MRADUL TRIPATHI</li> <li>examples Feature sveltekit ssr example (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7879">#7879</a>) Bob Ippolito</li> <li>Update examples for v0.36.2 (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7896">#7896</a>) Bob Ippolito</li> <li>v0.36.2 (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7894">#7894</a>) Bob Ippolito</li> <li>v0.36.2 Lexical GitHub Actions Bot</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/facebook/lexical/commit/c42a3d3fa610f4ea0e97eedaec3b15d767ae0031"><code>c42a3d3</code></a> v0.37.0</li> <li><a href="https://github.com/facebook/lexical/commit/8cbd7260914acbbdbc34c2e35cdda40023a63783"><code>8cbd726</code></a> v0.36.2 (<a href="https://github.com/facebook/lexical/tree/HEAD/packages/lexical-utils/issues/7894">#7894</a>)</li> <li>See full diff in <a href="https://github.com/facebook/lexical/commits/v0.37.0/packages/lexical-utils">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@lexical/utils&package-manager=npm_and_yarn&previous-version=0.36.2&new-version=0.37.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
yindo added the pull-request label 2026-02-21 20:49:42 -05:00
yindo closed this issue 2026-02-21 20:49:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#31565