|
5 | 5 | One script. Full control. Zero hassle. |
6 | 6 | </p> |
7 | 7 | <p align="center"> |
8 | | - <img src="https://img.shields.io/badge/version-1.0.1-brightgreen" alt="Version"/> |
| 8 | + <img src="https://img.shields.io/badge/version-1.0.2-brightgreen" alt="Version"/> |
9 | 9 | <img src="https://img.shields.io/badge/license-MIT-blue" alt="License"/> |
10 | 10 | <img src="https://img.shields.io/badge/engine-Rust_(telemt_3.x)-orange" alt="Engine"/> |
11 | 11 | <img src="https://img.shields.io/badge/platform-Linux-lightgrey" alt="Platform"/> |
@@ -500,11 +500,20 @@ mtproxymax telegram remove # Remove bot completely |
500 | 500 |
|
501 | 501 | ## 📋 Changelog |
502 | 502 |
|
| 503 | +### v1.0.2 — Persistent Traffic & TUI Performance |
| 504 | + |
| 505 | +- **Persistent Traffic Counters** — Traffic stats (TRAFFIC IN / TRAFFIC OUT) now survive container restarts ([#13](https://github.com/SamNet-dev/MTProxyMax/issues/13)) |
| 506 | +- **Always-On Traffic Tracking** — Cumulative traffic saved to disk every 60s, even without Telegram bot enabled |
| 507 | +- **Pre-Stop Traffic Flush** — Final traffic snapshot saved before every stop/restart, no data loss on clean shutdown |
| 508 | +- **TUI Batch Stats Loading** — Single metrics fetch + single file read replaces per-user subprocess spawning |
| 509 | +- **Atomic File Writes with Locking** — Traffic files use `flock` to prevent race conditions between daemon and CLI |
| 510 | +- **Fixed In/Out Direction Mapping** — Consistent `from_client`=in, `to_client`=out across all functions |
| 511 | + |
503 | 512 | ### v1.0.1 — Batch Secret Management |
504 | 513 |
|
505 | | -- **Batch Add** — `secret add-batch <l1> <l2> ...` adds multiple secrets with a single restart |
| 514 | +- **Batch Add** — `secret add-batch <l1> <l2> ...` adds multiple secrets with a single restart ([#12](https://github.com/SamNet-dev/MTProxyMax/issues/12)) |
506 | 515 | - **Batch Remove** — `secret remove-batch <l1> <l2> ...` removes multiple secrets with a single restart |
507 | | -- **`--no-restart` flag** — `secret add/remove --no-restart` for scripting and automation |
| 516 | +- **`--no-restart` flag** — `secret add/remove/add-batch/remove-batch --no-restart` for scripting and automation |
508 | 517 | - **TUI options** — Interactive menu options [6] and [7] for batch operations |
509 | 518 |
|
510 | 519 | ### v1.0.0 — Engine v3.3.14 |
|
0 commit comments