docs: update spectrum-ts documentation for v12.1.0 - #123
Closed
photon-action-bot[bot] wants to merge 1 commit into
Closed
docs: update spectrum-ts documentation for v12.1.0#123photon-action-bot[bot] wants to merge 1 commit into
photon-action-bot[bot] wants to merge 1 commit into
Conversation
Contributor
|
Superseded by #125 which targets a newer version. |
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 v12.1.0
This PR updates documentation for spectrum-ts based on the v12.1.0 release.
Release Notes
Breaking Changes
"iMessage","Slack","Terminal", and"WhatsApp Business"to"imessage","slack","terminal", and"whatsapp_business".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-localnow exportslocalIMessageinstead ofimessage, with platform ID"local_imessage".New Features
Spectrum()app. Usemessage.platformto 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.Improvement
Version: 12.1.0
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.