1- ### 🚀 **[2.4.3 ] – Password Editing, Telegram Enhancements & Stability Fixes **
1+ ### 🚑 **[2.4.4 ] – Traffic System Hotfix & Stability Improvements **
22
33*Released: 2025-11-06*
44
5- #### 🔐 **Security & UI Improvements **
5+ #### 🐞 **Bug Fixes **
66
7- * **Client-Side Password Validation** – Prevent weak or invalid passwords directly from the browser.
8- * **Editable Password Field** – Users’ passwords can now be securely updated via the user modal.
7+ * Fixed incorrect user online status caused by outdated `online_count` logic.
8+ * Synchronized database state with live Hysteria2 API data for accurate user tracking.
9+ * Prevented false offline/online display in the web panel and Telegram bot.
910
10- #### 🤖 **Telegram Bot Upgrades **
11+ #### 🧠 **Core Refactor **
1112
12- * Added **inline keyboard support** for clearing user notes .
13- * Enhanced **user detail display**, showing notes and improved formatting for admins.
13+ * Rebuilt `traffic.py` into an object-oriented design using a new `TrafficManager` class .
14+ * Improved modularity and maintainability with clear separation for:
1415
15- #### ⚙️ **Backend & Server Enhancements**
16+ * API interaction
17+ * Database updates
18+ * Traffic calculation
19+ * Expired user handling
1620
17- * **Database-based Online Tracking:** Online user count now directly pulled from MongoDB instead of memory.
18- * **Fixed traffic bug** causing incorrect offline user status in multi-node environments.
21+ #### 🧩 **Compatibility & Reliability**
1922
20- #### 🧹 **Maintenance & Dependencies**
21-
22- * Cleaned up `requirements.txt` to include only top-level dependencies.
23- * Dependency upgrades:
24-
25- * ⬆️ `psutil` → 7.1.3
26- * ⬆️ `certbot` → 5.1.0
27- * ⬆️ `python-dotenv` → 1.2.1
28- * ⬆️ `fastapi` → 0.121.0
29- * ⬆️ `aiohttp` → 3.13.2
30- * ⬆️ `idna` → 3.11
31- * ⬆️ `click` → 8.3.0
23+ * Reintroduced stable public methods (`traffic_status()` & `kick_expired_users()`) for CLI and API use.
24+ * Replaced scattered print statements with structured logging.
25+ * Added constants for better maintainability and consistency.
0 commit comments