Skip to content

Conversation

@streamdown-github-app
Copy link
Contributor

@streamdown-github-app streamdown-github-app bot commented Jan 20, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

streamdown@2.1.1

Patch Changes

  • d5fe6d6: fix: properly handle HTML void elements in parse-blocks

  • 6bb03ca: fix: escape HTML when rehype-raw is omitted (When rehype raw is removed as a plugin html is stripped instead of being escaped and displayed as text #330)

  • a12de57: Custom tags in components

  • aabb9ab: Fix $$ inside code blocks being treated as math delimiters

    Code blocks can contain $$ as shell syntax (e.g., pstree -p $$ for current process ID). The math block merging logic was incorrectly counting $$ inside code blocks, causing subsequent content to be merged as if it were part of a math block.

    Added tracking of previous token type to skip math merging when the previous block was a code block.

  • 9f72224: Fix footnote detection incorrectly matching regex character classes

    The footnote reference and definition patterns were too permissive, using [^\]\s] which matches any character except ] and whitespace. This caused regex negated character classes like [^\s...] in code blocks to be incorrectly detected as footnotes, resulting in the entire document being returned as a single block.

    Updated the patterns to only match valid footnote identifiers (alphanumeric characters, underscores, and hyphens) using [\w-] instead.

  • fd5533c: fix: Tables cause vertical scroll trap

  • e633ff7: Strip trailing newlines in code blocks

@streamdown/code@1.0.2

Patch Changes

  • c995fb7: Add bundled-language aliases for common JavaScript, TypeScript, and shell code fence labels.

@vercel
Copy link
Contributor

vercel bot commented Jan 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
streamdown Ready Ready Preview, Comment, Open in v0 Jan 23, 2026 5:43pm

Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Suggestion:

Streamdown memo comparison function doesn't check for changes to the allowedTags prop, causing the component to skip re-renders when allowedTags changes

Fix on Vercel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants