Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2026

Bumps @lexical/react from 0.27.2 to 0.39.0.

Release notes

Sourced from @​lexical/react's releases.

v0.39.0 is a monthly release primarily focusing on bug fixes

Breaking Changes

JSON serialization for ElementNode only includes textFormat and textStyle when necessary #7971

Previously the derived properties textFormat and textStyle would always be serialized to JSON if not set to the default values. These should only be useful when the ElementNode does not currently have any TextNode children, to preserve formatting choices, and will be recomputed when reconciled. Now they are only reconciled when they are determined to be useful (in an ElementNode with no direct TextNode children that is not a root or shadow root).

Highlights

Code:

  • #7970 Fix: Scope highlight cache by editor

Core:

  • #7971 Fix: Only serialize ElementNode textFormat and textStyle when necessary
  • 🆕 #7964 Feature: Add commands for beforeinput, input, compositionstart/end events
  • #7978 Fix: $dfsCaretIterator should be able to stop at its last descendant

Selection:

  • #8003 Fix: Text styles are now applied to empty ElementNodes in a selection (typically the empty paragraphs contained in empty table cells)

Extension:

  • #7961 Fix: Defer node class references to potentially work around webpack issues

Table:

  • 🧪 #7983 Experiment: add config for opting in to nested tables (note that this does not fix their behavior)
  • #7986 Fix: Ensure colWidths has length equal to number of columns
  • #7998 Fix: Include first cell contents in partial backwards table selection

React:

  • #7987 Prevent typeahead menu from closing during IME composition

Collab:

  • #7990 Fix: Don't rewrite unchanged non-primitive property/state values to yjs in collab v2

Playground:

  • 🆕 #8002 Feature: Shadows when table is scrollable
  • #8015 Fix: Show draggable block target line when dragging images

What's Changed

... (truncated)

Changelog

Sourced from @​lexical/react's changelog.

v0.39.0 (2025-12-11)

  • lexical-selection Fix applying styles for empty table cells (#8003) Ivaylo Pavlov
  • lexical-playground Shadows when table is scrollable (#8002) Ivaylo Pavlov
  • lexical-markflowchore Add flowfix me after flow 0.292.0 was deployed to www. This fixes the sync between github and www (#8019) Michael
  • Doc nit (#8010) Gerard Rovira
  • lexical-table Bug Fix include first cell contents in partial backwards table selection (#7998) Patrick Moody
  • lexical-website Documentation Update Add missing getDocFromMap fn to docs (#8000) mattcline
  • Revert lexical-react lexical-playground Remove old ContextMenu, consolidate LexicalMenu render (#7997) Ivaylo Pavlov
  • lexical-website Documentation Update Add ywebsocket-server package dependency (#7996) mattcline
  • lexical-yjs Bug fix dont rewrite unchanged non-primitive propertystate values to yjs in collab v2 (#7990) James Fitzsimmons
  • lexical-react lexical-playground Remove old ContextMenu, consolidate LexicalMenu render (#7984) Ivaylo Pavlov
  • lexical-table Bug Fix ensure colWidths has length equal to number of columns (#7986) James Fitzsimmons
  • lexical-react lexical-playground Bug Fix Prevent typeahead menu from closing during IME composition (#7985) (#7987) kykim00
  • lexical-table Feature add config for opting in to nested tables (#7983) James Fitzsimmons
  • lexical Bug fix dfsCaretIterator should be able to stop at its last descendant (#7978) Nigel Gutzmann
  • lexical Chore Update flow-bin (to 0.290.0) and fix incompatible-variance issues (#7975) Daniel Teo
  • lexical Feature add commands for beforeinput, input, compositionstartend events (#7964) James Fitzsimmons
  • lexical Chore Update flow-bin (to 0.289.0) and LexicalLink Flow types (#7973) Daniel Teo
  • lexical-extensionlexical- Bug Fix Defer node class references to potentially work around webpack issues (#7961) Bob Ippolito
  • lexical Feature Only serialize ElementNode textFormat and textStyle when necessary (#7971) Bob Ippolito
  • lexical-code Bug fix Add editor key in highlighted nodes cache (#7970) Daniel Teo
  • examples Chore Update examples for v0.38.2 (#7963) Bob Ippolito
  • scripts Allow export-froms in Flow files to be transformed for www build (#7967) Daniel Teo
  • v0.38.2 (#7962) Bob Ippolito
  • v0.38.2 Lexical GitHub Actions Bot

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

... (truncated)

Commits
  • d99aa06 v0.39.0
  • 80fce01 Revert "[lexical-react] [lexical-playground] Remove old ContextMenu, consolid...
  • 4bbbd8b [lexical-yjs] Bug fix: don't rewrite unchanged non-primitive property/state v...
  • d1a8e84 [lexical-react] [lexical-playground] Remove old ContextMenu, consolidate Lexi...
  • 8ff3dec [lexical-react] [lexical-playground] Bug Fix: Prevent typeahead menu from clo...
  • 6296fe9 [lexical-table] Feature: add config for opting in to nested tables (#7983)
  • d994d9d v0.38.2 (#7962)
  • 174580d [lexical-react] Fix: update cursor positions on awareness update in collab v1...
  • 3949571 v0.38.1 (#7951)
  • 2ac6c13 v0.38.0 (#7950)
  • 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) January 5, 2026 16:29
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/react-0.39.0 branch from aa4e6e5 to 83b1db6 Compare January 5, 2026 16:36
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/react-0.39.0 branch from 83b1db6 to eef56a6 Compare January 5, 2026 16:41
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/react-0.39.0 branch from eef56a6 to 9ccdb51 Compare January 5, 2026 16:52
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/react-0.39.0 branch from 9ccdb51 to 7bf1dd9 Compare January 5, 2026 16:58
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/react-0.39.0 branch from 7bf1dd9 to 1091006 Compare January 5, 2026 17:04
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/react-0.39.0 branch from 1091006 to 79177f3 Compare January 6, 2026 14:06
Bumps [@lexical/react](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-react) from 0.27.2 to 0.39.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.39.0/packages/lexical-react)

---
updated-dependencies:
- dependency-name: "@lexical/react"
  dependency-version: 0.39.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/react-0.39.0 branch from 79177f3 to 45fca7b Compare January 6, 2026 14:46
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 6, 2026

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