Features
- Add extra fields to object sent to Flowise bot
- Add Prometheus-compatible /metrics endpoint (gated by PROMETHEUS_METRICS)
- Implement linkPreview support for Evolution Bot
Fixed
- Address Path Traversal vulnerability in /assets endpoint by implementing security checks
- Configure Husky and lint-staged for automated code quality checks on commits and pushes
- Convert mediaKey from media messages to avoid bad decrypt errors
- Improve code formatting for better readability in WhatsApp service files
- Format messageGroupId assignment for improved readability
- Improve linkPreview implementation based on PR feedback
- Clean up code formatting for linkPreview implementation
- Use 'unknown' as fallback for clientName label
- Remove abort process when status is paused, allowing the chatbot return after the time expires and after being paused due to human interaction (stopBotFromMe)
- Enhance message content sanitization in Baileys service and improve message retrieval logic in Chatwoot service
- Integrate Typebot status change events for webhook in chatbot controller and service
- Mimetype of videos video
Security
- CRITICAL: Fixed Path Traversal vulnerability in /assets endpoint that allowed unauthenticated local file read
- Customizable Websockets Security
Testing
- Baileys Updates: v7.0.0-rc.3 (Link)
What's Changed
- Revert "Ignore events that are not messages (like EPHEMERAL_SYNC_RESPONSE)" by @DavidsonGomes in #1919
- feat: implement disable/enable linkPreview support for Evolution Bot by @dersonbsb2022 in #1908
- fix: Prevent Duplicate Cron Jobs for Chatwoot Message Sync by @andres99x in #1906
- fix: integrate Typebot status change events for webhook in chatbot controller e service by @josiasmaceda in #1927
- fix: allowing the chatbot return after the time expires and after human interaction (stopBotFromMe) by @josiasmaceda in #1928
- Customizable Websockets Security by @moothz in #1929
- fix: convert mediaKey from media messages to avoid bad decrypt errors by @furious in #1948
- feat: implement standardized error handling for WhatsApp API responses by @ricaelchiquetti in #1918
- feat: add extra fields to object sent to Flowise bot by @Nocelli in #1951
- Feat/prometheus metrics by @elizandropacheco in #1947
- feat/add global SQS mode with single-queue-per-event and payload size control by @nolramaf in #1896
- feat/validate video type before uploading to S3 by @nolramaf in #1897
- Fix/Adjust remote message key handling in WhatsApp service to include alternative JID by @ricaelchiquetti in #1955
New Contributors
- @dersonbsb2022 made their first contribution in #1908
- @andres99x made their first contribution in #1906
- @josiasmaceda made their first contribution in #1927
- @moothz made their first contribution in #1929
- @furious made their first contribution in #1948
- @Nocelli made their first contribution in #1951
- @elizandropacheco made their first contribution in #1947
- @nolramaf made their first contribution in #1896
Full Changelog: 2.3.2...2.3.3