v2.0.1 streamdown@2.7.0

high risk

Vanilagy/mediabunnySep 29, 2026 → Sep 30, 20261 day between releases

What's New

Adds streaming performance optimizations and new customization props, but requires Node.js 20+.

Breaking Changes

  • Requires Node.js 20+ due to @streamdown/code@2.0.0 dependency
  • marked upgraded to v18

New Features

  • New `fallbackComponent` prop for missing HTML/custom tags
  • New `portal` prop for configuring containers
  • New `disableAutolinkProtocols` prop to control URL protocols
  • New `defaultComponents` export for custom overrides
  • Loading skeletons now appear for incomplete images

Improvements

  • Streaming speed optimizations for code blocks, tables, and Mermaid
  • Code highlight cache uses LRU to bound memory usage
  • Parsed blocks are reused to reduce lexing overhead
  • Code and table auto-scroll run once per frame
  • Caret toggling no longer restyles the whole document

Bug Fixes

  • Mermaid diagrams auto-fit their container for better readability
  • Math expressions with `<` characters no longer render incorrectly
  • Incomplete images display loading skeletons instead of disappearing

Upgrade Notes

You must upgrade Node.js to version 20 or higher. The `marked` library has been updated to v18, which may require adjustments to your Markdown parsing configuration. Several new props like `fallbackComponent`, `portal`, and `disableAutolinkProtocols` are now available for customization.

The Two Releases

v2.0.1

v2.0.1

Sep 29, 2026· 23 days ago

Minimal release notes: "CLI telemetry now reports the AI coding agent that ran a command, if any. ## Changes - feat(cli): flag AI coding a"

Full release notes
streamdown@2.7.0

streamdown@2.7.0

Sep 30, 2026· 22 days ago

This release focuses on streaming performance improvements, adds new props for customization (fallbackComponent, portal, disableAutolinkProtocols), and fixes various rendering issues including Mermaid diagrams and table handling.

Full release notes