v53.3.13 v0.51.0

high risk

google/comprehensive-rustSep 17, 2026 → Sep 17, 20260 days between releases

What's New

Major release introduces ESM-only packages and declarative JSON schemas, moving away from CommonJS and legacy composers.

Breaking Changes

  • npm packages are ESM only, removing standard CommonJS `require` support.
  • Deprecated Prism re-exports are removed from `@lexical/code`.
  • `exportJSON` may now serialize instances as-is without resolving `getLatest()`.

New Features

  • Declarative JSON serialization schemas using `$config` for safer handling.
  • Introduction of `@lexical/fast-check` for property-based testing.
  • Compact JSON export option that omits default values.

Improvements

  • Generated serialization code for built-in nodes for faster import and export.
  • Subpath exports for `@lexical/extension` packages.
  • Packages are now ESM-only (CommonJS remains in-tree).

Upgrade Notes

Migrate code from CommonJS `require` to ESM `import` syntax or use Node.js 20.19+. Replace deprecated `LexicalComposer` with `LexicalExtensionComposer` and update serialization schemas to use `$config`.

The Two Releases

v53.3.13

v53.3.13

Sep 17, 2026· 1 month ago

A patch release fixing an issue where the headless entry required React to be present at runtime.

Full release notes
v0.51.0

v0.51.0

Sep 17, 2026· 1 month ago

A major release introducing declarative JSON serialization schemas via `$config`, moving packages to ESM-only, and deprecating `LexicalComposer`.

Full release notes