github aldinokemal/go-whatsapp-web-multidevice v7.8.0

13 hours ago

What's New in v7.8.0

🔧 Reliability & Stability Improvements

  • Webhook Forwarding Hardening: Enhanced webhook reliability with better error handling
    • Partial Failure Resilience: Webhooks now continue processing even if some endpoints fail
    • Improved Error Recovery: Better handling of webhook dispatch failures
    • Unit Test Coverage: Comprehensive test suite for empty, partial, and full failure scenarios
    • Overridable Submitter: Testable webhook behavior for development and debugging
  • Login Session Management: Improved reconnection and session handling
    • Reconnect Error Handling: Proper error handling during reconnection attempts in LoginWithCode
    • Session Guard: Re-checks client session after reconnect to prevent duplicate pairing
    • Skip Redundant Pairing: Automatically skips phone pairing if already logged in
    • Connection Stability: More reliable login flow with better state management

📄 Document Handling Enhancements

  • Office Document MIME Detection: Accurate MIME type detection for Office documents
    • Extension Preservation: Downloaded documents maintain their Office extensions (.docx, .xlsx, .pptx)
    • MIME Type Overrides: Specialized handling for Office document formats
    • Missing Filename Recovery: Automatically resolves extensions when filenames are missing
    • Known Document Database: Built-in mapping of Office MIME types to extensions
  • Document Upload Improvements: Better MIME type resolution for outgoing documents
    • Filename-Based Detection: Resolves MIME types from file extensions with Office-specific overrides
    • Format Validation: Ensures correct MIME types for Word, Excel, and PowerPoint documents
    • Test Coverage: Comprehensive unit tests for extension and MIME helpers

🌐 Infrastructure Improvements

  • Trusted Proxy Support: Enhanced proxy configuration for production deployments
    • Fiber Proxy Configuration: Proper handling of X-Forwarded-* headers
    • Production Ready: Better support for load balancers and reverse proxies
    • Security Hardening: Improved client IP detection through proxy layers
    • Header Preservation: Maintains original request information through proxy chains

📦 Dependency Updates

  • Go Module Updates: Updated various dependencies to latest stable versions
    • whatsmeow: Updated to latest version with improved reliability
    • fasthttp: Performance improvements and bug fixes
    • libsignal: Enhanced encryption and security features
    • Poll Message Handling: Improved message extraction logic for poll messages
  • Security Patches: Latest security updates for all dependencies
  • Performance Optimizations: Dependency updates bring performance improvements

🎯 What This Means for You

For End Users

  • More Reliable Webhooks: Webhook notifications continue working even if some endpoints fail
  • Better Document Support: Office documents (.docx, .xlsx, .pptx) maintain correct file extensions
  • Improved Login: More stable login experience with better reconnection handling
  • Enhanced Stability: Overall application stability improvements through dependency updates

For Developers & Integrators

  • Webhook Resilience: Build more reliable integrations with improved webhook forwarding
  • Document API: Better MIME type handling for document upload and download operations
  • Testing Support: Overridable webhook submitter enables comprehensive testing
  • Production Deployment: Trusted proxy support for enterprise deployments

For System Administrators

  • Proxy Support: Deploy behind load balancers and reverse proxies with confidence
  • Connection Reliability: Improved reconnection logic reduces connection failures
  • Error Diagnostics: Better error messages and logging for troubleshooting
  • Security Updates: Latest security patches for all dependencies

For Business Users

  • Document Integrity: Office documents maintain their correct formats and extensions
  • Notification Reliability: Critical webhook notifications won't be lost due to single endpoint failures
  • Uptime Improvements: Better connection stability means fewer disruptions
  • Enterprise Ready: Trusted proxy support enables enterprise-grade deployments

📊 Updated Dependencies

Core Dependencies

  • go.mau.fi/whatsmeow: Updated to v0.0.0-20251010113933 (from v0.0.0-20251003111114)
  • go.mau.fi/libsignal: Updated to v0.2.1 (from v0.2.0)
  • go.mau.fi/util: Updated to v0.9.2 (from v0.9.1)

Performance & Security

  • github.com/valyala/fasthttp: v1.66.0 → v1.67.0
  • golang.org/x/crypto: v0.42.0 → v0.43.0
  • golang.org/x/net: v0.44.0 → v0.46.0
  • golang.org/x/sys: v0.36.0 → v0.37.0

Additional Updates

  • golang.org/x/text: v0.29.0 → v0.30.0
  • golang.org/x/image: v0.31.0 → v0.32.0
  • golang.org/x/exp: Updated to latest version
  • Plus 15+ other dependency updates for stability and security

Important Notes

No Breaking Changes

  • All existing APIs continue to work unchanged
  • Backward compatible with previous versions
  • Existing functionality remains unaffected
  • Configuration changes are optional

Enhanced Reliability

  • Webhook forwarding now resilient to partial failures
  • Better login session management and reconnection handling
  • Improved Office document format support
  • Updated dependencies for security and stability

Production Ready

  • Trusted proxy support for enterprise deployments
  • Comprehensive test coverage for critical paths
  • Better error handling and diagnostics
  • Security patches in updated dependencies

🔧 Recommended Actions

  • Update to v7.8.0 to benefit from reliability improvements
  • Enable trusted proxy support if deploying behind load balancers
  • Review webhook configurations for optimal reliability
  • Test document upload/download with Office formats

Summary

Version 7.8.0 focuses on reliability, stability, and production readiness. The enhanced webhook forwarding ensures notifications continue working even when some endpoints fail, while improved login session management provides a more stable connection experience. Office document handling improvements maintain format integrity, and trusted proxy support enables enterprise-grade deployments.

The comprehensive dependency updates bring the latest security patches and performance improvements, while expanded test coverage ensures critical functionality works as expected. Combined with better error handling and diagnostics, this release provides a solid foundation for production deployments.

Whether you're running high-availability integrations, deploying behind enterprise infrastructure, or simply want more reliable document handling, v7.8.0 delivers the stability improvements you need.

What's Changed

Full Changelog: v7.7.0...v7.8.0

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

NewReleases is sending notifications on new releases.