v53.3.13 v0.51.0

high risk

coleam00/ArchonSep 17, 2026 → Sep 17, 20260 days between releases

What's New

Major release introduces ESM-only publishing and declarative JSON serialization schemas

Breaking Changes

  • npm packages are now ESM-only (CommonJS removed from public registry)
  • `LexicalComposer` is deprecated in favor of `LexicalExtensionComposer`
  • `exportJSON` may serialize instances as-is, requiring manual `getLatest()` calls

New Features

  • Declarative JSON serialization schemas via `$config`
  • Compact JSON export option via `editorState.toJSON(true)`
  • New `@lexical/fast-check` package for property-based testing

Improvements

  • Serialization schemas provide metadata for compact exports and future codecs
  • Switch to ESM-only npm packages
  • Generated serialization code via `@lexical/compiler`

Upgrade Notes

Switch to ESM-only publishing requires bundler updates or Node.js 20.19+ for CommonJS support. Replace deprecated `LexicalComposer` with `LexicalExtensionComposer`. Update `exportJSON` calls to handle potential serialization of instances.

The Two Releases

v53.3.13

v53.3.13

Sep 17, 2026· 1 month ago

A patch release fixing a runtime issue where the headless entry incorrectly required React.

Full release notes
v0.51.0

v0.51.0

Sep 17, 2026· 1 month ago

A major release introducing declarative JSON serialization schemas for nodes, enabling compact exports and property-based testing, while moving the project to ESM-only publishing.

Full release notes