Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 3, 2025

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-rn@0.2.0

Minor Changes

  • 17a251a: ### Breaking Changes

    • Component syntax changed: [{c:"Name",p:{...}}] replaces the old {{component:"Name",props:{...}}} syntax
    • Layout components removed: Canvas, Grid, Stack, Card are no longer exported (planned for future galerie-rn package)
    • Simplified public API: Only exports StreamdownRN, Skeleton primitives, and types

    New Features

    • Progressive prop streaming: Components render field-by-field as data streams, with skeleton placeholders for missing props
    • Format-as-you-type UX: Bold, italic, code formatting appears immediately while typing
    • Block-level memoization: Stable blocks are parsed once and never re-render
    • Full GFM support: Tables, strikethrough, task lists, autolinks via remark-gfm

    Security

    • URL sanitization: All URLs in links, images, and component props are validated against an allowlist (http:, https:, mailto:, tel:, sms:, relative URLs)
    • XSS protection: Blocks javascript:, data:, vbscript:, file: and other dangerous protocols
    • Recursive prop sanitization: Component props are sanitized at all nesting levels
    • HTML rendered as text: Raw HTML in markdown is displayed as escaped text, never executed
    • Exported utilities: sanitizeURL() and sanitizeProps() available for custom use

    Improvements

    • Compact component syntax: [{c:...,p:...}] reduces token count by ~50%
    • Robust JSON parsing: Auto-repairs incomplete JSON during streaming
    • Better streaming edge cases: Handles incomplete markdown gracefully
    • Character-level parsing: Consistent block boundary detection regardless of chunk size

@darkresearch/debugger@0.2.0

Patch Changes

  • Updated dependencies [17a251a]
    • streamdown-rn@0.2.0
    • @darkresearch/debug-components@0.2.0

@darkresearch/debugger-ios@0.2.0

Patch Changes

  • Updated dependencies [17a251a]
    • streamdown-rn@0.2.0
    • @darkresearch/debug-components@0.2.0

@darkresearch/debug-components@0.2.0

Patch Changes

  • Updated dependencies [17a251a]
    • streamdown-rn@0.2.0

@darkresearch/starter@0.2.0

galerie-rn@0.2.0

@github-actions github-actions bot force-pushed the changeset-release/main branch from def2c61 to 90bc320 Compare December 3, 2025 20:21
@github-actions github-actions bot force-pushed the changeset-release/main branch from 90bc320 to 03b2c64 Compare December 3, 2025 20:23
@edgarpavlovsky edgarpavlovsky merged commit 2a0fb37 into main Dec 3, 2025
1 check passed
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.

2 participants