v4.22.0 streamdown@2.7.0

medium risk

NandhaKishorM/layaSep 30, 2026 → Sep 30, 20260 days between releases

What's New

Streamdown 2.7.0 adds performance optimizations and new props, requiring Node.js 20 and Shiki v4

Breaking Changes

  • Requires Node.js 20 or newer
  • Requires @streamdown/code@2.0.0 (Shiki v4)

New Features

  • fallbackComponent for missing map entries or HTML tags
  • disableAutolinkProtocols to turn off GFM autolinking
  • portal prop for configuring containers
  • Export of defaultComponents for custom overrides
  • Loading skeleton for incomplete images

Improvements

  • Streaming speed improvements via block reuse and selective lexing
  • Code highlight cache now has an LRU size limit
  • Mermaid diagrams render one at a time to prevent blocking
  • Caret toggle no longer restyles the whole document

Bug Fixes

  • Mermaid diagrams now auto-fit their container
  • Less-than signs inside math blocks no longer cut off text

Upgrade Notes

Ensure your runtime is Node.js 20 or newer and update @streamdown/code to 2.0.0. Add new props like fallbackComponent or portal to your configuration if you intend to use them. Note that the code highlighter now uses Shiki v4, which may have minor rendering differences.

The Two Releases

v4.22.0

v4.22.0

Sep 30, 2026· 22 days ago

FalkorDB v4.22.0 introduces advanced path-finding algorithms (A*, Yen's k-shortest paths) and a new CCH path index, while fixing several crash bugs.

Full release notes
streamdown@2.7.0

streamdown@2.7.0

Sep 30, 2026· 22 days ago

Performance-focused release with new props, fixes, and Mermaid diagram improvements.

Full release notes