You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[0.8.0] - 2026-06-11
Added
MarkdownStream now accepts renderMarkdown so consumers can keep Nitro-backed stream batching and incremental AST updates while rendering with their own Markdown component.
Exported useMarkdownStreamState, MarkdownStreamRenderProps, MarkdownStreamState, MarkdownStreamSourceAstStatus, and MarkdownStreamSourceAstDisabledReason for headless stream renderers.
Changed
Strengthened package TypeScript checks with exactOptionalPropertyTypes and tightened optional prop construction so stream and renderer APIs omit absent fields instead of passing undefined.
Fixed
iOS MarkdownSession.getTextRange() and replace() now clamp finite out-of-bounds ranges before converting to Int, avoiding crashes from very large JS number inputs.
MarkdownStream no longer rereads the full native session text on stable parent renders, reducing unnecessary bridge work during active streams.