Skip to content

Releases: vercel/streamdown

[email protected]

12 Jan 05:11
3c3af93

Choose a tag to compare

Patch Changes

[email protected]

12 Jan 04:43
5948920

Choose a tag to compare

Major Changes

  • 75faa2e: Reduce bundle size by 98%, create Streamdown CDN

Minor Changes

Patch Changes

  • 104798e: Make remend configurable

  • 23f2a40: Attempt to fallback to raw to prevent cdn-loader blocking

  • 133c6c8: Load KaTeX CSS from CDN

  • 0c830f5: Fix Mermaid pan/zoom controls layout issues in fullscreen and non-fullscreen modes

  • 68109f2: Fix setext heading issues

  • 2c32b2e: Fix shouldParseIncompleteMarkdown leaking to DOM

  • ee12ec8: Add support for self-hosted CDN

  • 5653400: Fix loading langs dynamically

  • 1b898b0: Fix dynamic module imports

  • 6a7dc7c: Optimize Mermaid rendering performance with viewport-based lazy loading

    • Add useDeferredRender hook for lazy loading components when entering viewport
    • Use Intersection Observer + debounce + requestIdleCallback for optimal performance
    • Only render Mermaid charts when they are visible or about to enter viewport
    • Prevents page freezing when loading chat history with many Mermaid diagrams
    • Fixes white screen issue when scrolling through chat messages with multiple diagrams
  • 8d8d67f: Add rehype sanitize

  • 271265c: Fix list indentation

  • 8157e80: Fix fullscreen mermaid

  • 91b425f: Refactor click outside handler for Shadow DOM compatibility

  • 16df4a4: Fix KaTeX parsing

  • 6bd211d: Update rehype-harden to fix relative URLs

  • 48c9c51: Fix autolink parsing to stop at CJK punctuation boundaries.

  • d1635f0: Fix bug: Code block line numbers over 100 wrap and start new line

  • Updated dependencies [104798e]

  • Updated dependencies [6769e7a]

  • Updated dependencies [217b128]

  • Updated dependencies [68109f2]

  • Updated dependencies [e0ee74e]

  • Updated dependencies [45f0f4d]

  • Updated dependencies [b8c8c79]

  • Updated dependencies [68f29c0]

  • Updated dependencies [e7eca51]

  • Updated dependencies [d708864]

[email protected]

12 Jan 04:43
5948920

Choose a tag to compare

Patch Changes

  • 104798e: Make remend configurable
  • 6769e7a: Fix trailing space issues
  • 217b128: fix: Code block output contains extra __
  • 68109f2: Fix setext heading issues
  • e0ee74e: fix: Inline code block containing $$ is incorrectly completed
  • 45f0f4d: Improve support for horizontal rules
  • b8c8c79: fix: should not add closing markers to overlapping bold and italic
    fix: should handle code block with incomplete inline code after
    fix: should not add closing markers to overlapping bold and italic
    fix: should close nested underscore italic before bold
  • 68f29c0: should not add trailing underscore for images with underscores in URL (#284)
  • e7eca51: fix incorrect bold-italic nesting auto-completion
  • d708864: Fix asterisks inside math blocks being incorrectly treated as italic markers

[email protected]

03 Dec 19:44
1e8a01d

Choose a tag to compare

Patch Changes

[email protected]

03 Dec 19:35
1e8a01d

Choose a tag to compare

Patch Changes

[email protected]

28 Nov 23:36
38c773e

Choose a tag to compare

Patch Changes

  • 57dec2a: Restores pan-zoom component to normal size when mermaid component is maximized
  • a954419: Bump rehype-harden
  • 99797c2: chore: move unified from devDependencies to dependencies

[email protected]

25 Nov 07:28
3fc772f

Choose a tag to compare

Patch Changes

  • 6fc3fa0: fix excessive spacing above tables
  • b2e832f: fix: validate languages in code blocks

[email protected]

24 Nov 17:55
32a70a7

Choose a tag to compare

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

[email protected]

23 Nov 22:38
5938cf7

Choose a tag to compare

Patch Changes

  • 74cac00: Fix code block data attributes

[email protected]

23 Nov 22:01
5ba4200

Choose a tag to compare

Patch Changes

  • 1e547d4: Fix code blocks in dark mode