docs: update spectrum-ts documentation for v9.0.0#109
docs: update spectrum-ts documentation for v9.0.0#109photon-action-bot[bot] wants to merge 2 commits into
Conversation
|
Bugbot is not enabled for this team, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
…ts-v9.0.0 # Conflicts: # docs-src/spectrum-ts/content.mdx.vel # docs-src/spectrum-ts/content/avatar.mdx.vel # docs-src/spectrum-ts/content/rename.mdx.vel # docs-src/spectrum-ts/custom-platforms.mdx.vel # docs-src/spectrum-ts/messages.mdx.vel # docs-src/spectrum-ts/nav.json # docs-src/spectrum-ts/providers/imessage.mdx.vel # docs-src/spectrum-ts/providers/imessage/connection-and-routing.mdx.vel # docs-src/spectrum-ts/providers/imessage/messaging-features.mdx.vel # docs-src/spectrum-ts/spaces-and-users.mdx.vel
|
Bugbot is not enabled for this team, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Resolved merge conflicts with Root cause: Resolution:
Verification: |
|
Superseded by #113 which targets a newer version. |
Documentation Update: spectrum-ts v9.0.0
This PR updates documentation for spectrum-ts based on the v9.0.0 release.
Release Notes
Breaking Changes
Spacenow reservesgetMembers,getAvatar,add,remove, andleave. If a custom platform used those names inspace.actions, rename them because Spectrum now owns them as universal methods.Contentnow includesaddMember,removeMember, andleaveSpace, so exhaustiveswitchstatements overmessage.content.typemay need new cases.New Features
addMember(),removeMember(), andleaveSpace(), plus the friendlierspace.add(),space.remove(), andspace.leave()helpers.space.getMembers()andspace.getAvatar()so apps can read a group roster or fetch the current group icon when the provider supports it.app.messagesas normal inbound messages, including membership changes, renames, and avatar updates. ✨Bug Fixes
getMembers()now validates provider results and throws a clear error if a provider returns something other than an array.Improvement
message.senderbehavior are now documented with iMessage-specific guidance.Version: 9.0.0
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.