From 710544f2b0e71f87ef69007123743cd5d8c2273d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 11:21:05 +0000 Subject: [PATCH] Version Packages --- .changeset/custom-tag-code-blank-lines.md | 5 ----- .changeset/exact-optional-property-types.md | 6 ----- .changeset/logical-rtl-classes.md | 5 ----- .changeset/mermaid-stable-svg-html.md | 5 ----- .../plugin-exact-optional-property-types.md | 7 ------ .changeset/prefix-raw-html-ids.md | 5 ----- .changeset/quiet-partial-mermaid.md | 8 ------- .changeset/quiet-plugins-render.md | 5 ----- .changeset/raw-code-block-languages.md | 5 ----- packages/remend/CHANGELOG.md | 6 +++++ packages/remend/package.json | 2 +- packages/streamdown-code/CHANGELOG.md | 6 +++++ packages/streamdown-code/package.json | 2 +- packages/streamdown-math/CHANGELOG.md | 6 +++++ packages/streamdown-math/package.json | 2 +- packages/streamdown-mermaid/CHANGELOG.md | 6 +++++ packages/streamdown-mermaid/package.json | 2 +- packages/streamdown/CHANGELOG.md | 22 +++++++++++++++++++ packages/streamdown/package.json | 2 +- 19 files changed, 51 insertions(+), 56 deletions(-) delete mode 100644 .changeset/custom-tag-code-blank-lines.md delete mode 100644 .changeset/exact-optional-property-types.md delete mode 100644 .changeset/logical-rtl-classes.md delete mode 100644 .changeset/mermaid-stable-svg-html.md delete mode 100644 .changeset/plugin-exact-optional-property-types.md delete mode 100644 .changeset/prefix-raw-html-ids.md delete mode 100644 .changeset/quiet-partial-mermaid.md delete mode 100644 .changeset/quiet-plugins-render.md delete mode 100644 .changeset/raw-code-block-languages.md diff --git a/.changeset/custom-tag-code-blank-lines.md b/.changeset/custom-tag-code-blank-lines.md deleted file mode 100644 index b95a8a981..000000000 --- a/.changeset/custom-tag-code-blank-lines.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"streamdown": patch ---- - -Keep blank lines inside fenced code blocks in custom tags instead of rendering `` placeholders in the code. diff --git a/.changeset/exact-optional-property-types.md b/.changeset/exact-optional-property-types.md deleted file mode 100644 index 16a3b71d3..000000000 --- a/.changeset/exact-optional-property-types.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"streamdown": patch -"remend": patch ---- - -Support `exactOptionalPropertyTypes`: add `| undefined` to optional props in the public types so possibly-`undefined` values can be forwarded to `` and `remend` without type errors diff --git a/.changeset/logical-rtl-classes.md b/.changeset/logical-rtl-classes.md deleted file mode 100644 index 53a6a8e89..000000000 --- a/.changeset/logical-rtl-classes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"streamdown": patch ---- - -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"`. diff --git a/.changeset/mermaid-stable-svg-html.md b/.changeset/mermaid-stable-svg-html.md deleted file mode 100644 index bd1a62b02..000000000 --- a/.changeset/mermaid-stable-svg-html.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"streamdown": patch ---- - -perf: stop re-parsing a Mermaid diagram's SVG every time it re-renders with the same chart diff --git a/.changeset/plugin-exact-optional-property-types.md b/.changeset/plugin-exact-optional-property-types.md deleted file mode 100644 index b954c0be2..000000000 --- a/.changeset/plugin-exact-optional-property-types.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@streamdown/code": patch -"@streamdown/math": patch -"@streamdown/mermaid": patch ---- - -Support `exactOptionalPropertyTypes`: add `| undefined` to optional props in the plugin option types so possibly-`undefined` values can be forwarded to `createCodePlugin`, `createMathPlugin` and `createMermaidPlugin` without type errors diff --git a/.changeset/prefix-raw-html-ids.md b/.changeset/prefix-raw-html-ids.md deleted file mode 100644 index 280f051d4..000000000 --- a/.changeset/prefix-raw-html-ids.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"streamdown": patch ---- - -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. diff --git a/.changeset/quiet-partial-mermaid.md b/.changeset/quiet-partial-mermaid.md deleted file mode 100644 index 16003cc66..000000000 --- a/.changeset/quiet-partial-mermaid.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"streamdown": patch ---- - -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 diff --git a/.changeset/quiet-plugins-render.md b/.changeset/quiet-plugins-render.md deleted file mode 100644 index 5ada25f2f..000000000 --- a/.changeset/quiet-plugins-render.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"streamdown": patch ---- - -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. diff --git a/.changeset/raw-code-block-languages.md b/.changeset/raw-code-block-languages.md deleted file mode 100644 index f6a708959..000000000 --- a/.changeset/raw-code-block-languages.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"streamdown": minor ---- - -feat: add `codeBlockRawLanguages` option to render selected code fence languages (e.g. ASCII / box-drawing diagrams) verbatim as monospace text without syntax highlighting diff --git a/packages/remend/CHANGELOG.md b/packages/remend/CHANGELOG.md index b7943be39..82521f737 100644 --- a/packages/remend/CHANGELOG.md +++ b/packages/remend/CHANGELOG.md @@ -1,5 +1,11 @@ # remend +## 1.4.1 + +### Patch Changes + +- ae6fa3b: Support `exactOptionalPropertyTypes`: add `| undefined` to optional props in the public types so possibly-`undefined` values can be forwarded to `` and `remend` without type errors + ## 1.4.0 ### Minor Changes diff --git a/packages/remend/package.json b/packages/remend/package.json index 5980db263..1fc8453ca 100644 --- a/packages/remend/package.json +++ b/packages/remend/package.json @@ -1,6 +1,6 @@ { "name": "remend", - "version": "1.4.0", + "version": "1.4.1", "description": "Self-healing markdown. Intelligently parses and styles incomplete Markdown blocks.", "homepage": "https://streamdown.ai/docs/termination", "repository": { diff --git a/packages/streamdown-code/CHANGELOG.md b/packages/streamdown-code/CHANGELOG.md index 05dd13725..896e8fa10 100644 --- a/packages/streamdown-code/CHANGELOG.md +++ b/packages/streamdown-code/CHANGELOG.md @@ -1,5 +1,11 @@ # @streamdown/code +## 2.0.1 + +### Patch Changes + +- 7dcabc6: Support `exactOptionalPropertyTypes`: add `| undefined` to optional props in the plugin option types so possibly-`undefined` values can be forwarded to `createCodePlugin`, `createMathPlugin` and `createMermaidPlugin` without type errors + ## 2.0.0 ### Major Changes diff --git a/packages/streamdown-code/package.json b/packages/streamdown-code/package.json index e63c76fd2..8125bfdee 100644 --- a/packages/streamdown-code/package.json +++ b/packages/streamdown-code/package.json @@ -1,6 +1,6 @@ { "name": "@streamdown/code", - "version": "2.0.0", + "version": "2.0.1", "description": "Shiki syntax highlighting plugin for Streamdown", "repository": { "type": "git", diff --git a/packages/streamdown-math/CHANGELOG.md b/packages/streamdown-math/CHANGELOG.md index 9b8dbc964..b5feb5dcc 100644 --- a/packages/streamdown-math/CHANGELOG.md +++ b/packages/streamdown-math/CHANGELOG.md @@ -1,5 +1,11 @@ # @streamdown/math +## 1.0.4 + +### Patch Changes + +- 7dcabc6: Support `exactOptionalPropertyTypes`: add `| undefined` to optional props in the plugin option types so possibly-`undefined` values can be forwarded to `createCodePlugin`, `createMathPlugin` and `createMermaidPlugin` without type errors + ## 1.0.3 ### Patch Changes diff --git a/packages/streamdown-math/package.json b/packages/streamdown-math/package.json index 98e9de4a5..ecb884745 100644 --- a/packages/streamdown-math/package.json +++ b/packages/streamdown-math/package.json @@ -1,6 +1,6 @@ { "name": "@streamdown/math", - "version": "1.0.3", + "version": "1.0.4", "description": "KaTeX math rendering plugin for Streamdown", "repository": { "type": "git", diff --git a/packages/streamdown-mermaid/CHANGELOG.md b/packages/streamdown-mermaid/CHANGELOG.md index aa2678db8..4c4ddfc6a 100644 --- a/packages/streamdown-mermaid/CHANGELOG.md +++ b/packages/streamdown-mermaid/CHANGELOG.md @@ -1,5 +1,11 @@ # @streamdown/mermaid +## 1.0.4 + +### Patch Changes + +- 7dcabc6: Support `exactOptionalPropertyTypes`: add `| undefined` to optional props in the plugin option types so possibly-`undefined` values can be forwarded to `createCodePlugin`, `createMathPlugin` and `createMermaidPlugin` without type errors + ## 1.0.3 ### Patch Changes diff --git a/packages/streamdown-mermaid/package.json b/packages/streamdown-mermaid/package.json index f94e1bb54..cc282ebbc 100644 --- a/packages/streamdown-mermaid/package.json +++ b/packages/streamdown-mermaid/package.json @@ -1,6 +1,6 @@ { "name": "@streamdown/mermaid", - "version": "1.0.3", + "version": "1.0.4", "description": "Mermaid diagram plugin for Streamdown", "repository": { "type": "git", diff --git a/packages/streamdown/CHANGELOG.md b/packages/streamdown/CHANGELOG.md index 7a871dcf9..7ae5fa830 100644 --- a/packages/streamdown/CHANGELOG.md +++ b/packages/streamdown/CHANGELOG.md @@ -1,5 +1,27 @@ # streamdown +## 2.8.0 + +### 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 + +- a9fb2a2: Keep blank lines inside fenced code blocks in custom tags instead of rendering `` placeholders in the code. +- ae6fa3b: Support `exactOptionalPropertyTypes`: add `| undefined` to optional props in the public types so possibly-`undefined` values can be forwarded to `` and `remend` without type errors +- 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"`. +- c6f5905: perf: stop re-parsing a Mermaid diagram's SVG every time it re-renders with the same chart +- 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. +- 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. +- Updated dependencies [ae6fa3b] + - remend@1.4.1 + ## 2.7.1 ### Patch Changes diff --git a/packages/streamdown/package.json b/packages/streamdown/package.json index 1dd470dd0..c6254ec8e 100644 --- a/packages/streamdown/package.json +++ b/packages/streamdown/package.json @@ -1,6 +1,6 @@ { "name": "streamdown", - "version": "2.7.1", + "version": "2.8.0", "description": "A drop-in replacement for react-markdown, designed for AI-powered streaming.", "homepage": "https://streamdown.ai", "repository": {