Skip to content

Version Packages - #600

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

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/code@2.0.0

Major Changes

  • db6fefc: Upgrade Shiki to v4. Node.js 20 or newer is now required when using @streamdown/code.

streamdown@2.7.0

Minor Changes

  • 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 Make tailwind optional #543

Patch Changes

  • c971f42: Wire onCopy and onError through default code and Mermaid copy controls via controls.code.copy and controls.mermaid.copy.

  • 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. ![alt](https://exampl) are replaced with ![alt](streamdown:incomplete-image) 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.

  • 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 behavior
  • 53812cf: 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 Blank lines between list items cause unwanted <p> wrapping inside <li> #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 [e0ce123]

    • remend@1.3.2

remend@1.3.2

Patch Changes

  • e0ce123: Incomplete images during streaming now render a loading placeholder instead of being removed entirely. Incomplete images (e.g. ![alt](https://exampl) are replaced with ![alt](streamdown:incomplete-image) 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.

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
streamdown Ready Ready Preview, v0 Sep 14, 2026 3:28pm UTC

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from e180235 to 7a98057 Compare August 26, 2026 12:36
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 7a98057 to a40c922 Compare August 26, 2026 14:08
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from a40c922 to 98551c2 Compare August 31, 2026 14:14
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 98551c2 to 44f2446 Compare August 31, 2026 15:52
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 44f2446 to 2687cd1 Compare September 1, 2026 11:07
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 2687cd1 to b181855 Compare September 10, 2026 11:07
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from b181855 to dd8f58d Compare September 10, 2026 11:23
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from dd8f58d to 87fa846 Compare September 10, 2026 11:29
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 87fa846 to 1bb6fde Compare September 14, 2026 13:06
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 1bb6fde to 6dc409c Compare September 14, 2026 14:10
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 6dc409c to 41b1d81 Compare September 14, 2026 15:21
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.

Blank lines between list items cause unwanted <p> wrapping inside <li>

0 participants