streamdown@1.4.0
vercel/streamdownstreamdown@1.4.0Oct 10, 2025
AI Summary
This release (1.4.0) of streamdown focuses on improving Markdown rendering and plugin customization. Key changes include migrating from harden-react-markdown to rehype-harden, making plugins fully customizable by removing the options prop, and adding support for new props like remarkMathOptions, remarkGfmOptions, and isAnimating. The release also includes numerous bug fixes for footnotes, links, images, and HTML attribute handling.
Key Highlights
- Migrated from harden-react-markdown to rehype-harden for improved security
- Made plugins fully customizable by removing the options prop
- Added support for remarkMathOptions and remarkGfmOptions props
- Fixed multiple rendering issues including footnotes, links, and code block backgrounds
- Added support for isAnimating and base64 images
Breaking Changes
- Removed the options prop - plugins are now fully customizable instead
New Features
- Added support for isAnimating prop
- Added support for remarkMathOptions and remarkGfmOptions props
- Support for incomplete URL parsing for links
- Allow base64 images
- Extract images from paragraph tags for better rendering
- Fixed themed backgrounds for code blocks
- Fixed email addresses being rendered as blocked links
Full Release Notes
### Minor Changes - 6c6f507: migrate from harden-react-markdown to rehype-harden ### Patch Changes - d0444a3: Add support for isAnimating - 7a7464f: Correctly passes through remark rehype options into react-markdown. Previously this was ignored - c68ebd6: Support incomplete URL parsing for links - 0bfca42: 1.4 fixes and cleanup - 6c0672b: Fix footnotes parsing - 239e41d: fix: Block-level Markdown escapes <details> containers when paragraphs/blank lines are present - 7cd5048: Add support for remarkMathOptions and remarkGfmOptions props - f5d6cd6: Remove options props, make plugins fully customizable - 699622f: Allow base64 images - 38ad1ed: Fix node="[object Object]" HTML attribute bug. Fixed AST node objects being passed as HTML attributes by explicitly filtering out the node prop from component props before spreading to HTML elements. - 21a7031: Fix themed backgrounds for code blocks - 04f6f3a: Extract images from paragraph tags - 3c780b4: Fit footnotes rendering - 20ca02d: fixed email addresses being rendered as blocked link