spectrum-ts v9.2.0
New Features
-
Spectrum can now read
SPECTRUM_PROJECT_ID,SPECTRUM_PROJECT_SECRET, andSPECTRUM_WEBHOOK_SECRETautomatically when you leave those options out. Explicit config still wins. -
Provider string config fields can now come from env vars using
SPECTRUM_<PLATFORM>_<FIELD>. For example, Telegram readsSPECTRUM_TELEGRAM_BOT_TOKEN, and WhatsApp Business readsSPECTRUM_WHATSAPP_BUSINESS_PHONE_NUMBER_ID. -
WhatsApp Business can now boot direct mode from env vars when
accessTokenandphoneNumberIdare both set. Slack also supportsSPECTRUM_SLACK_ENDPOINT, while token maps still stay in code.
Bug Fixes
-
Empty-string credential env vars are now treated as unset, so blank CI variables no longer break config parsing.
-
The platform-name env-var formatter no longer uses the regex pattern that triggered a CodeQL ReDoS warning.
Improvement
- Docs now explain the new env-var fallback rules and list the supported env vars for Slack, Telegram, and WhatsApp Business. ✨
Version: 9.2.0