streamdown@1.6.0

vercel/streamdownstreamdown@1.6.0Nov 22, 2025

AI Summary

This minor release (1.6.0) of streamdown introduces Static mode and removes the react-markdown dependency, along with significant improvements to Mermaid diagram handling including export capabilities and custom error components. The release also includes performance optimizations, security fixes, and a new PanZoom component.

Key Highlights

  • Implemented Static mode for new rendering capability
  • Added PanZoom component with zoom and pan functionality
  • Mermaid diagrams can now be exported to SVG, PNG, and MMD formats
  • Removed react-markdown dependency and urlTransform functions (potential breaking changes)
  • Performance optimizations and security fixes

Breaking Changes

  • Removed dependency on react-markdown - may affect users relying on this dependency
  • Removed urlTransform and defaultUrlTransform functions

New Features

  • Static mode implementation
  • PanZoom component for zoom and pan functionality
  • Export Mermaid diagrams to SVG, PNG, and MMD formats
  • Custom error components for Mermaid diagrams
  • Rebuilt syntax highlighting
  • Fix for incomplete link termination in code blocks
  • List CSS fixes

Full Release Notes

### Minor Changes

-   6f19ee0: Remove dependency on react-markdown
-   52db013: Implement Static mode

### Patch Changes

-   4e12df6: Performance optimizations
-   606209d: Rebuild syntax highlighting
-   093cd5c: Remove urlTransform and defaultUrlTransform
-   28ab339: Fix incomplete link termination in code blocks
-   b55cbdc: Fix security issues, improve performance
-   872da1a: Allow for custom error components for Mermaid diagrams
-   090c82e: Fix list CSS
-   22cbaeb: Added the ability to export mermaid diagrams to svg and png alongside mmd
-   936af5b: Add PanZoom component and tests for zoom and pan functionality