Changelog

Follow up on the latest improvements and updates.

RSS

new

fixed

Latest

2.3.6 (2025-10-21)

Features
*
Baileys, Chatwoot, OnWhatsapp Cache
: Multiple implementations and fixes
- Fixed cache for PN, LID and g.us numbers to send correct number
- Fixed audio and document sending via Chatwoot in Baileys channel
- Multiple fixes in Chatwoot integration
- Fixed ignored messages when receiving leads
Fixed
*
Baileys
: Fix buffer storage in database
- Correctly save Uint8Array values to database
*
Baileys
: Simplify logging of messageSent object
- Fixed "this.isZero not is function" error
Chore
*
Version
: Bump version to 2.3.6 and update Baileys dependency to 7.0.0-rc.6
*
Workflows
: Update checkout step to include submodules
- Added 'submodules: recursive' option to checkout step in multiple workflow files to ensure submodules are properly initialized during CI/CD processes
*
Manager
: Update asset files and install process
- Updated subproject reference in evolution-manager-v2 to the latest commit
- Enhanced the manager_install.sh script to include npm install and build steps
- Replaced old JavaScript asset file with a new version for improved performance
- Added a new CSS file for consistent styling across the application
Features
*
Chatwoot Enhancements
: Comprehensive improvements to message handling, editing, deletion and i18n
*
Participants Data
: Add participantsData field maintaining backward compatibility for group participants
*
LID to Phone Number
: Convert LID to phoneNumber on group participants
*
Docker Configurations
: Add Kafka and frontend services to Docker configurations
Fixed
*
Kafka Migration
: Fixed PostgreSQL migration error for Kafka integration
- Corrected table reference from
"public"."Instance"
to
"Instance"
in foreign key constraint
- Fixed
ERROR: relation "public.Instance" does not exist
issue in migration
20250918182355_add_kafka_integration
- Aligned table naming convention with other Evolution API migrations for consistency
- Resolved database migration failure that prevented Kafka integration setup
*
Update Baileys Version
: v7.0.0-rc.5 with compatibility fixes
- Fixed assertSessions signature compatibility using type assertion
- Fixed incompatibility in voice call (wavoip) with new Baileys version
- Handle undefined status in update by defaulting to 'DELETED'
*
Chatwoot Improvements
: Multiple fixes for enhanced reliability
- Correct chatId extraction for non-group JIDs
- Resolve webhook timeout on deletion with 5+ images
- Improve error handling in Chatwoot messages
- Adjust conversation verification logic and cache
- Optimize conversation reopening logic and connection notification
- Fix conversation reopening and connection loop
*
Baileys Message Handling
: Enhanced message processing
- Add warning log for messages not found
- Fix message verification in Baileys service
- Simplify linkPreview handling in BaileysStartupService
*
Media Validation
: Fix media content validation
*
PostgreSQL Connection
: Refactor connection with PostgreSQL and improve message handling
Code Quality & Refactoring
*
Exponential Backoff
: Implement exponential backoff patterns and extract magic numbers to constants
*
TypeScript Build
: Update TypeScript build process and dependencies
Features
*
Kafka Integration
: Added Apache Kafka event integration for real-time event streaming
- New Kafka controller, router, and schema for event publishing
- Support for instance-specific and global event topics
- Configurable SASL/SSL authentication and connection settings
- Auto-creation of topics with configurable partitions and replication
- Consumer group management for reliable event processing
- Integration with existing event manager for seamless event distribution
*
Evolution Manager v2 Open Source
: Evolution Manager v2 is now available as open source
- Added as git submodule with HTTPS URL for easy access
- Complete open source setup with Apache 2.0 license + Evolution API custom conditions
- GitHub templates for issues, pull requests, and workflows
- Comprehensive documentation and contribution guidelines
- Docker support for development and production environments
- CI/CD workflows for code quality, security audits, and automated builds
- Multi-language support (English, Portuguese, Spanish, French)
- Modern React + TypeScript + Vite frontend with Tailwind CSS
*
EvolutionBot Enhancements
: Improved EvolutionBot functionality and message handling
- Implemented splitMessages functionality for better message segmentation
- Added linkPreview support for enhanced message presentation
- Centralized split logic across chatbot services for consistency
- Enhanced message formatting and delivery capabilities
Fixed
*
MySQL Schema
: Fixed invalid default value errors for
createdAt
fields in
Evoai
and
EvoaiSetting
models
- Changed
@default(now())
to
@default(dbgenerated("CURRENT_TIMESTAMP"))
for MySQL compatibility
- Added missing relation fields (
N8n
,
N8nSetting
,
Evoai
,
EvoaiSetting
) in Instance model
- Resolved Prisma schema validation errors for MySQL provider
*
Prisma Schema Validation
: Fixed
instanceName
field error in message creation
- Removed invalid
instanceName
field from message objects before database insertion
- Resolved
Unknown argument 'instanceName'
Prisma validation error
- Streamlined message data structure to match Prisma schema requirements
*
Media Message Processing
: Enhanced media handling across chatbot services
- Fixed base64 conversion in EvoAI service for proper image processing
- Converted ArrayBuffer to base64 string using
Buffer.from().toString('base64')
- Improved media URL handling and base64 encoding for better chatbot integration
- Enhanced image message detection and processing workflow
*
Evolution Manager v2 Linting
: Resolved ESLint configuration conflicts
- Disabled conflicting Prettier rules in ESLint configuration
- Added comprehensive rule overrides for TypeScript and React patterns
- Fixed import ordering and code formatting issues
- Updated security vulnerabilities in dependencies (Vite, esbuild)
Code Quality & Refactoring
*
Chatbot Services
: Streamlined media message handling across all chatbot integrations
- Standardized base64 and mediaUrl processing patterns
- Improved code readability and maintainability in media handling logic
- Enhanced error handling for media download and conversion processes
- Unified image message detection across different chatbot services
*
Database Operations
: Improved data consistency and validation
- Enhanced Prisma schema compliance across all message operations
- Removed redundant instance name references for better data integrity
- Optimized message creation workflow with proper field validation
Environment Variables
* Added comprehensive Kafka configuration options:
-
KAFKA_ENABLED
,
KAFKA_CLIENT_ID
,
KAFKA_BROKERS
-
KAFKA_CONSUMER_GROUP_ID
,
KAFKA_TOPIC_PREFIX
-
KAFKA_SASL_*
and
KAFKA_SSL_*
for authentication
-
KAFKA_EVENTS_*
for event type configuration
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)
Features
  • Add support to socks proxy
Fixed
  • Added key id into webhook payload in n8n service
  • Enhance RabbitMQ controller with improved connection management and shutdown procedures
  • Convert outgoing images to JPEG before sending with Chatwoot
  • Update baileys dependency to version 6.7.19
Feature
  • Add BaileysMessageProcessor for improved message handling and integrate rxjs for asynchronous processing
  • Enhance message processing with retry logic for error handling
Fixed
  • Update Baileys Version
  • Update Dockerhub Repository and Delete Config Session Variable
  • Fixed sending variables in typebot
  • Add unreadMessages in the response
  • Phone number as message ID for Evo AI
  • Fix upload to s3 when media message
  • Simplify edited message check in BaileysStartupService
  • Avoid corrupting URLs with query strings
  • Removed CONFIG_SESSION_PHONE_VERSION environment variable
Feature
  • Add support to get Catalogs and Collections with new routes: '{{baseUrl}}/chat/fetchCatalogs' and '{{baseUrl}}/chat/fetchCollections'
  • Add NATS integration support to the event system
  • Add message location support meta
  • Add S3_SKIP_POLICY env variable to disable setBucketPolicy for incompatible providers
  • Add EvoAI integration with models, services, and routes
  • Add N8n integration with models, services, and routes
Fixed
  • Shell injection vulnerability
  • Update Baileys Version v6.7.18
  • Audio send duplicate from chatwoot
  • Chatwoot csat creating new conversation in another language
  • Refactor SQS controller to correct bug in sqs events by instance
  • Adjustin cloud api send audio and video
  • Preserve animation in GIF and WebP stickers
  • Preventing use conversation from other inbox for the same user
  • Ensure full WhatsApp compatibility for audio conversion (libopus, 48kHz, mono)
  • Enhance message fetching and processing logic
  • Added lid on whatsapp numbers router
  • Now if the CONFIG_SESSION_PHONE_VERSION variable is not filled in it automatically searches for the most updated version
Security
  • Change execSync to execFileSync
  • Enhance WebSocket authentication and connection handling
Fixed
  • Fix cache in local file system
  • Update Baileys Version
Features
  • Added prefix key to queue name in RabbitMQ
Fixed
  • Update Baileys Version
Features
  • Retry system for send webhooks
  • Message filtering to support timestamp range queries
  • Chats filtering to support timestamp range queries
Fixed
  • Correction of webhook global
  • Fixed send audio with whatsapp cloud api
  • Refactor on fetch chats
  • Refactor on Evolution Channel
Load More