Repository navigation
SmartExpenseBot v1.2.0 — Massive Feature Release
🚀 SmartExpenseBot v1.2.0 — Massive Feature Release
This release introduces the biggest update ever to SmartExpenseBot — including full income tracking, unified currency system, account deletion, AI-powered country detection, daily reminders, and a completely upgraded reporting engine.
All features are fully compatible with the previous version.
No data loss. No manual migrations required. ✔️
✨ What’s New in v1.2.0
💰 1. Income Tracking (Brand New System)
You can now track daily and monthly income:
- Natural language income entry
“I earned 5000 yuan this month” - Voice-based income extraction
- AI-powered amount, type, description detection
- Income included in all financial reports
- Balance calculation = income − expenses
This turns SmartExpenseBot into a full financial manager.
💳 2. Unified Currency System (Major Improvement)
- All expenses & incomes now use one default currency (from User table)
- Currency is selected once, can be changed any time
- Reports now show consistent currency
- No more mixed-currency issues
🔐 3. Account Deletion (Privacy Upgrade)
-
New Delete Account menu option
-
All user data is safely removed:
- expenses
- incomes
- reminders
-
Bot stops responding until the user restarts
-
All scheduled reminders automatically canceled
⭐ 4. Donation System (New!)
Multiple donation platforms:
- Telegram Stars (native payment)
- Patreon
- GitHub Sponsors
- Tirikchilik.uz for Uzbekistan users
Includes:
- Preset payment options
- Custom donation amount
- Thank-you messages in user’s language
🌍 5. Improved Localization & Country Detection
-
AI recognizes country names in Uzbek, Russian, English
-
Accurate timezone detection from:
- country text
- location GPS
-
Reports fully localized in user’s language
-
Improved translations
🔔 6. Daily Expense Reminders
Every day at 20:00 (local timezone), the bot sends an automatic reminder:
- Localized message
- Automatically rescheduled if timezone changes
- Works even after bot restart
📊 7. Reporting Engine Upgrade
A completely redesigned reporting system:
- Report generation now in user’s preferred language
- Income + expense balance
- Category summaries
- Cleaner plain-text (no markdown noise)
- Improved DeepSeek prompts for richer insights
🎤 8. Voice Transcription Optimization (Performance Boost)
- Vosk models use a Singleton pattern (load once, reuse always)
- Significantly faster processing
- Lower memory usage
- Thread-safe model handling
🛠 Technical Improvements
- Database schema adjusted for unified currency
- Better consistency across income/expense models
- Safer thread-local sessions
- Improved error handling
- Stronger scheduler stability
🐛 Bug Fixes
- Fixed Income-related report crash
- Fixed wrong currency issues in reports
- Fixed donation thank-you messages always showing in English
- Fixed timezone parsing issues
- Fixed account deletion not stopping bot replies
🔒 Security
- Safe cascade deletion
- Thread-safe database operations
🚀 Performance
- Shared Vosk cache
- Faster startup
- Optimized DB queries
- Better scheduler management
📚 Upgrade Notes
From v1.1.0 → v1.2.0
- No manual database migrations required
- Existing data remains safe
- New “incomes” table automatically created
- No config changes required
Just redeploy — the bot will upgrade itself.
🧑💻 Contributors
- Botir Bakhtiyarov — Creator & Maintainer
🔗 Useful Links
- GitHub Repo
- Patreon
- GitHub Sponsors
- Tirikchilik.uz