Skip to content

Version Packages#397

Merged
haydenbleasel merged 1 commit intomainfrom
changeset-release/main
Feb 19, 2026
Merged

Version Packages#397
haydenbleasel merged 1 commit intomainfrom
changeset-release/main

Conversation

@streamdown-github-app
Copy link
Contributor

@streamdown-github-app streamdown-github-app bot commented Feb 17, 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.3.0

Minor Changes

  • 3657e42: Add useIsCodeFenceIncomplete hook for detecting incomplete code fences during streaming

    Custom components can now detect when the code fence in their block is still being streamed. This is useful for deferring expensive renders (syntax highlighting, Mermaid diagrams) until the code block is complete.

    import { useIsCodeFenceIncomplete } from "streamdown";
    
    const MyCodeBlock = ({ children }) => {
      const isIncomplete = useIsCodeFenceIncomplete();
    
      if (isIncomplete) {
        return <div>Loading code...</div>;
      }
    
      return (
        <pre>
          <code>{children}</code>
        </pre>
      );
    };

    The hook returns true when:

    • Streaming is active (isAnimating={true})
    • The component is in the last block being streamed
    • That block has an unclosed code fence

    The default code block component now uses this hook to set a data-incomplete attribute when incomplete, enabling CSS-based loading states.

  • 32fb079: fix: hide download button on broken images and display a custom "Image not available" message instead

  • d73d7bb: Make the action buttons in code block header sticky.
    Ensures copy buttons remain accessible for long code blocks.
    Improves usability when viewing large snippets.

  • 15645da: Move code block lazy loading to the highlighting layer so block shells render immediately with plain text content before syntax colors resolve. This improves visual stability and removes the spinner fallback for standard code blocks.

Patch Changes

  • 0987479: fix: codeblock highlight flicker while streaming
  • 5d438ca: Add support for copying table data as Markdown in TableCopyDropdown.
    Introduces a Markdown copy option alongside existing formats.
    Allows users to quickly copy tables in valid Markdown format.
  • ce9b4c2: Fix syntax highlighting
  • ba03332: Redesign Mermaid diagram
  • 6e91867: fix nested same-tag HTML block parsing in parseMarkdownIntoBlocks
  • 7f9127b: Add normalizeHtmlIndentation prop to prevent indented HTML tags from being treated as code blocks
  • fdef60d: Bump rehype-harden to fix "can't access property "type", node is undefined"
  • 1abbf1e: Redesign table
  • fb9f97c: handle custom tags with blank lines in content
  • Updated dependencies [6374fbf]
    • remend@1.2.1

remend@1.2.1

Patch Changes

  • 6374fbf: Fix stray asterisks stemming from mermaid diagrams

@streamdown/code@1.0.3

Patch Changes

@vercel
Copy link
Contributor

vercel bot commented Feb 17, 2026

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
streamdown Ignored Ignored Preview, Open in v0 Feb 19, 2026 4:35pm

@streamdown-github-app streamdown-github-app bot force-pushed the changeset-release/main branch 6 times, most recently from c282e1e to 803e5d3 Compare February 19, 2026 03:06
@streamdown-github-app streamdown-github-app bot force-pushed the changeset-release/main branch 8 times, most recently from a52485e to 81d071d Compare February 19, 2026 05:12
@haydenbleasel haydenbleasel merged commit b46781c into main Feb 19, 2026
9 checks passed
@haydenbleasel haydenbleasel deleted the changeset-release/main branch February 19, 2026 16:39
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.

1 participant

Comments