diff --git a/changelog b/changelog index f0e8e53..5440a8a 100644 --- a/changelog +++ b/changelog @@ -1,36 +1,79 @@ -# πŸš€ **Release 2.4.11 β€” Masquerade Status, Flexible Sub Paths & Enhanced Password Security** +# πŸ“¦ ** Release 2.5.0 β€” ACL & WARP fixes, safer password generation, service controls πŸš€** -*Released: 2025-12-07* +*Released: 2025-12-19* -### 🎭 **Masquerade Enhancements** +## ✨ New Features -* πŸ”§ Added **masquerade controls** & real-time **status indicator** to the Hysteria settings page -* πŸ”„ Updated API endpoints with improved masquerade handling -* βš™οΈ Added a new **core status check** for masquerade -* 🧹 Refactored masquerade logic to **string-based mode** +### 🧠 **Core & Service Management** -### πŸ”— **Flexible Subscription Paths** +* πŸ” 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 -* 🌐 Implemented **path-based normalsub URLs**, enabling more flexible subscription structures -* ♻️ Added **automatic backward compatibility migration** for old paths +### 🌍 **Geo & ACL Rule Management** -### πŸ” **Password Security Improvements** *(Thanks to @YerdosNar πŸ™Œ)* +* πŸ—ΊοΈ 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 -* πŸ” Added password confirmation loop for safety -* πŸ•ΆοΈ Enabled **masked input** during password entry -* βœ”οΈ General improvements to password validation flow +### πŸ›‘οΈ **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 & Cleanup** +## πŸ› Fixes & Improvements -* 🧹 Removed outdated comment blocks -* πŸ”‡ Commented out old debug print statements +### πŸ‘€ **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** +## πŸ“¦ Dependency Updates + +* ⬆️ **FastAPI** β†’ 0.124.4 +* ⬆️ **Certbot** β†’ 5.2.2 +* ⬆️ **python-multipart** β†’ 0.0.21 -* ⬆️ fastapi β†’ **0.123.9** -* ⬆️ pymongo β†’ **4.15.5** -* ⬆️ certbot β†’ **5.2.1**