Skip to content

Comments

build(deps): bump streamdown from 2.1.0 to 2.3.0#158

Merged
0x5457 merged 1 commit intomainfrom
dependabot/npm_and_yarn/streamdown-2.3.0
Feb 23, 2026
Merged

build(deps): bump streamdown from 2.1.0 to 2.3.0#158
0x5457 merged 1 commit intomainfrom
dependabot/npm_and_yarn/streamdown-2.3.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2026

Bumps streamdown from 2.1.0 to 2.3.0.

Release notes

Sourced from streamdown's 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

... (truncated)

Changelog

Sourced from streamdown's changelog.

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

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [streamdown](https://github.com/vercel/streamdown/tree/HEAD/packages/streamdown) from 2.1.0 to 2.3.0.
- [Release notes](https://github.com/vercel/streamdown/releases)
- [Changelog](https://github.com/vercel/streamdown/blob/main/packages/streamdown/CHANGELOG.md)
- [Commits](https://github.com/vercel/streamdown/commits/streamdown@2.3.0/packages/streamdown)

---
updated-dependencies:
- dependency-name: streamdown
  dependency-version: 2.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 23, 2026
@0x5457 0x5457 merged commit 33a93c0 into main Feb 23, 2026
1 check passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/streamdown-2.3.0 branch February 23, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant