Releases: vercel/streamdown
[email protected]
Patch Changes
- 61b3685: Fix Streamdown URL
[email protected]
Major Changes
- 75faa2e: Reduce bundle size by 98%, create Streamdown CDN
Minor Changes
- 13b91d8: Add support for carets
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]
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]
[email protected]
Patch Changes
- d3ed120: Split out Remend
[email protected]
[email protected]
[email protected]
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;
falseexplicitly hides the zoom controls
This is a non-breaking enhancement that aligns with existing control predicates.
- Support
-
a489949: fix: add missing tooltip support to action buttons
[email protected]
Patch Changes
- 74cac00: Fix code block data attributes
[email protected]
Patch Changes
- 1e547d4: Fix code blocks in dark mode