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

latest releases: v7.5.0, v7.4.1, v7.4.0...
one month ago

Changes

🚀 New Features

  • WhatsApp Business Profile: Added comprehensive business profile endpoint for WhatsApp Business accounts (66d2449)

    • New GET /user/business-profile endpoint to retrieve business profile information
    • Complete BusinessProfile request/response models with business data support
    • Added AccountBusinessProfile Vue component for UI interaction
    • Enhanced business hour time formatting utilities
    • Updated API version to 6.6.0 with business profile support
  • Chat Presence Typing Indicator: Added real-time typing indicator functionality (8de6fd5)

    • New /send/chat-presence API endpoint with OpenAPI documentation
    • Support for both "start" and "stop" typing actions
    • Complete frontend Vue.js component with modal interface
    • Backend business logic with validation and WhatsApp integration
    • Enhanced user experience with typing status notifications
  • WebP Image Format Support: Added automatic WebP image conversion for message sending (32cce96)

    • Automatic WebP image format detection and conversion to PNG
    • Enhanced image processing with imaging library integration
    • Improved filename extension handling for compatibility
    • Better image format support for WhatsApp message sending
  • Auto-Mark Read Messages: Added configurable auto-read functionality for incoming messages (e49c31b)

    • New --auto-mark-read command line flag for configuration
    • Environment variable WHATSAPP_AUTO_MARK_READ support
    • Implementation in message handler with default false behavior
    • Maintains existing behavior while adding optional auto-read feature

🔧 Maintenance & Updates

  • Architecture Refactoring: Major migration to global client pattern and interface segregation (2df6183)

    • Replaced dependency injection with global client management pattern
    • Segregated domain interfaces into focused, single-responsibility interfaces
    • Added comprehensive session management and cleanup functionality
    • Implemented remote logout detection and handling
    • Added connection status endpoint for real-time client state monitoring
    • Enhanced database and temporary file cleanup processes
    • Updated all usecases to use centralized client access
  • API Documentation: Enhanced OpenAPI specification with new endpoints

    • Added business profile endpoint documentation
    • Updated chat presence typing indicator API docs
    • Added 7 new API endpoints for user and group management
    • Updated API version references and parameter descriptions
  • Dependencies: Updated whatsmeow dependency with business profile support

    • Replaced whatsmeow with fork for enhanced business profile functionality
    • Updated go.mod and go.sum with latest dependency versions
    • Enhanced stability and performance with updated WhatsApp library
  • Documentation: Comprehensive README updates and gallery enhancements

    • Added business profile gallery image with visual documentation
    • Updated README with new API endpoints documentation
    • Enhanced configuration documentation for auto-mark-read feature
    • Updated badges and project information

📝 Files Changed

  • 17 files changed (major refactoring)
  • 520 additions, 257 deletions (architecture improvements)
  • New Components: Added AccountBusinessProfile and SendChatPresence UI components
  • Enhanced: Image processing with WebP format support
  • Improved: Session management and client architecture
  • Added: Business profile endpoint with complete functionality
  • Updated: API documentation with 7 new endpoints
  • Enhanced: Message handling with auto-read functionality

🎯 Summary

  • Major architectural refactoring with global client pattern and interface segregation
  • Business profile support for WhatsApp Business accounts with complete UI
  • Real-time chat presence typing indicators for enhanced user experience
  • WebP image format support with automatic PNG conversion
  • Configurable auto-mark read functionality for incoming messages
  • Enhanced API documentation with comprehensive endpoint coverage
  • Improved session management and connection status monitoring

This release represents a significant architectural improvement with enhanced business account support, real-time features, and better image format handling. The major refactoring provides a more maintainable codebase while adding essential business features and improving user experience.

Full Changelog: v7.0.0...v7.1.0

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

NewReleases is sending notifications on new releases.