v8.1.1

aldinokemal/go-whatsapp-web-multidevicev8.1.1Jan 12, 2026by aldinokemal

AI Summary

This release introduces audio message improvements and fixes middleware routing issues, along with stability updates for chat history and device management.

Key Highlights

  • Audio messages now include visual waveform data, MIME type detection, and duration retrieval
  • Fixed DeviceMiddleware to allow custom APP_BASE_PATH configuration
  • Fixed storage of phone-sent messages in chat history
  • Device list now sorts by created_at timestamp for consistent UI ordering

New Features

  • Waveform generation for audio messages
  • Automatic detection of audio file MIME types
  • Automatic extraction of audio duration

Full Release Notes

## What's New in v8.1.1

šŸ”§ **Patch Release: Bug Fixes & Audio Enhancements**

This patch release includes important bug fixes and audio message improvements.

---

## ✨ New Features & Enhancements

### Audio Message Improvements
- **Waveform Generation**: Audio messages now include visual waveform data for better UI display
- **MIME Type Resolution**: Automatic detection of audio file MIME types
- **Duration Retrieval**: Audio duration is now automatically extracted and included in messages
- **Fixes #501**: Resolves audio handling issues

---

## šŸ› Bug Fixes

### DeviceMiddleware APP_BASE_PATH Fix (#519)
- **Issue**: DeviceMiddleware was blocking requests when `APP_BASE_PATH` was configured
- **Fix**: Properly handle custom base paths in device middleware routing
- **Impact**: Users can now use custom base paths without middleware blocking
- **Contributor**: @hanifbg

### Store Phone-Sent Messages in Chat History (#526)
- **Issue**: Messages sent from the phone were not being stored in chat history
- **Fix**: Properly capture and store messages sent from the mobile device
- **Impact**: Complete chat history including phone-originated messages

### Device List Ordering (#528)
- **Issue**: Device list ordering was inconsistent in the UI
- **Fix**: Sort device list by `created_at` timestamp for stable ordering
- **Impact**: Predictable and consistent device list display

---

## šŸ”§ Technical Improvements

### Dependency Updates
- **golang.org/x/text**: Updated to v0.33.0 for security and performance improvements
- **Other Dependencies**: Various Go module updates for stability

---

## New Contributors
* @hanifbg made their first contribution in https://github.com/aldinokemal/go-whatsapp-web-multidevice/pull/519

---

## What's Changed
* fix(device.go): Fix DeviceMiddleware to allow if APP_BASE_PATH is change by @hanifbg in https://github.com/aldinokemal/go-whatsapp-web-multidevice/pull/519
* fix: store phone-sent messages in chat history (issue #526) by @aldinokemal in https://github.com/aldinokemal/go-whatsapp-web-multidevice/pull/530
* fix(device): sort device list by created_at for stable UI ordering by @aldinokemal in https://github.com/aldinokemal/go-whatsapp-web-multidevice/pull/528

**Full Changelog**: https://github.com/aldinokemal/go-whatsapp-web-multidevice/compare/v8.1.0...v8.1.1