Files
Blitz-Proxy/changelog
2025-11-06 15:49:01 +00:00

25 lines
916 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 🚑 **[2.4.4] Traffic System Hotfix & Stability Improvements**
*Released: 2025-11-06*
#### 🐞 **Bug Fixes**
* Fixed incorrect user online status caused by outdated `online_count` logic.
* Synchronized database state with live Hysteria2 API data for accurate user tracking.
* Prevented false offline/online display in the web panel and Telegram bot.
#### 🧠 **Core Refactor**
* Rebuilt `traffic.py` into an object-oriented design using a new `TrafficManager` class.
* Improved modularity and maintainability with clear separation for:
* API interaction
* Database updates
* Traffic calculation
* Expired user handling
#### 🧩 **Compatibility & Reliability**
* Reintroduced stable public methods (`traffic_status()` & `kick_expired_users()`) for CLI and API use.
* Replaced scattered print statements with structured logging.
* Added constants for better maintainability and consistency.