Skip to content

docs: update spectrum-ts documentation for v12.1.0 - #123

Closed
photon-action-bot[bot] wants to merge 1 commit into
mainfrom
docs/update-spectrum-ts-v12.1.0
Closed

docs: update spectrum-ts documentation for v12.1.0#123
photon-action-bot[bot] wants to merge 1 commit into
mainfrom
docs/update-spectrum-ts-v12.1.0

Conversation

@photon-action-bot

@photon-action-bot photon-action-bot Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Documentation Update: spectrum-ts v12.1.0

This PR updates documentation for spectrum-ts based on the v12.1.0 release.

Release Notes

Breaking Changes

  • Platform IDs now use lowercase snake_case everywhere. Update checks like "iMessage", "Slack", "Terminal", and "WhatsApp Business" to "imessage", "slack", "terminal", and "whatsapp_business".
  • Custom definePlatform() IDs must also be lowercase snake_case, like "my_platform". IDs with uppercase letters, spaces, hyphens, leading/trailing underscores, or double underscores now throw.
  • @spectrum-ts/imessage-local now exports localIMessage instead of imessage, with platform ID "local_imessage".

New Features

  • Cloud iMessage and local iMessage can now be registered in the same Spectrum() app. Use message.platform to distinguish "imessage" from "local_imessage".

Bug Fixes

  • Spectrum() now rejects duplicate providers for the same platform before initialization, so ambiguous provider setups fail early with a clear error.
  • Cloud token renewal is now shared and coalesced across providers, avoiding overlapping refreshes and making retry behavior more consistent.

Improvement

  • Provider lookup and docs now consistently use canonical platform IDs, while helper lookup still accepts legacy spellings where it can. ✨

Version: 12.1.0


🤖 This PR was auto-generated by Claude Code via the update-docs action in buildspace.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@github-actions

Copy link
Copy Markdown
Contributor

Superseded by #125 which targets a newer version.

@github-actions github-actions Bot closed this Jul 20, 2026
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.

0 participants