Skip to content

spectrum-ts v1.17.0

Choose a tag to compare

@photon-action-bot photon-action-bot released this 31 May 01:26
· 35 commits to main since this release

Breaking Changes

  • config is now reserved on the Spectrum instance for project metadata, so custom event streams named config will no longer surface as app.config.

New Features

  • Spectrum() now fetches Spectrum Cloud project metadata at startup when projectId and projectSecret are provided, then exposes it as app.config.
  • iMessage remote mode can now automatically share the bot’s contact card after an inbound message when profile.imessageSynced is enabled. It dedupes per chat for 24 hours, so active conversations do not get spammed. ✨

Improvement

  • Platform messages and custom events producers now receive projectConfig in their context, making Cloud-side feature flags easier for providers to use.

Bug Fixes

  • iMessage contact-share logs now sanitize chat GUIDs before printing, reducing the chance of exposing phone numbers or emails.

Version: 1.17.0