docs: update spectrum-ts documentation for v3.0.0#83
Merged
Ryan Zhu (underthestars-zhy) merged 1 commit intoJun 11, 2026
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation Update: spectrum-ts v3.0.0
This PR updates documentation for spectrum-ts based on the v3.0.0 release.
Release Notes
Breaking Changes
platform.space(...)is nowplatform.space.create(...)for creating a space, andplatform.space.get(id)for looking up an existing one.streamText()was removed from the public API. Pass streams directly totext(source, options)ormarkdown(source, options)instead;StreamTextOptionsis nowTextStreamOptions.resumableOrderedStreamreplacedisRetryableErrorwithisCursorRejectedError. Other stream errors now retry automatically.New Features
markdown()for outbound styled text using CommonMark/GFM. Telegram and remote iMessage render it natively, while unsupported platforms fall back to readable plain text.text()andmarkdown(), including native Telegram private-chat drafts and existing iMessage streaming behavior. Platforms without streaming support wait for the stream to finish and send the full text.unsend()plusmessage.unsend()andspace.unsend(), with iMessage support for retracting outbound messages.Messagehandle instead ofundefined, so you can keep that handle and unsend the reaction later. ✨Bug Fixes
effect()now accepts markdown content correctly, so markdown can be wrapped in supported iMessage effects.Improvement
Version: 3.0.0
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.