Skip to content

Releases: aldinokemal/go-whatsapp-web-multidevice

v6.2.0

05 Jul 11:33
Compare
Choose a tag to compare

Changes

🚀 New Features

  • Audio URL Support: Added capability to send audio messages directly from URLs (#313)
    • New audio_url field in send audio endpoint for remote audio files
    • Enhanced audio validation to accept either file upload or URL input
    • Improved audio download functionality with size limit validation and HTTP status checks
    • Added comprehensive error handling for audio URL processing
    • Enhanced UI with audio URL input field and explanatory text for upload alternatives

🔧 Maintenance & Updates

  • API Documentation: Updated OpenAPI specification to include audio_url field
    • Enhanced API documentation for better developer experience
    • Updated API version from 6.1.0 to 6.2.0
  • Documentation: Added n8n package integration instructions
    • Improved README with n8n.io integration support
    • Added installation instructions for n8n package compatibility
  • Dependencies: Updated whatsmeow dependency to latest version
    • Enhanced stability and performance with updated WhatsApp library
  • Bumped application version to v6.2.0

📝 Files Changed

  • 10 files changed
  • 204 additions, 49 deletions
  • Enhanced: src/domains/send/audio.go (audio URL domain support)
  • Improved: src/pkg/utils/general.go (audio download utilities)
  • Modified: src/ui/rest/send.go (REST endpoint updates)
  • Updated: src/usecase/send.go (send audio use case logic)
  • Enhanced: src/validations/send_validation.go (validation improvements)
  • Improved: src/views/components/SendAudio.js (UI enhancements)
  • Updated: docs/openapi.yaml (API documentation)
  • Modified: src/config/settings.go (version bump)
  • Updated: readme.md (n8n integration docs)
  • Updated: dependency files src/go.mod and src/go.sum

🎯 Summary

  • Major feature: Audio URL support for sending audio messages from remote URLs
  • Enhanced audio processing with robust validation and error handling
  • Improved developer experience with better API documentation
  • Added n8n integration support for workflow automation

This release introduces a significant enhancement to audio message capabilities by allowing users to send audio directly from URLs, eliminating the need for local file uploads. The feature includes comprehensive validation, size limit handling, and improved error feedback for a better user experience.

Full Changelog: v6.1.2...v6.2.0

v6.1.2

01 Jul 08:59
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

  • Group Admin JID Handling: Fixed group admin identification issue where JID field contained LID instead of phone number
    • Updated GroupList component to use PhoneNumber field for proper admin identification
    • Resolved issue where group admins were not correctly identified due to LID/JID mismatch
    • Improved reliability of group management operations

🔧 Maintenance & Updates

  • Dependency Updates: Updated project dependencies to latest versions
    • Enhanced security and performance with updated packages
    • Maintained compatibility with current ecosystem
  • Bumped application version to v6.1.2

📝 Files Changed

  • 2 files changed (excluding version bump)
  • 2 insertions, 2 deletions
  • Modified: src/views/components/GroupList.js (JID/PhoneNumber fix)
  • Updated: dependencies and version configurations

🎯 Summary

  • Primary fix: Resolved group admin identification bug affecting group management
  • Better reliability for group operations and admin permission checks
  • Updated dependencies for improved security and performance

This release addresses a critical bug in group admin identification where the JID field contained LID data, causing admin detection failures. The fix ensures proper group management functionality by using the PhoneNumber field instead.

New Contributors

Hello and welcome to @ilanbenb! 👋 Thank you for your first contribution to the project. Your bug fix for the group admin JID handling issue is much appreciated and helps improve the reliability of group management operations.

Full Changelog: v6.1.1...v6.1.2

v6.1.1

23 Jun 14:20
Compare
Choose a tag to compare

Changes

🚀 New Features

  • Enhanced Protocol Message Handling: Added support for message edits and revocations in webhook processing
    • Improved webhook forwarding logic to handle protocol-specific messages
    • Better message processing pipeline for WhatsApp protocol updates

🔧 Maintenance & Updates

  • Environment Variable Handling: Enhanced environment variable processing in root.go
    • Normalized variable names to lowercase for consistency
    • Improved configuration management and variable parsing
  • Admin Check Logic: Refactored admin status verification in GroupList component
    • Enhanced isAdmin function to check both group owner and participant admin status
    • Better permission handling for group management operations
  • Build Configuration: Updated .gitignore to exclude binary files
    • Added 'bin' directory to .gitignore for cleaner repository
  • Bumped application version to v6.1.1

📝 Files Changed

  • 6 files changed
  • 72 additions, 24 deletions
  • Modified: src/config/settings.go (version bump)
  • Enhanced: src/views/components/GroupList.js (admin check refactor)
  • Improved: src/cmd/root.go (environment variable handling)
  • Updated: src/infrastructure/whatsapp/init.go and webhook.go (protocol message handling)
  • Modified: .gitignore (build exclusions)

�� Summary

  • Major improvements: Enhanced webhook message processing and environment handling
  • Better admin permission management for group operations
  • Improved build configuration and code organization
  • Enhanced WhatsApp protocol message compatibility

This release focuses on improving the core infrastructure with better environment variable handling, enhanced webhook processing for WhatsApp protocol messages, and refined admin permission checks for group management operations.

Full Changelog: v6.1.0...v6.1.1

v6.1.0

20 Jun 10:29
Compare
Choose a tag to compare

Changes

🚀 New Features

  • IPv6 Support: Added comprehensive IPv6 compatibility (#301)
    • Enhanced server binding and client connection handling
    • Supports environments where only IPv6 is available

🔧 Maintenance & Updates

  • Updated whatsmeow dependency to v0.0.0-20250617170509-947866bb9f75
  • Updated mcp-go dependency to v0.32.0
  • Updated go-viper/mapstructure to v2.3.0
  • Updated go.mau.fi/util to v0.8.8
  • Updated golang.org/x/exp to latest version
  • Bumped application version to v6.1.0

📝 Files Changed

  • 4 files changed
  • 17 additions, 6 deletions
  • Modified: src/cmd/rest.go (IPv6 binding)
  • Modified: src/config/settings.go (version bump)
  • Updated module files src/go.mod and src/go.sum

📊 Summary

  • Major feature: IPv6 support for broader network compatibility
  • Dependency updates for stability and performance

🤝 Contributors

  • @zlenner made their first contribution with IPv6 support implementation

Full Changelog: v6.0.3...v6.1.0

v6.0.3

13 Jun 01:45
Compare
Choose a tag to compare

Changes

🚀 New Features

  • User Availability Check: Added /user/check endpoint to verify user presence on WhatsApp
    • New REST API endpoint with phone query parameter
    • Integrated Vue.js component AccountUserCheck for UI interaction
    • Complete domain model with CheckRequest and CheckResponse types
    • Enhanced OpenAPI documentation with comprehensive endpoint schema

🐛 Bug Fixes

  • Address Normalization: Fixed lid (Local Identifier) address handling (#291)
    • Improved lid address parsing and normalization in webhook processing
    • Enhanced group lid mapping with better error handling
    • Fixed parameter ordering in lid parsing functions
    • Added proper context reuse for better performance

🔧 Maintenance & Updates

  • Updated whatsmeow dependency to v0.0.0-20250612124742-cc05d16b464b
  • Enhanced webhook infrastructure for better message processing
  • Improved user domain models and interfaces

📝 Files Changed

  • Enhanced OpenAPI documentation (+51 lines)
  • Added new user availability checking functionality
  • Improved webhook processing with lid normalization
  • Updated Go module dependencies (go.mod/go.sum)
  • New Vue.js component for user interface (+95 lines)

📊 Summary

  • 11 files changed
  • 235 additions, 7 deletions
  • Major feature: User availability verification
  • Critical bug fix: Address normalization for better WhatsApp compatibility
  • Enhanced API documentation and user interface

🤝 Contributors

  • @AlmogBaku contributed the lid address normalization fix

This release adds essential user verification capabilities while fixing critical address handling issues for improved WhatsApp Web compatibility and stability.

Full Changelog: v6.0.2...v6.0.3

v6.0.2

08 Jun 01:36
Compare
Choose a tag to compare

Changes

🔧 Maintenance & Documentation

  • Updated project dependencies with latest versions
  • Enhanced configuration settings and environment handling
  • Expanded API documentation with improved OpenAPI specifications
  • Updated README with additional documentation and examples

📝 Files Changed

  • Enhanced OpenAPI documentation (+166 lines)
  • Improved README documentation (+74 lines)
  • Updated Go module dependencies (go.mod/go.sum)
  • Refined configuration settings and environment examples

📊 Summary

  • 7 files changed
  • 237 additions, 57 deletions
  • Focus on documentation improvements and dependency updates

This release primarily focuses on maintenance, documentation enhancements, and keeping
dependencies up to date while maintaining backward compatibility

Full Changelog: v6.0.1...v6.0.2

v6.0.1

25 May 14:28
Compare
Choose a tag to compare

Release v6.0.1

Release Date: 2025-05-25
Commit: 20d027c

🚀 Features

  • Backward Compatibility Support - Enhanced support for backward compatibility to ensure smooth upgrades

🔧 Improvements & Refactoring

  • Centralized Folder Creation - Refactored initialization logic to centralize folder creation in root initialization
  • Docker Configuration - Clarified production mode setup in Docker examples
  • Code Cleanup - Removed redundant code and streamlined command initialization

📝 Documentation

  • Updated README with clearer Docker production mode examples
  • Improved setup documentation

🛠️ Technical Changes

  • Enhanced .dockerignore configuration
  • Updated Dockerfile for better build process
  • Centralized initialization logic in src/cmd/root.go
  • Cleaned up MCP and REST command initialization
  • Updated configuration settings
  • Dependency cleanup and optimization

📊 Summary

  • 9 files changed
  • 24 additions, 58 deletions
  • Net reduction of 34 lines through code optimization
  • Focus on backward compatibility and code organization

This patch release improves code organization, enhances backward compatibility, and provides clearer documentation while maintaining all existing functionality.

Full Changelog: v6.0.0...v6.0.1

v6.0.0

25 May 04:20
Compare
Choose a tag to compare

Release v6.0.0

Release Date: 2025-05-25
Commit: 84805f0

🚀 Major Features

  • MCP Server Integration - NEW Model Context Protocol (MCP) server with Server-Sent Events (SSE) support for AI Agent communication
  • WhatsApp MCP Tools - Comprehensive set of MCP tools for WhatsApp operations:
    • Send messages, contacts, links, and locations
    • Image sending functionality with caption support
    • Enhanced WhatsApp automation capabilities

🏗️ Architecture Improvements

  • Project Restructure - Major folder reorganization for better code organization:
    • src/services/src/usecase/
    • src/internal/src/ui/
    • src/pkg/whatsapp/src/infrastructure/whatsapp/
  • Clean Architecture - Improved separation of concerns with clear domain boundaries
  • Command Structure - New command architecture with dedicated MCP and REST commands

🔧 Technical Enhancements

  • Go Library Updates - Updated to latest Go dependencies and libraries
  • Configuration Management - Enhanced settings with MCP server host and port options
  • Handler Functions - New MCP handler functions for processing AI Agent requests
  • Documentation - Comprehensive README updates with MCP server setup and usage

📊 Summary

  • 35 files changed
  • 962 additions, 323 deletions
  • Net addition of 639 lines focused on MCP integration
  • Major version bump to v6.0.0 reflecting significant architectural changes

🛠️ Key Files Added/Modified

  • src/cmd/mcp.go - NEW MCP server command implementation
  • src/cmd/rest.go - NEW REST server command implementation
  • src/ui/mcp/send.go - NEW MCP tools for WhatsApp operations (338 lines)
  • Major refactoring of existing modules for clean architecture
  • Updated project structure documentation

⚠️ Breaking Changes

This is a major version release with significant architectural changes:

  • Folder structure reorganization may affect custom integrations
  • New command structure for starting services
  • Updated import paths due to package restructuring

🎯 MCP Server Features

  • Server-Sent Events (SSE) for real-time AI communication
  • WhatsApp message sending tools
  • Contact and location sharing capabilities
  • Image sending with metadata support
  • Link sharing with rich previews

This major release introduces powerful AI Agent integration capabilities while maintaining all existing REST API functionality with improved architecture and organization.

Full Changelog: v5.6.1...v6.0.0

v5.6.1

09 May 14:37
Compare
Choose a tag to compare

Changes

🚀 Features

  • Protocol Buffer Updates - Updated protocol buffer definitions and related dependencies

🔧 Technical Changes

  • Updated Go module dependencies to support new protocol buffer specifications
  • Modified configuration settings to accommodate protocol updates
  • Enhanced dependency management with updated go.sum entries

📊 Summary

  • 3 files changed
  • 31 additions, 11 deletions
  • Net addition of 20 lines primarily in dependency management
  • Focus on protocol buffer compatibility and dependency updates

🛠️ Files Modified

  • src/config/settings.go - Configuration updates for new protocol support
  • src/go.mod - Updated module dependencies
  • src/go.sum - New dependency checksums

This patch release focuses on updating protocol buffer support with the latest specifications
while maintaining backward compatibility and ensuring all dependencies are properly managed.

Full Changelog: v5.6.0...v5.6.1

v5.6.0

19 Apr 12:24
d43aa43
Compare
Choose a tag to compare

What's Changed

  • feat: approval requested participant group by @aldinokemal in #276
  • feat: update proto
  • fix: minor code issue

Full Changelog: v5.5.0...v5.6.0