Skip to content

Commit c510b4d

Browse files
changeset etc
1 parent 6fd66d6 commit c510b4d

File tree

5 files changed

+30
-26
lines changed

5 files changed

+30
-26
lines changed

.changeset/streamdown-v02.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
"streamdown-rn": minor
3+
---
4+
5+
### Breaking Changes
6+
7+
- **Component syntax changed**: `[{c:"Name",p:{...}}]` replaces the old `{{component:"Name",props:{...}}}` syntax
8+
- **Layout components removed**: Canvas, Grid, Stack, Card are no longer exported (planned for future galerie-rn package)
9+
- **Simplified public API**: Only exports StreamdownRN, Skeleton primitives, and types
10+
11+
### New Features
12+
13+
- **Progressive prop streaming**: Components render field-by-field as data streams, with skeleton placeholders for missing props
14+
- **Format-as-you-type UX**: Bold, italic, code formatting appears immediately while typing
15+
- **Block-level memoization**: Stable blocks are parsed once and never re-render
16+
- **Full GFM support**: Tables, strikethrough, task lists, autolinks via remark-gfm
17+
18+
### Improvements
19+
20+
- **Compact component syntax**: `[{c:...,p:...}]` reduces token count by ~50%
21+
- **Robust JSON parsing**: Auto-repairs incomplete JSON during streaming
22+
- **Better streaming edge cases**: Handles incomplete markdown gracefully
23+

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,15 @@ jobs:
3535
- name: Install Dependencies
3636
run: bun install
3737

38+
- name: Build packages
39+
run: bun run build
40+
3841
- name: Create Release Pull Request or Publish to npm
3942
id: changesets
4043
uses: changesets/action@v1
4144
with:
42-
publish: npm run release
43-
version: npm run version
45+
publish: bun run release
46+
version: bun run version
4447
commit: 'chore: version packages'
4548
title: 'chore: version packages'
4649
env:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"packages/*"
77
],
88
"scripts": {
9+
"test": "bun run --filter 'streamdown-rn' test",
910
"build": "bun run --filter '*' build",
1011
"type-check": "bun run --filter '*' type-check",
1112
"changeset": "changeset",

packages/streamdown-rn/CHANGELOG.md

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

3-
## 0.2.0
4-
5-
### Breaking Changes
6-
7-
- **Component syntax changed**: `[{c:"Name",p:{...}}]` replaces the old `{{component:"Name",props:{...}}}` syntax
8-
- **Layout components removed**: Canvas, Grid, Stack, Card are no longer exported (planned for future galerie-rn package)
9-
- **Simplified public API**: Only exports StreamdownRN, Skeleton primitives, and types
10-
11-
### New Features
12-
13-
- **Progressive prop streaming**: Components render field-by-field as data streams, with skeleton placeholders for missing props
14-
- **Format-as-you-type UX**: Bold, italic, code formatting appears immediately while typing
15-
- **Block-level memoization**: Stable blocks are parsed once and never re-render
16-
- **Full GFM support**: Tables, strikethrough, task lists, autolinks via remark-gfm
17-
18-
### Improvements
19-
20-
- **Compact component syntax**: `[{c:...,p:...}]` reduces token count by ~50%
21-
- **Robust JSON parsing**: Auto-repairs incomplete JSON during streaming
22-
- **Better streaming edge cases**: Handles incomplete markdown gracefully
23-
24-
---
25-
263
## 0.1.6
274

285
### Patch Changes

packages/streamdown-rn/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "streamdown-rn",
3-
"version": "0.2.0",
3+
"version": "0.1.6",
44
"description": "High-performance streaming markdown renderer for React Native with dynamic component injection",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)