github aldinokemal/go-whatsapp-web-multidevice v9.11.0

50 minutes ago

What's New in v9.11.0

📞 Incoming Call Logs, Local Timezones & More Reliable Chatwoot Routing

GOWA can now list incoming calls per device and return chat and newsletter timestamps in a configured timezone. This release also improves WhatsApp number resolution, preserves group names and media filenames, and helps inbound Chatwoot replies reach the right conversation.


✨ Features

Incoming Call Logs (#828)

  • Use GET /call/logs to list incoming calls recorded for the selected device, newest first. Use limit and offset for pagination and chat_jid to filter by chat.

Configurable API Timezone (#981)

  • Set APP_TIMEZONE or pass --timezone with an IANA name such as Asia/Jakarta to display chat, message, reaction, and newsletter timestamps in that zone in REST and MCP responses.
  • Message queries now compare time bounds in UTC, so a filter with an explicit offset selects the intended window.

Descriptive Media Filenames (#945)

  • Chatwoot REST uploads retain descriptive filenames and resolved file extensions. Common audio and video uploads have MIME fallbacks when the host MIME database is unavailable.

🐛 Bug Fixes

WhatsApp Number Resolution (#982)

  • Use the phone JID registered by WhatsApp for sends and related chat operations, including when WhatsApp resolves the entered number to a different spelling.
  • Return an error when the account lookup fails and HTTP 400 when /user/check receives a malformed number. Honor an explicit duration=0 when sending text to a chat with a stored disappearing-message timer.

Group Names and Participant Phone Numbers (#929, #975)

  • Preserve group names per device, including renames and names received during history sync.
  • Leave a participant's phone_number empty when WhatsApp supplies only a LID and the phone number is unknown.

Chatwoot Reply Routing (#979)

  • When an exact phone lookup misses, identify the Chatwoot contact from a stored link to a delivered agent message. GOWA checks the quoted agent reply first, then the latest matching delivered reply for the same device, chat, configuration, account, and inbox.

Group Call Webhook Filtering (#984)

  • Match group_jid on group call.offer events against WHATSAPP_WEBHOOK_IGNORE_JIDS, including the @g.us wildcard.

🔧 Technical Improvements

  • Update whatsmeow to revision 494ae5d707ac, Fiber to v3.7.0, mcp-go to v1.6.0, and refresh other Go dependencies. (b683a0f, 3283f00)
  • Convert the README's breaking changes to a table and point readers to the public GOWA documentation. (8c71f80)

Upgrade Notes

  • API responses default to UTC when the timezone setting is unset. Use a valid IANA name when configuring it. Storage and webhook timestamps remain UTC.
  • Call logs cover incoming offers recorded while the device was connected. Outgoing calls, duration, and answered or ended status are outside the recorded data.
  • Treat downloaded media paths as opaque. The filename now includes a unique prefix and a sanitized display name.
  • Consumers of group participant data should accept an empty phone_number for LID-only participants.
  • Chatwoot reply routing requires an existing delivery link to resolve alternate number spellings. An inbound message may still create a duplicate contact before that link exists. CHATWOOT_REOPEN_CONVERSATION continues to control whether a resolved conversation is reopened.

What's Changed

Contributors

Full Changelog: v9.10.0...v9.11.0

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

NewReleases is sending notifications on new releases.