# πŸ“¦ ** Release 2.5.0 β€” ACL & WARP fixes, safer password generation, service controls πŸš€** *Released: 2025-12-19* ## ✨ New Features ### 🧠 **Core & Service Management** * πŸ” Added **Hysteria2 core version detection** and validation * πŸ“Š Display **core version** directly in the web panel * πŸ” Added **Restart Hysteria2** button in the web UI with proper fetch handling * πŸ”Œ New API endpoint to **restart Hysteria2 service** programmatically ### 🌍 **Geo & ACL Rule Management** * πŸ—ΊοΈ Enhanced **Geo file update process** with intelligent ACL rule handling * 🧩 Added **geo rule detection & auto-update** for ACL configurations * 🧹 Removed redundant `geoip` / `geosite` rejection rules * 🚫 Removed speedtest-related rejection from ACL rules ### πŸ›‘οΈ **Security & Password Handling** * πŸ” Replaced `pwgen` with **Python `secrets` module** for secure password generation * πŸ”‘ Improved password generation for: * add-user * bulk users * internal password utilities * πŸ§ͺ Removed implicit password auto-generation where not required ### 🧰 **CLI Improvements** * πŸ“€ Added `run_cmd_and_stream` for **real-time command output streaming** * βš™οΈ Improved error messages during **Hysteria2 installation** * πŸ” Updated install scripts to return meaningful output messages * πŸ”’ Replaced `pwgen` with **openssl** for: * obfs password generation * normalsub path generation ### 🌐 **Network & IP Detection** * 🌍 Added **ip.sb fallback** for public IP detection to improve reliability --- ## πŸ› Fixes & Improvements ### πŸ‘€ **User & Username Handling** * βœ… Allowed **underscores (`_`) in usernames** * 🧼 Improved validation regex and error handling * πŸ”§ Updated `remove-user` command syntax * 🧠 Improved user handler robustness ### 🎭 **Masquerade & OBFS** * 🚫 Prevented **OBFS usage when masquerade is enabled** to avoid conflicts ### 🧹 **Scheduler & System Stability** * πŸ”‡ Suppressed noisy `systemctl` output during scheduler setup * 🧯 Improved rule-checking logic for WARP configuration status ### 🧼 **Uninstall & Cleanup** * ♻️ Improved WARP uninstall flow: * Better config loading & error handling * Automatic **ACL rule reset** after uninstall --- ## πŸ“¦ Dependency Updates * ⬆️ **FastAPI** β†’ 0.124.4 * ⬆️ **Certbot** β†’ 5.2.2 * ⬆️ **python-multipart** β†’ 0.0.21