Streamdown Updates & Release Notes
32 updates curated from 1 source by the Releasebot Team. Last updated: Nov 18, 2026
- Nov 17, 2026
- Date parsed from source:Nov 17, 2026
- First seen by Releasebot:Nov 18, 2026
- Modified by Releasebot:Nov 20, 2026
Streamdown by Vercel
Streamdown improves Markdown rendering with verbatim code-fence options, more reliable Mermaid and custom-tag handling, better keyboard accessibility and RTL layouts, and faster streaming updates. It also strengthens processor caching and fixes code downloads and table copying.
Minor Changes
- 8b0ca9f: feat: add codeBlockRawLanguages option to render selected code fence languages (e.g. ASCII / box-drawing diagrams) verbatim as monospace text without syntax highlighting
Patch Changes
d1c8d66: Keep callback options isolated between Markdown processors so custom handlers and plugin callbacks render the correct content across Streamdown instances.
4e2c00a: Match code block languages case-insensitively when picking the download file extension, so Python downloads as file.py, and fall back to .txt for names like constructor instead of reading them from the object prototype.
a9fb2a2: Keep blank lines inside fenced code blocks in custom tags instead of rendering <!----> placeholders in the code.
b3394d2: Close fullscreen tables, fullscreen Mermaid diagrams and the link safety modal on Escape when focus is on a control inside them.
ae6fa3b: Support exactOptionalPropertyTypes: add | undefined to optional props in the public types so possibly-undefined values can be forwarded to <Streamdown> and remend without type errors
5f28ada: Update custom component renderers when the components prop changes without changing the Markdown content.
19f2dea: Move focus into the table and Mermaid fullscreen dialogs when they open, keep Tab inside them, and return focus to the fullscreen button when they close. The link safety modal now does the same, returning focus to the link, so it stays reachable by keyboard when opened from a fullscreen table.
096a06b: ### Pass the original thrown value to the Mermaid errorComponent as an optional cause prop, so custom error components can read structured parser details such as the Jison hash without re-parsing the chart.
Add an optional cause?: unknown property to MermaidErrorComponentProps.
Preserve the original thrown error in the Mermaid rendering failure result.
Forward the original error object to custom error components without losing parser-specific details.
Maintain backward compatibility with existing custom error components.
Enable access to structured Jison and Langium parser errors without performing an additional parse.
c4cccb5: Stop treating self-closing custom tags as containers: they no longer turn later blank lines into <!---->, which split loose lists, or pair with a later closing tag. Leave a custom tag that follows text on its line as inline HTML, so a line break inside it no longer moves its body out of the tag.
ff3ff7f: Avoid quadratic newline scanning when preprocessing many inline custom-tag pairs on a single line, preventing rendering stalls for untrusted Markdown with allowedTags enabled.
8aaf182: fix: use logical Tailwind classes (ps-, border-s-, text-start, start-, end-, ms-*) instead of physical left/right classes so layout mirrors in RTL text. cn now treats logical and physical utilities on the same axis as conflicting, so a consumer className="pl-8" still overrides the built-in padding. The code block keeps physical classes because it is pinned dir="ltr".
1c5a7f0: Forward controls.mermaid.copy callbacks (onCopy, onError) to the Mermaid fullscreen copy button.
c6f5905: perf: stop re-parsing a Mermaid diagram's SVG every time it re-renders with the same chart
469ba74: Remove the obsolete rehypeAnimate name override; processor caching now uses function identity.
66779a8: fix: restore user-content- clobberPrefix on sanitize so raw HTML ids cannot clobber window, and strip the doubled prefix on footnote ids that remark-rehype already prefixed.
e7471fe: Call the link safety modal's onClose callback once when Escape is pressed on its backdrop.
97c1f87: fix(mermaid): stop showing "Mermaid Error" for a partial chart while its fence streams
Keep the loader while a Mermaid fence is still streaming instead of showing the error for a partial chart
Show the error once the fence closes, including when the final chart text is unchanged from the last partial render
ec1489a: Distinguish remark and rehype plugins by function identity when caching processors, so same-name plugins with different closures do not reuse each other's behavior. Apps that create plugin functions during render now get a new processor on each render. This is slower for that pattern but does not grow memory; create plugins once (module scope or useMemo) to keep cache hits.
c4b240f: Keep RegExp, Map and Set plugin options apart in the Markdown processor cache, so configurations that differ only in one of those values, such as rehype-sanitize schemas with different attribute patterns, no longer share a processor.
426f9c3: Count only letters when detecting text direction, so Arabic digits, vowel marks and punctuation no longer push mostly English text to RTL. Text with no letters keeps its direction, so a table cell holding only Arabic digits stays RTL.
2dc4aa6: While streaming, repair only the end of the message instead of the whole message on every update. The footnote and link-definition checks now scan only the new text. Rendered output is unchanged.
ede7f0d: Preserve literal Markdown delimiters when copying or downloading tables as Markdown.
Updated dependencies [ae6fa3b]
Updated dependencies [04dd684]
Updated dependencies [fdc4255]
Updated dependencies [2dc4aa6]
Updated dependencies [2dc4aa6]
Updated dependencies [e54bc44]
Updated dependencies [b393921]
Updated dependencies [d96e8c0]
Updated dependencies [63bd417]
Original source - Nov 17, 2026
- Date parsed from source:Nov 17, 2026
- First seen by Releasebot:Nov 18, 2026
- Modified by Releasebot:Nov 18, 2026
Streamdown by Vercel
@streamdown/[email protected]
Streamdown adds Mermaid native theme and font defaults and improves plugin typing for exactOptionalPropertyTypes.
Patch Changes
db1a468: Add an option to use Mermaid's native theme and font defaults.7dcabc6: Support exactOptionalPropertyTypes: add| undefinedto optional props in the plugin option types so possibly-undefined values can be forwarded tocreateCodePlugin,createMathPluginandcreateMermaidPluginwithout type errors
All of your release notes in one feed
Join Releasebot and get updates from Vercel and hundreds of other software products.
- Nov 17, 2026
- Date parsed from source:Nov 17, 2026
- First seen by Releasebot:Nov 18, 2026
- Modified by Releasebot:Nov 18, 2026
Streamdown by Vercel
@streamdown/[email protected]
Streamdown improves TypeScript compatibility by allowing undefined values in plugin options when exact optional property types are enabled.
Patch Changes
Original source7dcabc6: SupportexactOptionalPropertyTypes: add| undefinedto optional props in the plugin option types so possibly-undefined values can be forwarded tocreateCodePlugin,createMathPluginandcreateMermaidPluginwithout type errors - Nov 17, 2026
- Date parsed from source:Nov 17, 2026
- First seen by Releasebot:Nov 18, 2026
- Modified by Releasebot:Nov 18, 2026
Streamdown by Vercel
@streamdown/[email protected]
Streamdown adds exactOptionalPropertyTypes support so optional plugin settings can accept undefined values without type errors.
Patch Changes
Original source7dcabc6: Support exactOptionalPropertyTypes: add| undefinedto optional props in the plugin option types so possibly-undefined values can be forwarded tocreateCodePlugin,createMathPluginandcreateMermaidPluginwithout type errors - Nov 17, 2026
- Date parsed from source:Nov 17, 2026
- First seen by Releasebot:Nov 18, 2026
- Modified by Releasebot:Nov 20, 2026
Streamdown by Vercel
@streamdown/[email protected]
Streamdown improves www. autolinks by recognizing CJK punctuation and keeping trailing text unlinked.
Patch Changes
072ce7e: Split www. autolinks at CJK punctuation too, so www.example.com。谢谢 links to http://www.example.com and leaves 。谢谢 as text.
Original source Similar to Streamdown with recent updates:
- Claude Code updates494 release notes · Latest Nov 20, 2026
- ChatGPT updates255 release notes · Latest Nov 19, 2026
- Claude updates194 release notes · Latest Nov 17, 2026
- OpenAI updates314 release notes · Latest Nov 20, 2026
- Anthropic updates79 release notes · Latest Oct 14, 2026
- Storage updates27 release notes · Latest Nov 9, 2026
- Nov 17, 2026
- Date parsed from source:Nov 17, 2026
- First seen by Releasebot:Nov 18, 2026
- Modified by Releasebot:Nov 20, 2026
Streamdown by Vercel
Streamdown improves Markdown rendering with CommonMark- and GFM-aligned emphasis handling, block-scoped link and image completion, and fixes for list markers, URLs, TypeScript types, and performance.
Minor Changes
2dc4aa6: Heal emphasis the way CommonMark and GFM parse it
Closes only openers that exist, innermost first, within the paragraph, list item or link text that holds them. An open code span closes before the emphasis around it.
Leaves literal markers alone: **Note:**This, *.ts, x**2, (+, -, , /), fill-in blanks like ______, and runs after an escaped marker like *. A trailing backslash is escaped so it can't escape the closers.
Stops closing an opener once its line has ended and the next line has started, since models close emphasis on the line that opens it. A stray * in code written outside a fence, like char *name, no longer italicizes what follows.
Closes an inline code span only within its own block, and never with a closer that would start a fence. A [ before a complete link stays literal instead of healing a second link.
The bold, italic, boldItalic and strikethrough options still apply, but the built-in handlers they controlled are now one emphasis handler at priority 30. Custom handlers ordered against the old priorities may need new ones.
Patch Changes
- ae6fa3b: Support exactOptionalPropertyTypes: add | undefined to optional props in the public types so possibly-undefined values can be forwarded to <Streamdown> and remend without type errors
- 04dd684: Skip completed-link searches for brackets already known to be literal, avoiding quadratic work on unmatched bracket prefixes before a completed link.
- fdc4255: Avoid quadratic emphasis processing for unmatched opening brackets followed by many completed links, including when link and image healing are disabled. Invalidate enclosing brackets in constant time while preserving link and image label scoping.
- 2dc4aa6: Complete unfinished links and images only in the current block: the paragraph, list item, heading or table row at the end of the text. An unclosed [ or ]( in an earlier block no longer adds ](streamdown:incomplete-link) to later text, or drops the text after it.
- e54bc44: docs: describe the loading placeholder for incomplete images in the README
- b393921: Stop adding a zero-width space to a dash that starts a new list item after a list item or block quote, which made it show as a stray "-" on the line above.
- d96e8c0: Stop escaping single tildes inside URLs and HTML tag attributes, so links like https://example.com/a~b keep a working address instead of getting a backslash in the middle.
- 63bd417: Avoid quadratic emphasis gating on messages with many skipped delimiter openers by precomputing content and delimiter lookups and skipping disabled or overlength runs before gating.
- Oct 19, 2026
- Date parsed from source:Oct 19, 2026
- First seen by Releasebot:Oct 21, 2026
Streamdown by Vercel
Streamdown improves streamed CJK text animation, fixes cross-block reference links and root accessibility attributes, adds Mermaid accessibility translations and public highlighting types, and avoids duplicate work for static documents.
Patch Changes
4c55fad: fix(animate): split CJK text per character in sep: "word" mode so every character of a CJK paragraph animates as it streams in, instead of only the first batch
32050fc: fix: export HighlightResult and HighlightToken types from the package entry
976cf12: fix(translations): add Mermaid chart accessibility translations
- Add Mermaid chart ARIA label translation
- Add Mermaid rendering error translation
70f6d07: docs(security): call out that remote images are allowed by default and document restricting image origins for AI chat apps
2206c22: fix: resolve reference links whose definition is in another block
Documents with link reference definitions ([label]: url) are now kept in a single block, the same way documents with footnotes are, so [text][label] resolves instead of rendering as raw text.
fea4ef5: fix: set data-* and aria-* props on the root element. They were only forwarded to the Markdown renderer and the blocks, so with the default renderer attributes such as data-testid or aria-busy reached no element.
f25e0ae: Avoid rendering and parsing mode="static" documents twice on mount
- Sep 30, 2026
- Date parsed from source:Sep 30, 2026
- First seen by Releasebot:Sep 30, 2026
Streamdown by Vercel
Streamdown improves streaming performance and polish with faster code block, table, and Mermaid rendering, better caret and scroll handling, bounded highlight caching, new fallback and portal props, improved copy hooks, and a slate of bug fixes for math, images, lists, and links.
This release is mostly about streaming speed, plus a few new props and a lot of fixes.
Performance
- Code blocks now highlight only the new lines as they stream, instead of the whole block on every update
- Blocks that are already parsed get reused while a document streams, and only block tokens are lexed
- Code and table auto-scroll runs once per frame instead of on every chunk
- Showing and hiding the caret no longer restyles the whole document, which used to cost tens of ms per toggle on long streams
- The code highlight cache now has a size limit (LRU), so memory stays bounded in long sessions
- Mermaid diagrams render one at a time while their fence streams, so a growing diagram no longer holds up the stream
New
- fallbackComponent: a fallback renderer for tags in allowedTags or HTML tags that have no entry in components
- disableAutolinkProtocols: turn off GFM autolinking for specific protocols (e.g. ["mailto"])
- portal: set the container used by Mermaid and table fullscreen and the link safety modal
- defaultComponents is now exported, so you can build overrides on top of the built-in renderers
- onCopy / onError now work on the default code and Mermaid copy buttons
- Incomplete images show a loading skeleton while they stream instead of disappearing
Fixes
- Mermaid diagrams auto-fit their container and text is readable again
- A < inside math (e.g. $$ \sum_{j<k} $$) no longer cuts off the rest of the message
- Code block buttons can be clicked inside nested scroll containers
- Tables copied or downloaded as Markdown keep literal HTML tags and entities
- Loose list items no longer get extra spacing from a wrapping <p>
- CJK: bare URLs after fullwidth punctuation are linkified again
remend 1.4.0
- New single-pass scanner that follows CommonMark for code fences and spans: handles ~~~, fences in quotes and lists, CRLF, and multi-backtick spans
- Fixes slow (quadratic) healing on input full of delimiters
- Identifiers like snake__case no longer create false emphasis
- Healing is now idempotent
Heads up
- @streamdown/[email protected] moves to Shiki v4 and now needs Node 20 or newer
- marked is now on v18
Below, you can find the detailed changes.
Minor Changes
6b14de4: Add a disableAutolinkProtocols prop to <Streamdown> for disabling GFM autolinking of specific URL protocols (e.g. mailto).
<Streamdown disableAutolinkProtocols={["mailto"]}> {"Contact us at [email protected]"} </Streamdown>Bare emails and bare URLs whose protocol matches the list (case-insensitive, "mailto" and "mailto:" are equivalent) are unwrapped back to plain text. Explicit markdown links (text) are left as links, including when the label reconstructs the URL (e.g. [email protected]). When the prop is omitted, autolinking behavior is completely unchanged.
Closes #607.
b1965bb: feat: add fallbackComponent prop for missing map entries / allowedTags
Adds a new fallbackComponent prop to <Streamdown>. When provided, it is used as a fallback renderer for any HTML tag or allowed custom tag that does not have an explicit entry in the components map:
<Streamdown allowedTags={{ mention: ["user_id"] }} fallbackComponent={({ node, children, ...props }) => createElement(node!.tagName, props, children) } > {markdown} </Streamdown>fallbackComponent applies to custom tags declared via allowedTags (with no explicit component entry) and to standard HTML tags absent from the built-in component set (e.g. <span>, <em>, <div>, <br>). Built-in and explicit components entries always win — this is not a full unstyled mode.
Refs #543
Patch Changes
b651249: Give animated word spans a style object instead of a CSS string, so rendering skips parsing a style declaration for every word on every update. createAnimatePlugin still writes CSS strings.
b651249: Check whether a stream only appended text by comparing a slice of the new input with the previous one instead of calling startsWith, which compared the whole document character by character on every update.
b651249: Hide the caret after a table or an unfinished code fence by marking the last element instead of changing the container's class and style. Each toggle used to restyle the whole document, which cost tens of milliseconds per flip on long streams.
c971f42: Wire onCopy and onError through default code and Mermaid copy controls via controls.code.copy and controls.mermaid.copy.
4ec5639: Bound the code highlight cache. Results of streaming code blocks are no longer cached (each is superseded by the next update), and finished code blocks are kept in a least-recently-used cache bounded by their size (tokens, lines and characters) and by a limit of 5,000 results. Lookups compare the full code, so blocks that differ only in the middle no longer share tokens. A code block also ignores highlight results for code it has already moved past.
16e7e65: Export defaultComponents so custom components overrides can compose Streamdown's built-in renderers (styles, data-streamdown, link safety, code/mermaid/table behavior) instead of reimplementing them.
163c63b: fix(code-block): use absolute positioning for action buttons to fix click events in nested scroll containers
Switches the code block action button wrapper from position: sticky to position: absolute (with position: relative on the container) so that hit-testing works correctly in layouts with multiple nested overflow: auto scroll containers. Previously, the sticky + pointer-events-none/auto pattern caused browsers to mis-route click events to the code block wrapper rather than the buttons when the component was embedded in 2+ nested scroll containers.
e0ce123: Incomplete images during streaming now render a loading placeholder instead of being removed entirely. Incomplete images (e.g. are replaced with by remend, and the streamdown ImageComponent renders an animated skeleton for this special URL. This mirrors the existing behavior for incomplete links (streamdown:incomplete-link). The streamdown protocol is allowlisted for img[src] in the default sanitize schema so the sentinel survives rehype-sanitize + rehype-harden.
e7a23ef: Render Mermaid diagrams one at a time while their code fence streams, pausing after each render for as long as it took, so a growing diagram no longer holds up the stream. Once the fence closes or the stream stops, the final diagram renders without a pause.
b651249: Pin streaming code blocks and tables to the bottom once per frame instead of on every update, avoiding a forced layout per streamed chunk.
5504e50: Preserve literal HTML tags and character entities when copying or downloading tables as Markdown.
5b26c28: Speed up block parsing by lexing only block tokens and reusing already parsed blocks while a document streams.
18dcb20: Add a top-level portal prop for configuring the container used by Mermaid fullscreen, table fullscreen, and the built-in link safety modal.
fdf4e33: Fix Mermaid diagrams so text is readable and diagrams auto-fit container.
Normalize SVG to remove responsive shrinking
Extract intrinsic size from viewBox
Add width-and-height auto-fit in PanZoom
Preserve user zoom/pan after initial fit
Add tests for SVG utilities and auto-fit behavior53812cf: fix: unwrap a single paragraph child inside list items
Loose list items from the markdown pipeline are often wrapped in a <p>. MemoLi now detects that sole paragraph child (including the memoized paragraph component) and renders its contents directly, so list items stay visually tight. Also updates the list animation retrigger test to match the unwrapped markup.
Fixes #475
a155a9e: Update marked from ^17.0.1 to ^18.0.11.
marked v18 no longer folds a block token's trailing blank line(s) into its own raw; that whitespace now surfaces as a separate space token immediately following the block (e.g. after html, heading, and table tokens). This changed the token stream shape that parseMarkdownIntoBlocks consumes, causing a dangling space token after a closed custom-tag HTML block to be emitted as its own standalone block. parseMarkdownIntoBlocks now folds a space token into the preceding block instead of pushing it as a new one, restoring v17-identical block boundaries and counts. The lossless token.raw concatenation invariant is preserved.
Updated dependencies [cf0ac1c]
Updated dependencies [e0ce123]
Updated dependencies [fdd1351]
- Sep 30, 2026
- Date parsed from source:Sep 30, 2026
- First seen by Releasebot:Sep 30, 2026
Streamdown by Vercel
@streamdown/[email protected]
Streamdown ships a patch update that upgrades dependencies.
- Sep 30, 2026
- Date parsed from source:Sep 30, 2026
- First seen by Releasebot:Sep 30, 2026
Streamdown by Vercel
@streamdown/[email protected]
Streamdown fixes and upgrades dependencies in this patch release.
- Sep 30, 2026
- Date parsed from source:Sep 30, 2026
- First seen by Releasebot:Sep 30, 2026
Streamdown by Vercel
@streamdown/[email protected]
Streamdown upgrades Shiki to v4, raises the Node.js 20 requirement for @streamdown/code, and improves streamed code highlighting with smarter tokenization and a bounded highlight cache.
Major Changes
db6fefc: Upgrade Shiki to v4. Node.js 20 or newer is now required when using @streamdown/code.
Patch Changes
0ea9e64: Tokenize only the new lines of a code block while it streams instead of re-tokenizing the whole block on every update.
4ec5639: Bound the code highlight cache. Results of streaming code blocks are no longer cached (each is superseded by the next update), and finished code blocks are kept in a least-recently-used cache bounded by their size (tokens, lines and characters) and by a limit of 5,000 results. Lookups compare the full code, so blocks that differ only in the middle no longer share tokens. A code block also ignores highlight results for code it has already moved past.
Original source - Sep 30, 2026
- Date parsed from source:Sep 30, 2026
- First seen by Releasebot:Sep 30, 2026
Streamdown by Vercel
@streamdown/[email protected]
Streamdown fixes bare URL re-linking after CJK punctuation in GFM autolink literals.
Patch Changes
8cb3bc7: Re-linkify bare URLs that follow CJK punctuation when splitting GFM autolink literals (e.g. URLs separated by fullwidth semicolons).
Original source - Sep 30, 2026
- Date parsed from source:Sep 30, 2026
- First seen by Releasebot:Sep 30, 2026
Streamdown by Vercel
Streamdown improves streaming Markdown healing with faster CommonMark-aware code and fence detection, better underscore handling, and idempotent fixes. It also keeps math safe from incomplete HTML tag stripping and now shows loading placeholders for incomplete images instead of dropping them.
Minor Changes
fdd1351: Rework code-region detection and double-underscore counting.
A shared single-pass scanner now classifies fences and inline code spans, replacing the per-character rescans that made healing quadratic on delimiter-heavy input. Fence and span detection follows CommonMark, so ~~~ fences, fences inside block quotes and list items, CRLF line endings, and multi-backtick spans are all recognized, and content inside code is never healed as prose.
Double underscores are counted per maximal run with flanking rules, so identifiers containing __ (like snake__case) no longer invent or swallow emphasis closers.
Healing is now idempotent. Healed output re-heals to itself, and text-only link mode resolves every unmatched bracket in one call.
Patch Changes
cf0ac1c: Stop the incomplete-HTML-tag handler from truncating math expressions.
handleIncompleteHtmlTag guarded against code blocks but not math, so an ordinary comparison inside math — $$ I = \sum_{j<k} p_j $$ — matched the incomplete-tag pattern and deleted everything from the < to the end of the string. The trailing $$ was then auto-closed by the katex handler, so KaTeX rendered a parse error and the rest of the message never reached the DOM.
The handler now skips candidates inside math blocks ($, $$, (, [), matching the guard the emphasis handlers already had. Because the pattern is leftmost-matching, it also walks forward to later candidates instead of bailing out, so a genuine incomplete tag after a math expression is still stripped.
e0ce123: Incomplete images during streaming now render a loading placeholder instead of being removed entirely. Incomplete images (e.g. are replaced with by remend, and the streamdown ImageComponent renders an animated skeleton for this special URL. This mirrors the existing behavior for incomplete links (streamdown:incomplete-link). The streamdown protocol is allowlisted for img[src] in the default sanitize schema so the sentinel survives rehype-sanitize + rehype-harden.
Original source - Aug 24, 2026
- Date parsed from source:Aug 24, 2026
- First seen by Releasebot:Aug 24, 2026
Streamdown by Vercel
Streamdown ships smoother streaming rendering, with animated text, inline code, and block behavior refined for better sync and stability. It also adds customizable download filenames, max-height controls, CSV separator options, and broad accessibility and fullscreen fixes for tables, Mermaid, code blocks, and links.
Minor Changes
49bd143: fix(animate): serialize streaming animation across blocks
Word stagger now runs on a shared wall-clock timeline so sibling sections no longer fade in on top of each other during streaming. Related cleanup: trailing spaces stay inside animated spans (no early link underlines), animate wrappers drop when streaming ends, already-seen text stays steady under StrictMode, and un-animated streaming is no longer deferred behind a starvable transition.
Inspired by #493, #531, and #536.
Fixes #482
Fixes #535
Fixes #550
Fixes #570
b734cbf: - Add custom download filenames for code, table, and mermaid via the controls prop
Configure downloads with download: { filename: "customName" } while keeping boolean true/false to show or hide
Preserve automatic file-extension mapping based on language or export format
Remove the codeDownload prop in favor of the unified controls API
5faa6fa: Add codeBlockMaxHeight and tableMaxHeight props with streaming auto-scroll
4436b56: - Add controls.table.csvSeparator ("," | ";" | "\t" | "auto") for table copy and download CSV
Reuse tableDataToCSV separator handling, including locale-aware "auto" mode
Improve CSV escaping to respect the selected separator for Excel compatibility
Patch Changes
6ec3c48: fix(animate): animate inline code during streaming
Skip the animate visitor on pre (and svg/math/annotation) only — not bare code. Fenced/highlighted blocks stay un-split via their pre ancestor; inline backtick spans now get the same per-word fade-in as surrounding prose.
Fixes #594
725e390: Forward rest props through block code. The code component spread its rest props on the inline branch and dropped them on the block branch, so an attribute a consumer put on a fenced code element never reached the DOM. CodeBlockBody now takes part in that comparison, so a forwarded attribute updates instead of keeping the value it first rendered with.
7e82400: Fix dir="auto" in static mode to detect text direction per semantic block (instead of once for the whole document), keep code LTR, and use content-majority direction for mixed-script prose.
fb5d7b9: Serialize Mermaid SVGs before download so HTML-style tags render as valid SVG markup.
fe38e75: Added accessibility improvements for code block controls by adding aria labels to copy/download buttons and announcing copy success state for screen readers.
b25dbdb: fix(custom-tags): render Markdown inside custom tags with multiline content
Adds a preprocessing step (preprocessCustomTags) that normalizes multiline custom tags into a blank-line-sandwiched HTML block so CommonMark interrupts the raw-HTML block and parses the nested content as Markdown, with parseMarkdownIntoBlocks re-merging the interrupted open/content/close tokens so streaming still treats the whole custom tag as one block. Previously, when a custom tag contained multiline content (e.g. <ai-thinking> bold</ai-thinking>), CommonMark treated the block as raw HTML, stripping Markdown formatting. Tags listed in literalTagContent are excluded from re-parsing.
Closes #478
26a8440: Fix doubled user-content- prefix on footnote ids
Footnote list items were rendered with id="user-content-user-content-fn-1" because both remark-rehype and rehype-sanitize default their clobberPrefix to user-content-, so the prefix was applied twice. Disabled clobberPrefix on rehype-sanitize so remark-rehype remains the single, consistent prefixer of both footnote ids and backref hrefs — restoring working footnote navigation.
f7d1fb5: fix(table): add data-streamdown="table-wrapper" to fullscreen portal so copy/download dropdowns can find the table
f0a726b: Add aria-hidden="true" to decorative SVG icon components so screen readers rely on parent button labels instead of unlabeled icons.
2ed2faa: Allow remend's streamdown: incomplete-link sentinel through the default sanitize schema so streamed incomplete links render as pending instead of harden [blocked].
8fffa9d: Render the link safety modal through a portal to document.body so it is no longer nested inside the paragraph's <p> element. This fixes the React hydration error "In HTML, <div> cannot be a descendant of <p>" that occurred when a link with link safety enabled appeared inside a paragraph.
2733922: fix(mermaid): add aria-hidden to decorative SVG icons in mermaid toolbar buttons
Mermaid toolbar buttons (download, fullscreen, pan/zoom controls) already have accessible titles/labels, but the inline SVG icons were exposed to the accessibility tree causing "Content with images must be labeled" warnings. Added aria-hidden={true} to all decorative icon elements in download-button, fullscreen-button, and pan-zoom components.
Fixes #485
8d36719: fix(deps): remove mermaid as a hard runtime dependency
This patch replaces the type import with a local structural type for MermaidConfig so no type-level coupling to the mermaid package remains in the distributed typings. Users who want fully-typed mermaid config can still import type { MermaidConfig } from 'mermaid' themselves; the structural type is compatible.
Fixes #501
ea02609: Fix: shikiTheme prop priority chain is now fully reachable.
Previously, shikiTheme had a default value in the props destructuring (= defaultShikiTheme), making the plugins?.code?.getThemes() fallback unreachable in both orderings. The fix removes the destructuring default and moves it to the end of the nullish coalescing chain, so all three levels are reachable:
Explicit shikiTheme prop (highest priority)
Code plugin's getThemes() (second priority)
Built-in defaultShikiTheme (final fallback)
9813dd6: Fix type declarations requiring a shiki install.
BundledLanguage, BundledTheme, and ThemeRegistrationAny are now defined locally and re-exported from streamdown, so consumers can type-check without installing shiki. Runtime highlighting remains in @streamdown/code, which still depends on shiki.
d893759: Fix mermaid fullscreen overlay accessibility and add stable selector
Add data-streamdown="mermaid-fullscreen" to fullscreen overlay for stable CSS targeting
Update fullscreen overlay semantics to match table fullscreen behavior
Change role from button to dialog
Add aria-modal="true" for correct screen reader modal behavior
Improve accessibility consistency between mermaid and table fullscreen overlays
79c8575: fix issue with list markers, task-list checkboxes, images, and hr animations
a1a7142: feat: add image control options (controls.image) to disable hover overlay and download button on images
Add image to the controls prop, matching existing code, table, and mermaid patterns:
controls={{ image: false }} hides the hover overlay and download button
controls={{ image: { download: false } }} keeps the hover overlay but hides the download button
b250038: Fix accessibility warnings for Mermaid toolbar icon buttons:
Add aria-hidden="true" to all decorative SVG icons to hide them from screen readers
Add aria-label attributes to all icon-only buttons for proper screen reader announcements
Add translation keys (zoomIn, zoomOut, resetView) for zoom controls
89c6877: Re-render memoized markdown components when their rendered output changes. The comparators compared source position, so a replacement of the same length — occupying the same lines and columns — was treated as unchanged and the component kept rendering the previous text.
e7bdf57: fix(mermaid): render the download and copy controls inside the Mermaid fullscreen portal so they're reachable when the diagram is expanded
8f02c09: Fix table copy and download actions not working in fullscreen mode.
Support table lookup inside the fullscreen portal container.
Restore copy and download functionality for fullscreen tables.
Keep existing inline table controls behavior unchanged.
f46cd3c: - Fixed table copy losing line breaks inside cells containing <br> elements.
Preserved multiline content during table data extraction.
Improved copied Markdown, CSV, and TSV output consistency for multiline cells.
Added coverage for <br> handling in table extraction.
dc3f1d2: - Fix code block line wrapping when line numbers are disabled.
Ensure code block lines are rendered as block elements regardless of the lineNumbers setting.
Prevent multiple code lines from collapsing into a single visual line when lineNumbers={false}.
Updated dependencies [a99d675]
Updated dependencies [9f96409]
Updated dependencies [8093f2a]
Updated dependencies [57c3089]
Original source - Aug 24, 2026
- Date parsed from source:Aug 24, 2026
- First seen by Releasebot:Aug 24, 2026
Streamdown by Vercel
Streamdown fixes iOS Safari crashes, preserves italic emphasis and protected LaTeX math, and speeds up code-block scanning with a new linear-time lookup for much faster handling of large blocks.
Patch Changes
a99d675: Fix crash on iOS 16.0-16.2 / Safari < 16.3 by removing the lookbehind assertion from the single-tilde escape pattern (#519).
JSCore on those versions doesn't support lookbehind ((?<=...)) and throws a SyntaxError while the module is being evaluated, before any user code runs, so there is no way to catch it. The preceding word character is now captured and written back in the replacement instead.
9f96409: Preserve complete italic emphasis when a closing asterisk is followed by word text.
8093f2a: Treat LaTeX paren and bracket math as protected math contexts during emphasis completion.
57c3089: Fix quadratic code-block scanning. isInsideCodeBlock now builds a linear-time position lookup (cached per text) instead of rescanning the whole prefix on every call, so handlers that probe many positions no longer degrade quadratically. Repairing an unclosed, bracket-heavy 58k-character code block drops from ~915ms to ~0.4ms per call.
Original source
Curated by the Releasebot team
Releasebot is an aggregator of official product update announcements from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.