What's New in v8.3.1
🛠️ Patch Release: Webhook Caption Fix, MCP Device Context & Dependency Updates
This release fixes missing media captions in webhook payloads, resolves device context injection for MCP handlers, updates Go dependencies, and bumps the release workflow to Go 1.25.
🐛 Bug Fixes
Webhook: Include Media Captions in Payloads (#586)
- Fix: Webhook payloads now include captions from media messages (images, videos, documents, PTVs)
- New Utility:
ExtractMediaCaptionhelper to extract captions from various media message types - Body Field:
bodyfield in webhook payload is now populated from media captions when no text conversation is present - Backward Compatible:
buildAutoDownloadPayloadreturns string path (no caption) or map withpath+caption(when caption exists) - Tests: Added unit tests for media caption extraction in webhook payloads
- Docs: Updated
docs/webhook-payload.mdwith new caption behavior
MCP: Inject Device Context in Handlers (#583, #582)
- Fix: Resolved "device identification required" error in MCP handlers
- New Helper:
ContextWithDefaultDeviceinsrc/ui/mcp/helpers/context.goresolves and injects the default WhatsApp device into context - Applied To: All MCP handler methods in
group.go,query.go, andsend.go
🔧 Technical Improvements
Dependency Updates
- go.mau.fi/whatsmeow: Updated to latest version (7ae702b1eed4)
- github.com/vektah/gqlparser/v2: v2.5.31 → v2.5.32
- golang.org/x/exp: Updated to v0.0.0-20260218203240
- All Go dependencies kept up-to-date
Build & CI
- Go Version: Updated release workflow from Go 1.24 to Go 1.25 for improved compatibility and performance
What's Changed
- fix: include media captions in webhook payloads and inject device context in MCP handlers by @aldinokemal
- chore: update Go dependencies (whatsmeow + others) by @aldinokemal
- chore: update Go version in release workflow to 1.25 by @aldinokemal
Full Changelog: v8.3.0...v8.3.1