streamdown@1.6.7

vercel/streamdownstreamdown@1.6.7Nov 24, 2025

AI Summary

This is a patch release (1.6.7) that fixes bugs related to HTML rendering inside list items and adds tooltip support to action buttons, while introducing PanZoom controls configurability for Mermaid diagrams.

Key Highlights

  • Fixed p tags inside list items rendering issue
  • Added missing tooltip support to action buttons
  • Added PanZoom controls configurability for Mermaid diagrams with global and per-instance options
  • Fixed unit tests

New Features

  • PanZoom controls configurability for Mermaid diagrams with `controls.mermaid.panZoom` boolean option for global toggle
  • Per-instance PanZoom configuration via `mermaid.config.panZoom` (boolean or `{ showControls?: boolean }`)
  • Tooltip support added to action buttons

Full Release Notes

### Patch Changes

-   cfc8c37: Fix p tags inside list items

-   e4e5bb5: Fix unit tests

-   00ca9a9: Add PanZoom controls configurability for Mermaid diagrams.

    -   Support `controls.mermaid.panZoom` (boolean) to toggle zoom controls globally
    -   Support `mermaid.config.panZoom` (boolean or `{ showControls?: boolean }`) per-instance
    -   Keep defaults enabled; `false` explicitly hides the zoom controls

    This is a non-breaking enhancement that aligns with existing control predicates.

-   a489949: fix: add missing tooltip support to action buttons