Skip to content

spectrum-ts v12.0.0

Choose a tag to compare

@photon-action-bot photon-action-bot released this 19 Jul 08:40

Breaking Changes

  • Spectrum({ platforms: [...] }) is no longer accepted; use Spectrum({ providers: [...] }) instead. This standardizes the API and docs around “providers” everywhere. (9b8e927)

New Features

  • WhatsApp Business can now send approved template messages with whatsappTemplate(...), including language codes and body parameters. This is useful for reaching users outside WhatsApp’s 24-hour customer-service window. ✨

Bug Fixes

  • WhatsApp Business quoted replies now come through as reply content with a target stub, so reply context is preserved on inbound messages.
  • WhatsApp Business push-to-talk recordings now map to voice content instead of generic audio attachments.
  • WhatsApp Business group sends now handle captioned media correctly and send other grouped content as sequential parts instead of dropping pieces.
  • If a WhatsApp Business grouped send fails partway through, WhatsAppPartialSendError now reports which parts were already delivered so callers can avoid accidental duplicates.

Improvement

  • WhatsApp Business now sends richlink and app URLs with native WhatsApp link previews when possible.

Version: 12.0.0