|
| 1 | +# 2.3.4 (2025-09-23) |
| 2 | + |
| 3 | +### Features |
| 4 | + |
| 5 | +* **Kafka Integration**: Added Apache Kafka event integration for real-time event streaming |
| 6 | + - New Kafka controller, router, and schema for event publishing |
| 7 | + - Support for instance-specific and global event topics |
| 8 | + - Configurable SASL/SSL authentication and connection settings |
| 9 | + - Auto-creation of topics with configurable partitions and replication |
| 10 | + - Consumer group management for reliable event processing |
| 11 | + - Integration with existing event manager for seamless event distribution |
| 12 | + |
| 13 | +* **Evolution Manager v2 Open Source**: Evolution Manager v2 is now available as open source |
| 14 | + - Added as git submodule with HTTPS URL for easy access |
| 15 | + - Complete open source setup with Apache 2.0 license + Evolution API custom conditions |
| 16 | + - GitHub templates for issues, pull requests, and workflows |
| 17 | + - Comprehensive documentation and contribution guidelines |
| 18 | + - Docker support for development and production environments |
| 19 | + - CI/CD workflows for code quality, security audits, and automated builds |
| 20 | + - Multi-language support (English, Portuguese, Spanish, French) |
| 21 | + - Modern React + TypeScript + Vite frontend with Tailwind CSS |
| 22 | + |
| 23 | +* **EvolutionBot Enhancements**: Improved EvolutionBot functionality and message handling |
| 24 | + - Implemented splitMessages functionality for better message segmentation |
| 25 | + - Added linkPreview support for enhanced message presentation |
| 26 | + - Centralized split logic across chatbot services for consistency |
| 27 | + - Enhanced message formatting and delivery capabilities |
| 28 | + |
| 29 | +### Fixed |
| 30 | + |
| 31 | +* **MySQL Schema**: Fixed invalid default value errors for `createdAt` fields in `Evoai` and `EvoaiSetting` models |
| 32 | + - Changed `@default(now())` to `@default(dbgenerated("CURRENT_TIMESTAMP"))` for MySQL compatibility |
| 33 | + - Added missing relation fields (`N8n`, `N8nSetting`, `Evoai`, `EvoaiSetting`) in Instance model |
| 34 | + - Resolved Prisma schema validation errors for MySQL provider |
| 35 | + |
| 36 | +* **Prisma Schema Validation**: Fixed `instanceName` field error in message creation |
| 37 | + - Removed invalid `instanceName` field from message objects before database insertion |
| 38 | + - Resolved `Unknown argument 'instanceName'` Prisma validation error |
| 39 | + - Streamlined message data structure to match Prisma schema requirements |
| 40 | + |
| 41 | +* **Media Message Processing**: Enhanced media handling across chatbot services |
| 42 | + - Fixed base64 conversion in EvoAI service for proper image processing |
| 43 | + - Converted ArrayBuffer to base64 string using `Buffer.from().toString('base64')` |
| 44 | + - Improved media URL handling and base64 encoding for better chatbot integration |
| 45 | + - Enhanced image message detection and processing workflow |
| 46 | + |
| 47 | +* **Evolution Manager v2 Linting**: Resolved ESLint configuration conflicts |
| 48 | + - Disabled conflicting Prettier rules in ESLint configuration |
| 49 | + - Added comprehensive rule overrides for TypeScript and React patterns |
| 50 | + - Fixed import ordering and code formatting issues |
| 51 | + - Updated security vulnerabilities in dependencies (Vite, esbuild) |
| 52 | + |
| 53 | +### Code Quality & Refactoring |
| 54 | + |
| 55 | +* **Chatbot Services**: Streamlined media message handling across all chatbot integrations |
| 56 | + - Standardized base64 and mediaUrl processing patterns |
| 57 | + - Improved code readability and maintainability in media handling logic |
| 58 | + - Enhanced error handling for media download and conversion processes |
| 59 | + - Unified image message detection across different chatbot services |
| 60 | + |
| 61 | +* **Database Operations**: Improved data consistency and validation |
| 62 | + - Enhanced Prisma schema compliance across all message operations |
| 63 | + - Removed redundant instance name references for better data integrity |
| 64 | + - Optimized message creation workflow with proper field validation |
| 65 | + |
| 66 | +### Environment Variables |
| 67 | + |
| 68 | +* Added comprehensive Kafka configuration options: |
| 69 | + - `KAFKA_ENABLED`, `KAFKA_CLIENT_ID`, `KAFKA_BROKERS` |
| 70 | + - `KAFKA_CONSUMER_GROUP_ID`, `KAFKA_TOPIC_PREFIX` |
| 71 | + - `KAFKA_SASL_*` and `KAFKA_SSL_*` for authentication |
| 72 | + - `KAFKA_EVENTS_*` for event type configuration |
| 73 | + |
1 | 74 | # 2.3.3 (2025-09-18) |
2 | 75 |
|
3 | 76 | ### Features |
|
0 commit comments