|
27 | 27 | - Added missing relation fields (`N8n`, `N8nSetting`, `Evoai`, `EvoaiSetting`) in Instance model |
28 | 28 | - Resolved Prisma schema validation errors for MySQL provider |
29 | 29 |
|
| 30 | +* **Prisma Schema Validation**: Fixed `instanceName` field error in message creation |
| 31 | + - Removed invalid `instanceName` field from message objects before database insertion |
| 32 | + - Resolved `Unknown argument 'instanceName'` Prisma validation error |
| 33 | + - Streamlined message data structure to match Prisma schema requirements |
| 34 | + |
| 35 | +* **Media Message Processing**: Enhanced media handling across chatbot services |
| 36 | + - Fixed base64 conversion in EvoAI service for proper image processing |
| 37 | + - Converted ArrayBuffer to base64 string using `Buffer.from().toString('base64')` |
| 38 | + - Improved media URL handling and base64 encoding for better chatbot integration |
| 39 | + - Enhanced image message detection and processing workflow |
| 40 | + |
| 41 | +* **Evolution Manager v2 Linting**: Resolved ESLint configuration conflicts |
| 42 | + - Disabled conflicting Prettier rules in ESLint configuration |
| 43 | + - Added comprehensive rule overrides for TypeScript and React patterns |
| 44 | + - Fixed import ordering and code formatting issues |
| 45 | + - Updated security vulnerabilities in dependencies (Vite, esbuild) |
| 46 | + |
| 47 | +### Code Quality & Refactoring |
| 48 | + |
| 49 | +* **Chatbot Services**: Streamlined media message handling across all chatbot integrations |
| 50 | + - Standardized base64 and mediaUrl processing patterns |
| 51 | + - Improved code readability and maintainability in media handling logic |
| 52 | + - Enhanced error handling for media download and conversion processes |
| 53 | + - Unified image message detection across different chatbot services |
| 54 | + |
| 55 | +* **Database Operations**: Improved data consistency and validation |
| 56 | + - Enhanced Prisma schema compliance across all message operations |
| 57 | + - Removed redundant instance name references for better data integrity |
| 58 | + - Optimized message creation workflow with proper field validation |
| 59 | + |
30 | 60 | ### Environment Variables |
31 | 61 |
|
32 | 62 | * Added comprehensive Kafka configuration options: |
|
0 commit comments