v1.7.5 v0.51.0

high risk

sinewaveai/agent-security-scanner-mcpSep 9, 2026 → Sep 17, 20268 days between releases

What's New

Introduces declarative JSON serialization schemas and ESM-only packages while deprecating `LexicalComposer`.

Breaking Changes

  • npm packages are now ESM only, removing direct CommonJS `require` support.
  • `exportJSON` now serializes properties directly without resolving `getLatest()`, potentially causing stale data issues.
  • Removed Prism re-exports and `@lexical/code-prism` dependency.

New Features

  • Declarative JSON serialization schemas via `$config`.
  • Compact JSON export option reduces payload size.
  • New `@lexical/fast-check` package for property-based testing.
  • Subpath exports for `@lexical/extension`.

Improvements

  • Faster and safer serialization via declarative schemas.
  • ESM-only packages with bundler support.
  • Code generation for serialization in `@lexical/compiler`.

Upgrade Notes

Migrate to ESM imports or use Node.js 20.19+ for CommonJS support. Update `exportJSON` calls to handle direct property serialization.

The Two Releases

v1.7.5

Release v1.7.5

Sep 9, 2026· 1 month ago

This release focuses on performance optimization by implementing a cache for git author identity resolution with a 30-minute TTL.

Full release notes
v0.51.0

v0.51.0

Sep 17, 2026· 1 month ago

This monthly release introduces declarative JSON serialization schemas on `$config` for nodes, offering faster, safer, and more flexible serialization. It enables a new compact JSON export option and moves the project towards ESM-only packages, while deprecating `LexicalComposer` in favor of `LexicalExtensionComposer`.

Full release notes