github aldinokemal/go-whatsapp-web-multidevice v8.3.0

latest release: v7.11.3
4 hours ago

What's New in v8.3.0

🚀 Feature Release: Auto-Reject Calls, Chatwoot History Sync, Ghost Mentions & More

This release introduces auto-reject for incoming calls, Chatwoot message history sync, ghost mentions (@everyone) support, WhatsApp presence configuration, and LID (Linked ID) resolution.


✨ New Features

Auto-Reject Incoming Calls (#563)

  • New Feature: Automatically reject incoming WhatsApp calls
  • Configuration: WHATSAPP_AUTO_REJECT_CALL environment variable or --auto-reject-call CLI flag (default: false)
  • Webhook: New call.offer webhook event triggered when a call is received, includes auto_rejected field reflecting actual rejection outcome

Chatwoot Message History Sync & Webhook Auth Fix (#565)

  • History Sync: Sync message history from local chat storage to Chatwoot (similar to Evolution API)
  • New Endpoints:
    • POST /chatwoot/sync - Trigger background sync of message history
    • GET /chatwoot/sync/status - Check sync progress
  • New Configuration:
    • CHATWOOT_IMPORT_MESSAGES: Enable auto-sync on device connect
    • CHATWOOT_DAYS_LIMIT_IMPORT_MESSAGES: Configure days of history to sync
  • Features:
    • Supports media attachments (images, videos, audio, documents)
    • Handles both individual and group chats
    • Progress tracking with status endpoint
    • Rate limiting to prevent API abuse
    • Sender attribution in group messages
  • Webhook Auth Fix: Excluded /chatwoot/webhook from basic auth (Chatwoot sends webhooks without credentials)
  • Outgoing Messages: Automatic forwarding to Chatwoot with is_from_me field and echo loop prevention

Ghost Mentions (@everyone) Support (#570)

  • MCP Tool: Added mentions parameter (array of phone numbers/JIDs) to whatsapp_send_text tool
  • Ghost Mentions: Notify users without showing @phone in message text
  • Format Support: Accepts both plain phone numbers and JID format

WhatsApp Presence Configuration on Connect

  • New Feature: Configure presence status sent on WhatsApp connection
  • Configuration: WHATSAPP_PRESENCE_ON_CONNECT environment variable (options: available, unavailable, none)
  • Default: available (maintains existing behavior)

LID (Linked ID) Resolution

  • New Feature: Resolve LID (Linked ID) to phone numbers and vice versa
  • Functions: ResolveLIDToPhone and ResolvePhoneToLID for bidirectional conversion
  • UI: Updated user info display to show resolved phone and LID information
  • Form: Added LID as a message recipient type option

📚 Documentation

  • Updated README and .env.example with auto-reject incoming calls configuration
  • Updated Chatwoot documentation with history sync setup and configuration
  • Added webhook payload documentation for call.offer event
  • Updated CLAUDE.md with device management details and database configuration

🔧 Technical Improvements

Dependency Updates

  • go.mau.fi/whatsmeow: Updated to v0.0.0-20260211193157-7b33f6289f98
  • golang.org/x/exp: Updated to latest version
  • All Go dependencies updated to latest versions

Bug Fixes & Improvements

  • Fixed QR code handling with extended pairing session timeout
  • Atomic check-and-set to prevent TOCTOU race in sync operations
  • Improved temp file cleanup during Chatwoot sync
  • Proper failed chat counting in sync progress

What's Changed

  • feat: add auto-reject incoming calls feature #559 by @aldinokemal in #563
  • feat: Chatwoot message history sync & webhook auth fix by @aldinokemal in #565
  • feat: Add ghost mentions support (@everyone) by @aldinokemal in #570
  • feat: Add support for LID (Linked ID) resolution in user account handling by @aldinokemal
  • feat: Add WhatsApp presence configuration on connect by @aldinokemal

Full Changelog: v8.2.1...v8.3.0

Don't miss a new go-whatsapp-web-multidevice release

NewReleases is sending notifications on new releases.