Skip to content

Comments

chore(deps): bump @lexical/code from 0.27.2 to 0.39.0#20013

Closed
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/npm_and_yarn/lexical/code-0.39.0
Closed

chore(deps): bump @lexical/code from 0.27.2 to 0.39.0#20013
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/npm_and_yarn/lexical/code-0.39.0

Conversation

@dependabot
Copy link
Contributor

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

Bumps @lexical/code from 0.27.2 to 0.39.0.

Release notes

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

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:26
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from b03e238 to 43fcfd7 Compare January 5, 2026 16:31
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 43fcfd7 to 51f2fc8 Compare January 5, 2026 16:36
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 51f2fc8 to a133218 Compare January 5, 2026 16:41
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from a133218 to 579d754 Compare January 5, 2026 16:52
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 579d754 to aeb8bed Compare January 5, 2026 16:58
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from aeb8bed to 5725c95 Compare January 5, 2026 17:03
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 5725c95 to 13c0623 Compare January 6, 2026 14:06
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 13c0623 to 3b8b7be Compare January 6, 2026 14:46
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 3b8b7be to 468abc1 Compare January 12, 2026 11:22
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 13, 2026

Dependabot could not find a dependency.. Because of this, Dependabot cannot update this pull request.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 468abc1 to e449217 Compare January 13, 2026 13:16
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from e449217 to 1e8d986 Compare January 13, 2026 13:24
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from c6ff6a2 to a81c3ac Compare January 25, 2026 18:24
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from a81c3ac to ce82c9d Compare January 25, 2026 18:32
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from ce82c9d to dfe27ab Compare January 25, 2026 18:42
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from dfe27ab to 1461dd2 Compare January 25, 2026 18:49
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 1461dd2 to 690a85b Compare January 25, 2026 18:57
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 690a85b to 0991546 Compare January 26, 2026 12:38
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 0991546 to 5dd010e Compare January 29, 2026 11:35
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 5dd010e to 7c31fac Compare February 3, 2026 11:00
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 7c31fac to 5f3775e Compare February 3, 2026 14:38
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 5f3775e to 91e0f8a Compare February 4, 2026 12:34
Bumps [@lexical/code](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-code) 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-code)

---
updated-dependencies:
- dependency-name: "@lexical/code"
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lexical/code-0.39.0 branch from 91e0f8a to eb93af6 Compare February 4, 2026 14:02
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2026

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 8, 2026

Superseded by #20341.

@dependabot dependabot bot closed this Feb 8, 2026
auto-merge was automatically disabled February 8, 2026 15:10

Pull request was closed

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/lexical/code-0.39.0 branch February 8, 2026 15:10
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.

1 participant