|
1 | | -# 🚀 **Release 2.4.11 — Masquerade Status, Flexible Sub Paths & Enhanced Password Security** |
| 1 | +# 📦 ** Release 2.5.0 — ACL & WARP fixes, safer password generation, service controls 🚀** |
2 | 2 |
|
3 | | -*Released: 2025-12-07* |
| 3 | +*Released: 2025-12-19* |
4 | 4 |
|
5 | | -### 🎭 **Masquerade Enhancements** |
| 5 | +## ✨ New Features |
6 | 6 |
|
7 | | -* 🔧 Added **masquerade controls** & real-time **status indicator** to the Hysteria settings page |
8 | | -* 🔄 Updated API endpoints with improved masquerade handling |
9 | | -* ⚙️ Added a new **core status check** for masquerade |
10 | | -* 🧹 Refactored masquerade logic to **string-based mode** |
| 7 | +### 🧠 **Core & Service Management** |
11 | 8 |
|
12 | | -### 🔗 **Flexible Subscription Paths** |
| 9 | +* 🔍 Added **Hysteria2 core version detection** and validation |
| 10 | +* 📊 Display **core version** directly in the web panel |
| 11 | +* 🔁 Added **Restart Hysteria2** button in the web UI with proper fetch handling |
| 12 | +* 🔌 New API endpoint to **restart Hysteria2 service** programmatically |
13 | 13 |
|
14 | | -* 🌐 Implemented **path-based normalsub URLs**, enabling more flexible subscription structures |
15 | | -* ♻️ Added **automatic backward compatibility migration** for old paths |
| 14 | +### 🌍 **Geo & ACL Rule Management** |
16 | 15 |
|
17 | | -### 🔐 **Password Security Improvements** *(Thanks to @YerdosNar 🙌)* |
| 16 | +* 🗺️ Enhanced **Geo file update process** with intelligent ACL rule handling |
| 17 | +* 🧩 Added **geo rule detection & auto-update** for ACL configurations |
| 18 | +* 🧹 Removed redundant `geoip` / `geosite` rejection rules |
| 19 | +* 🚫 Removed speedtest-related rejection from ACL rules |
18 | 20 |
|
19 | | -* 🔁 Added password confirmation loop for safety |
20 | | -* 🕶️ Enabled **masked input** during password entry |
21 | | -* ✔️ General improvements to password validation flow |
| 21 | +### 🛡️ **Security & Password Handling** |
| 22 | + |
| 23 | +* 🔐 Replaced `pwgen` with **Python `secrets` module** for secure password generation |
| 24 | +* 🔑 Improved password generation for: |
| 25 | + |
| 26 | + * add-user |
| 27 | + * bulk users |
| 28 | + * internal password utilities |
| 29 | +* 🧪 Removed implicit password auto-generation where not required |
| 30 | + |
| 31 | +### 🧰 **CLI Improvements** |
| 32 | + |
| 33 | +* 📤 Added `run_cmd_and_stream` for **real-time command output streaming** |
| 34 | +* ⚙️ Improved error messages during **Hysteria2 installation** |
| 35 | +* 🔁 Updated install scripts to return meaningful output messages |
| 36 | +* 🔒 Replaced `pwgen` with **openssl** for: |
| 37 | + |
| 38 | + * obfs password generation |
| 39 | + * normalsub path generation |
| 40 | + |
| 41 | +### 🌐 **Network & IP Detection** |
| 42 | + |
| 43 | +* 🌍 Added **ip.sb fallback** for public IP detection to improve reliability |
22 | 44 |
|
23 | 45 | --- |
24 | 46 |
|
25 | | -## 🛠️ **Fixes & Cleanup** |
| 47 | +## 🐛 Fixes & Improvements |
| 48 | + |
| 49 | +### 👤 **User & Username Handling** |
26 | 50 |
|
27 | | -* 🧹 Removed outdated comment blocks |
28 | | -* 🔇 Commented out old debug print statements |
| 51 | +* ✅ Allowed **underscores (`_`) in usernames** |
| 52 | +* 🧼 Improved validation regex and error handling |
| 53 | +* 🔧 Updated `remove-user` command syntax |
| 54 | +* 🧠 Improved user handler robustness |
| 55 | + |
| 56 | +### 🎭 **Masquerade & OBFS** |
| 57 | + |
| 58 | +* 🚫 Prevented **OBFS usage when masquerade is enabled** to avoid conflicts |
| 59 | + |
| 60 | +### 🧹 **Scheduler & System Stability** |
| 61 | + |
| 62 | +* 🔇 Suppressed noisy `systemctl` output during scheduler setup |
| 63 | +* 🧯 Improved rule-checking logic for WARP configuration status |
| 64 | + |
| 65 | +### 🧼 **Uninstall & Cleanup** |
| 66 | + |
| 67 | +* ♻️ Improved WARP uninstall flow: |
| 68 | + |
| 69 | + * Better config loading & error handling |
| 70 | + * Automatic **ACL rule reset** after uninstall |
29 | 71 |
|
30 | 72 | --- |
31 | 73 |
|
32 | | -## 📦 **Dependency Updates** |
| 74 | +## 📦 Dependency Updates |
| 75 | + |
| 76 | +* ⬆️ **FastAPI** → 0.124.4 |
| 77 | +* ⬆️ **Certbot** → 5.2.2 |
| 78 | +* ⬆️ **python-multipart** → 0.0.21 |
33 | 79 |
|
34 | | -* ⬆️ fastapi → **0.123.9** |
35 | | -* ⬆️ pymongo → **4.15.5** |
36 | | -* ⬆️ certbot → **5.2.1** |
|
0 commit comments