Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 2, 2025

Bumps lexical from 0.27.2 to 0.38.2.

Release notes

Sourced from lexical's releases.

v0.38.2 is a patch release to fix a regression in yjs cursor position awareness (#7960). It also includes another fix for a Markdown issue.

Highlights

React:

  • #7960 Fix: update cursor positions on awareness update in collab v1

Markdown:

  • #7958 Fix markdown formatting when a backslash is before or after a closing backtick

What's Changed

Full Changelog: facebook/lexical@v0.38.1...v0.38.2

v0.38.1 is an monthly release with a lot of fixes and a few potentially breaking changes (this is a re-publish of v0.38.0, which had problems during initial npm publish).

Breaking Changes

#7926 Static transforms from superclasses are always applied

Before $config there was a limited amount of "automatic" re-use of the static transform by subclasses, because class inheritance also inherits static methods, so you get the implementation of whatever static transform method was in the superclass if it wasn't overridden.

Now the application of these static transforms (whether by method or $config) is implicit. There is no need to call super if adding an additional transform. The implementation walks up the inheritance tree by $config extends or Object.getPrototypeOf and will register all transforms it finds.

#7936 Extension configuration for CodeHighlighterShikiExtension has been flattened

If you are using CodeHighlighterShikiExtension the configuration has changed.

Before:

configExtension(CodeHighlighterShikiExtension, {tokenizer: {...ShikiTokenizer, defaultTheme: })

After:

configExtension(CodeHighlighterShikiExtension, {defaultTheme: })

#7933 LexicalTableSelectionHelpers listener priorities lowered to HIGH from CRITICAL

This is unlikely to break most applications but the priority of these command listeners has been lowered to allow them to be overridden.

Highlights

... (truncated)

Changelog

Sourced from lexical's changelog.

v0.38.2 (2025-10-31)

  • lexical-markdown Code backslash fix (#7958) MarekKuncik
  • Update codeowners (#7957) Gerard Rovira
  • Update examples for v0.38.1 (#7952) Bob Ippolito
  • v0.38.1 (#7951) Bob Ippolito
  • v0.38.1 Lexical GitHub Actions Bot

v0.38.1 (2025-10-27)

  • v0.38.0 Lexical GitHub Actions Bot

v0.38.0 (2025-10-27)

  • lexical-list Bug Fix fix pasting checklist from joplin (#7946) Antonella Sgarlatta
  • lexical Bug Fix update block cursor if selection has changed (#7947) Maksim Horbachevsky
  • lexical-link Feature Enable Selective Removal Within Linked Text (#7944) Christopher Norman
  • Fix Log exceptions in clipboard paste handler (fixes #7940) (#7942) Nikhil Sharma
  • lexical Bug Fix retain selection during updates on unfocused editor (#7941) Maksim Horbachevsky
  • lexical-table Chore Lower table handler command priority (#7933) Patrick Moody
  • lexical-linklexical-code-shikiexamples Feature Implement mergeConfig for LinkExtension and flatten config for CodeHighlighterShikiExtension (#7936) Bob Ippolito
  • lexical-react Bug Fix Add getServerSnapshot for RSC compatibility (#7935) Elias Rhouzlane
  • lexical-website Documentation Update change setText to setTextContent (#7932) bbertold
  • lexical-extension Feature Allow nodes config to be deferred for circular dependency reasons (#7930) Bob Ippolito
  • lexicallexical-list Bug Fix Apply static transform and config transform from all superclasses (#7926) Bob Ippolito
  • lexical-markdown Bug Fix Fix implicit checklist marker export regression (#7928) Bob Ippolito
  • lexical-website Chore Update docusuarus and add contributing docs (#7931) Bob Ippolito
  • lexical-markdown Bug Fix Prevent Markdown links with empty string link text from being automatically removed (#7923) Adam Bolcsfoldi
  • lexical-playground Bug Fix Fix image caption overflow issue (#7920) Ritoban Dutta
  • lexical-markdown Fix bugs in normalizeMarkdown (#7812) German Jablonski
  • lexical-code Bug Fix Respect RTL when moving to line startend in code blocks (#7921) Shehab
  • lexical-yjs Fix skip elements that were added and removed between snapshots (#7922) James Fitzsimmons
  • Documentation Chore Update bounty program link in CONTRIBUTING.md (#7915) Mustkeem K
  • Update examples for v0.37.0 (#7911) Bob Ippolito
  • v0.37.0 (#7910) Bob Ippolito
  • v0.37.0 Lexical GitHub Actions Bot

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

... (truncated)

Commits
  • c75b8e1 v0.38.2
  • 3949571 v0.38.1 (#7951)
  • 2ac6c13 v0.38.0 (#7950)
  • fbff5b3 [lexical-list] Bug Fix: fix pasting checklist from joplin (#7946)
  • 38d5dbd [lexical] Bug Fix: update block cursor if selection has changed (#7947)
  • c28a7e5 [lexical] Bug Fix: retain selection during updates on unfocused editor (#7941)
  • 863e408 [lexical-extension] Feature: Allow nodes config to be deferred for circular d...
  • 51fef51 [lexical][lexical-list] Bug Fix: Apply static transform and $config $transfor...
  • 064e2c0 [lexical-code] Bug Fix: Respect RTL when moving to line start/end in code blo...
  • 9c83a65 v0.37.0 (#7910)
  • 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)

Bumps [lexical](https://github.com/facebook/lexical/tree/HEAD/packages/lexical) from 0.27.2 to 0.38.2.
- [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.38.2/packages/lexical)

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

Signed-off-by: dependabot[bot] <[email protected]>
@otto-the-bot otto-the-bot enabled auto-merge (squash) November 2, 2025 15:09
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 2, 2025

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