v8.3.0

aldinokemal/go-whatsapp-web-multidevicev8.3.0Feb 12, 2026by aldinokemal

AI Summary

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

Key Highlights

  • Auto-reject incoming WhatsApp calls with WHATSAPP_AUTO_REJECT_CALL config
  • Chatwoot message history sync with new endpoints (/chatwoot/sync, /chatwoot/sync/status)
  • Ghost mentions (@everyone) support in whatsapp_send_text MCP tool
  • WhatsApp presence configuration on connect (available/unavailable/none)
  • LID (Linked ID) resolution for phone number conversion

New Features

  • Auto-reject incoming calls feature with call.offer webhook event
  • Chatwoot history sync with media attachments and rate limiting
  • Ghost mentions parameter in send text tool
  • WHATSAPP_PRESENCE_ON_CONNECT environment variable
  • ResolveLIDToPhone and ResolvePhoneToLID functions

Full Release Notes

## 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 https://github.com/aldinokemal/go-whatsapp-web-multidevice/pull/563
* feat: Chatwoot message history sync & webhook auth fix by @aldinokemal in https://github.com/aldinokemal/go-whatsapp-web-multidevice/pull/565
* feat: Add ghost mentions support (`@everyone`) by @aldinokemal in https://github.com/aldinokemal/go-whatsapp-web-multidevice/pull/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**: https://github.com/aldinokemal/go-whatsapp-web-multidevice/compare/v8.2.1...v8.3.0