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
- New
🔧 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
andsrc/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