Skip to content

v7.5.0

Latest
Compare
Choose a tag to compare
@aldinokemal aldinokemal released this 20 Aug 14:12
· 2 commits to main since this release

What's New in v7.5.0

🔗 Group Invite Link Management

  • Get Group Invite Links: Retrieve invite links for groups you administer
    • Admin-Only Access: Only group administrators can fetch invite links (security by design)
    • RESTful API: New GET /group/invite-link?group_id={id} endpoint for programmatic access
    • Interactive Web UI: Point-and-click interface for easy invite link management
    • Auto-Copy Functionality: One-click copying of invite links to clipboard
    • Input Validation: Smart group ID correction and validation to prevent errors
    • OpenAPI Documentation: Complete API specification with examples and schemas

🐳 Enhanced Container & CI/CD Support

  • GitHub Container Registry: Official Docker images now published to ghcr.io
    • Multi-Registry Support: Images available on both Docker Hub and GitHub Container Registry
    • Improved Tagging: Better version tagging system for container deployments
    • Automated Builds: CI/CD pipeline automatically builds and publishes images
    • Enhanced Security: GHCR integration with GitHub's security scanning and access controls

📦 Updated Dependencies & Performance

  • Latest WhatsApp Protocol: Updated whatsmeow library with latest features and fixes
    • Better Reliability: Improved connection stability and message handling
    • Enhanced Security: Latest protocol security improvements
    • Bug Fixes: Resolved various edge cases in WhatsApp communication
  • HTTP Performance: Updated fasthttp for better request handling performance
  • Go Modules: All dependencies updated to latest stable versions for security and performance

🎯 What This Means for You

For Group Administrators

  • Easy Link Sharing: Quickly get invite links for your groups without manual WhatsApp navigation
  • Programmatic Access: Integrate invite link retrieval into your automation workflows
  • Security First: Only administrators can access invite links, protecting your groups
  • User-Friendly Interface: No technical knowledge required - simple web interface

For DevOps & System Administrators

  • Container Deployment: Choose between Docker Hub or GitHub Container Registry
  • Better CI/CD: More reliable automated deployments with improved tagging
  • Enhanced Security: GHCR integration provides better access control and vulnerability scanning
  • Future-Proof Infrastructure: Multi-registry support ensures deployment flexibility

For Developers & Integrators

  • New API Capability: Build applications that can retrieve group invite links
  • Consistent API Design: Query parameter approach follows established API patterns
  • Complete Documentation: OpenAPI specs and examples for quick integration
  • Reliable Dependencies: Updated libraries mean fewer bugs and better performance

For End Users

  • Simplified Group Management: Get invite links without switching between applications
  • Better Performance: Updated dependencies provide faster response times
  • More Reliable Service: Improved WhatsApp protocol handling reduces connection issues

🛠️ New API Endpoint

Group Invite Link Retrieval

# Get invite link for a group (admin only)
GET /group/invite-link?group_id=120363402106XXXXX@g.us

# Response
{
  "code": 200,
  "message": "Success",
  "results": {
    "link": "https://chat.whatsapp.com/ABC123XYZ456DEF"
  }
}

Authentication Required

  • Must be logged in to WhatsApp Web
  • Must be an administrator of the requested group
  • Returns 403 Forbidden if not an admin

🐳 Container Registry Options

GitHub Container Registry (New!)

# Pull from GitHub Container Registry
docker pull ghcr.io/aldinokemal/go-whatsapp-web-multidevice:v7.5.0
docker pull ghcr.io/aldinokemal/go-whatsapp-web-multidevice:latest

Docker Hub (Existing)

# Still available on Docker Hub
docker pull aldinokemal2104/go-whatsapp-web-multidevice:v7.5.0
docker pull aldinokemal2104/go-whatsapp-web-multidevice:latest

📋 Usage Guide

Web Interface

  1. Navigate to your WhatsApp Web API dashboard
  2. Go to the "Groups" section
  3. Click "Get Invite Link"
  4. Enter the group ID (auto-corrected format)
  5. Click "Get Link" - the invite link will appear and can be copied

API Integration

// Example API call
const response = await fetch('/group/invite-link?group_id=' + encodeURIComponent(groupId), {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json'
  }
});

const data = await response.json();
if (data.code === 200) {
  console.log('Invite link:', data.results.link);
}

Important Notes

Security & Permissions

  • Only group administrators can retrieve invite links
  • Group ID validation prevents unauthorized access attempts
  • All requests require valid WhatsApp Web session

Backward Compatibility

  • All existing functionality remains unchanged
  • No breaking changes to existing APIs
  • Existing Docker deployments continue to work

🔧 Recommended Actions

  • Update containers to benefit from improved dependencies
  • Consider using GHCR for enhanced security features
  • Try the new group invite link functionality if you manage WhatsApp groups
  • Update any automation to use the new API endpoint if needed

Summary

Version 7.5.0 introduces powerful group management capabilities with the new invite link API, while also enhancing the deployment and infrastructure experience. The ability to programmatically retrieve group invite links opens up new automation possibilities for group administrators, while the GitHub Container Registry support provides more deployment flexibility and security.

The updated dependencies, particularly the WhatsApp protocol library, ensure better reliability and performance. Whether you're managing a few groups or building large-scale WhatsApp integrations, this release provides the tools you need with the security and reliability you expect.

New Contributors

Full Changelog: v7.4.1...v7.5.0