Skip to content

Commit 5653400

Browse files
committed
Bump canary
1 parent 3880bab commit 5653400

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

.changeset/lazy-cycles-reply.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"streamdown": patch
3+
---
4+
5+
Fix loading langs dynamically

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"frank-meals-guess",
2020
"good-moons-happen",
2121
"hungry-jars-search",
22+
"lazy-cycles-reply",
2223
"modern-icons-marry",
2324
"perf-mermaid-deferred-render",
2425
"red-cycles-lick",

packages/streamdown/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# streamdown
22

3+
## 2.0.0-canary.2
4+
5+
### Patch Changes
6+
7+
- Fix loading langs dynamically
8+
39
## 2.0.0-canary.1
410

511
### Patch Changes
@@ -24,6 +30,7 @@
2430
- 68109f2: Fix setext heading issues
2531
- ee12ec8: Add support for CDN offline mode
2632
- 6a7dc7c: Optimize Mermaid rendering performance with viewport-based lazy loading
33+
2734
- Add useDeferredRender hook for lazy loading components when entering viewport
2835
- Use Intersection Observer + debounce + requestIdleCallback for optimal performance
2936
- Only render Mermaid charts when they are visible or about to enter viewport
@@ -85,6 +92,7 @@
8592
- cfc8c37: Fix p tags inside list items
8693
- e4e5bb5: Fix unit tests
8794
- 00ca9a9: Add PanZoom controls configurability for Mermaid diagrams.
95+
8896
- Support `controls.mermaid.panZoom` (boolean) to toggle zoom controls globally
8997
- Support `mermaid.config.panZoom` (boolean or `{ showControls?: boolean }`) per-instance
9098
- Keep defaults enabled; `false` explicitly hides the zoom controls
@@ -217,6 +225,7 @@
217225
- 266fa2b: Fix word-internal underscores being incorrectly treated as incomplete markdown
218226

219227
Previously, underscores used as word separators (e.g., `hello_world`, `snake_case`) were incorrectly identified as incomplete italic markdown, causing an extra underscore to be appended. This fix:
228+
220229
- Detects when underscores are between word characters and treats them as literals
221230
- Preserves the streaming markdown completion for genuine incomplete italics (e.g., `_italic text`)
222231
- Correctly handles trailing newlines when completing italic formatting

packages/streamdown/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "streamdown",
3-
"version": "2.0.0-canary.1",
3+
"version": "2.0.0-canary.2",
44
"type": "module",
55
"main": "./dist/index.js",
66
"module": "./dist/index.js",

0 commit comments

Comments
 (0)