What's New in v7.10.2
✨ New Features & Enhancements
-
Disappearing Messages Management: Added full support for managing disappearing messages in chats
- New API Endpoint:
POST /chat/disappearingto configure disappearing message timers - UI Component: New ChatDisappearingManager.js for visual management
- Multiple Timer Options: Support for 24 hours, 7 days, and 90 days timers
- OpenAPI Documentation: Full API specification for the new endpoint
- New API Endpoint:
-
Enhanced Group Request Participants: Improved group join request handling
- Phone Number Field: Added
phone_numberfield to group request participants response - Display Name Field: Added
display_namefield resolved from contacts or verified business names - Better Context: More information when reviewing group join requests
- Phone Number Field: Added
🔧 Refactoring & Improvements
-
JID Normalization: Centralized JID handling for better consistency
- New
NormalizeJIDFromLIDFunction: Exported function in whatsapp/init.go for consistent JID handling - Code Cleanup: Removed duplicated normalization logic from sqlite_repository.go
- Better Maintainability: Single source of truth for JID normalization
- New
-
Dependency Updates: Updated Go module dependencies
- Improved security and performance
- Better compatibility with WhatsApp protocol changes
🎯 What This Means for You
For Disappearing Messages Users
- Configure Timer: Set messages to disappear after 24 hours, 7 days, or 90 days
- API Access: Programmatically manage disappearing message settings
- UI Control: Visual interface for managing disappearing messages
- Consistent Behavior: Works with individual chats and groups
For Group Administrators
- Better Join Request Review: See phone numbers and display names when reviewing join requests
- Enhanced Context: Make informed decisions about who to accept
- Contact Integration: Display names resolved from your contacts
For All Users
- Improved Stability: Centralized JID handling reduces edge cases
- Better Code Quality: Cleaner architecture and maintainability
- Updated Dependencies: Latest security and performance improvements
Important Notes
✅ Disappearing Messages API
- Endpoint:
POST /chat/disappearing - Parameters:
phone(chat JID) andtimer(24 hours, 7 days, 90 days, or off) - Authentication: Uses existing API authentication
- Backward Compatible: No changes to existing functionality
✅ Group Request Participants
- New Fields:
phone_numberanddisplay_nameadded to response - Optional Fields: Fields may be empty if information is not available
- No Breaking Changes: Existing integrations continue to work
✅ Breaking Changes
- None - all changes are backward compatible
- Existing deployments continue to work without configuration changes
🔧 Recommended Actions
- Update to v7.10.2 to get disappearing messages support
- Update webhook handlers if you want to process the new fields
- Review the updated OpenAPI documentation for new API details
Configuration Examples
Set Disappearing Messages (API):
curl -X POST "http://localhost:3000/chat/disappearing" \
-H "Content-Type: application/json" \
-d '{"phone": "6281234567890", "timer": "7 days"}'Disable Disappearing Messages:
curl -X POST "http://localhost:3000/chat/disappearing" \
-H "Content-Type: application/json" \
-d '{"phone": "6281234567890", "timer": "off"}'Timer Options:
24 hours- Messages disappear after 24 hours7 days- Messages disappear after 7 days90 days- Messages disappear after 90 daysoff- Disable disappearing messages
Summary
Version 7.10.2 introduces disappearing messages management with a new API endpoint and UI component, enhanced group join request handling with phone numbers and display names, and refactored JID normalization for better code maintainability. All changes are backward compatible, requiring no configuration updates for existing deployments.
What's Changed
- refactor: normalize JID handling and clean up unused code in 1b7bd40
- feat: add disappearing messages management for chats via new API endpoint and UI component in 871442f
- feat: enhance group request participants with phone number and display name in e17d720
- chore: bump API version to 6.13.1 and add phone number and display name fields in 10b548f
- feat: update mod golang in fe2ca83
Full Changelog: v7.10.1...v7.10.2