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

3 hours ago

What's New in v8.5.0

🚀 Minor Release: Contact Webhooks, Chat History for Contact Messages & Newsletter Subscriber Counts

This release enriches the contact webhook payload with a structured phone_number field, persists incoming contact messages into chat history, and fixes newsletter subscriber counts that were missing from the subscribed-list response.


✨ New Features

Structured phone_number on Contact Webhooks (#656)

  • Contact webhook payloads now include a structured phone_number field for both single contacts and multi-contact shares
  • Original vcard field is preserved for backward compatibility
  • Chatwoot forwarding path updated to understand the structured payload

Persist Incoming Contact Messages in Chat Storage (#654)

  • Incoming ContactMessage events are now serialized into chat history instead of being dropped when the message has no text or media
  • The phone number embedded in the vCard is preserved in stored content
  • Added test coverage for ContactMessage parsing

🐛 Bug Fixes

Newsletter Subscriber Counts (#660)

  • Enrich subscribed newsletter metadata with detail fetches so subscribers_count is populated when WhatsApp omits it from the subscribed-list response
  • Base subscribed newsletter list remains the source of truth
  • Falls back to the original newsletter metadata if a detail fetch fails
  • Fixes #658

🔧 Technical Improvements

Code Modernization

  • Remove dead code across the codebase
  • Modernize interface{} to any for Go 1.18+ idiomatic style

Dependency Updates

  • go.mau.fi/whatsmeow: updated to latest (multiple passes)
  • All Go dependencies kept up-to-date

What's Changed

New Contributors

Full Changelog: v8.4.0...v8.5.0

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

NewReleases is sending notifications on new releases.