📋 Changelog

All updates and improvements to MAI Team

v1.6.4

LATESTMay 3, 2026
  • 🔧 Critical build fix: removed better-sqlite3 dependency from production bundle
  • 🗄️ Database adapter rewritten — always PostgreSQL, zero Turbopack errors
  • 🔄 Fixed wrong import in /api/upload (was using db.ts instead of db-adapter)
  • ⏳ Fixed missing await on analyticsDb.trackVisit and userDb.findById
  • 🏗️ Fixed worker_tasks column: task_type → type (DB schema alignment)
  • 📊 Fixed scheduled_at NOT NULL constraint → DEFAULT CURRENT_TIMESTAMP
  • 🏥 /api/health now uses centralized APP_VERSION
  • 🧹 Removed require('better-sqlite3') from setup-usage route
  • 📦 Version bump to v1.6.4 across desktop, mobile, web and service worker
  • 🚀 Stable build: 206 pages, 100+ API routes, zero TypeScript errors

v1.3.5-beta

April 20, 2026
  • 🔧 Total debugging protocol — analysis and fix of every module
  • 🔒 XSS/SQL injection input sanitization on all APIs
  • 🔑 Critical JWT_SECRET consistency fix across 36+ API routes
  • 🛡️ Complete HTTP security headers (CSP, HSTS, X-Frame-Options)
  • 🧩 React Error Boundary with fallback UI
  • 💳 Fix pay-per-use credit deduction and plan change reset
  • 🌍 Italian fallback i18n with deep merge for 8 languages
  • ⚡ Optimized service worker with smart caching
  • 🖼️ Images converted to WebP (96% size reduction)
  • 📱 25 new Playwright E2E tests (mobile, responsive, error boundary)
  • 🗄️ CASCADE DELETE sessions and SQLite/Postgres consistency
  • 📧 Responsive email templates with viewport meta tag
  • 🔄 Centralized versioning system with automatic updates

v1.2.1

April 4, 2026
  • 🎯 Inline Consent Prompt in chat — 3-level TRUST/RUN system
  • ⚡ Real action execution: email, SMS, WhatsApp, social media
  • 📎 Native file picker for image and video attachments
  • 👁️ Connected Activity Monitor with real-time SSE and expandable details
  • 💳 Integrated Stripe Checkout with real pricing (Premium €9.99, Super €29.99)
  • 🔔 Native desktop notifications for completed/failed activities
  • 📌 Badge counters on Activity Monitor and Consents in sidebar
  • 🖱️ Drag & drop files into chat
  • 🔽 Minimize to tray with context menu
  • 🏗️ ARM64 support for Windows and Linux
  • 📱 Installable PWA from website
  • 🔧 Fix: app closure during uninstall
  • 🔧 Fix: SSE/polling cleanup on logout
  • 🔧 Fix: file size validation per plan

v1.2.0

March 24, 2026
  • 🚀 Launch Electron desktop app for Windows, macOS, Linux
  • 🤖 15 specialized AI agents
  • 💬 Multi-agent chat with Team Leader
  • 🌍 8 language support
  • 📊 Usage dashboard and plan limits
  • 🔐 JWT authentication system
  • ✈️ Integrated Telegram bot
  • 🎨 Image generation with Leonardo.ai
  • 💰 Stripe payment integration