github MHSanaei/3x-ui v3.2.8

5 hours ago

🚀 Multi-Node Resilience, ECH & Scale

  • 🌐 Multi-node resilience — client/inbound edits survive an offline node, remote updates are scoped to a single inbound, and stale node snapshots no longer re-enable disabled clients or miscount traffic.
  • 🔐 End-to-end ECH — now carried in TLS share links, JSON subscriptions, outbound import, and per-entry external proxy.
  • 🧩 Modern Xray JSON subscriptions — new format with a unified finalmask editor.
  • 🧭 Clash routing — routing rules and an enable-routing option for Clash subscriptions.
  • 💾 DB migration — SQLite ⇄ .dump conversion and Download Migration from the Overview page.

⚡ Performance — scales to ~200k clients

Benchmarked on PostgreSQL 16 (gains are largest on Postgres, where every round-trip pays network latency):

Operation Scale Before After Improvement
Toggle one client (SyncInbound) 50k-client inbound 8m 54s 0.9s ~600× (~99.8%)
Seed clients 50k clients 2m 48s 1.6s ~100× (~99%)
Bulk create large inbound 8m 35s ~1–5s ~99%
Bulk detach large inbound 52s ~4s ~92%
Bulk delete large inbound 16s ~1–4s ~85%
Bulk adjust large inbound 20s ~7–10s ~55%
Delete-all clients 100k-client inbound ❌ crashed (param limit) ~7s now works
Bulk group add/remove 100k clients ~6s scaled
Full client list 100k clients ~1s scaled
GetClientTrafficByEmail flat in N 439ms ~1.5ms ~290× (~99.7%)

🆕 New

⚡ Update & improvement

🐞 Bug fixed

Reports

total
amd64
arm64
386
armv7
armv6
armv5
s390x
windows

Full Changelog: v3.2.7...v3.2.8

Don't miss a new 3x-ui release

NewReleases is sending notifications on new releases.