github Incognito-Coder/tx-ui v0.9.5

2 hours ago

[v0.9.5] - 2026-10-25

🚀 Features & Enhancements

  • Telegram Bot Multi-Protocol & Core Management Overhaul:

    • Full Protocol Credential Support: Upgraded Telegram Bot client addition in internal/web/service/tgbot.go and inbound.go to support automated Curve25519 keypair generation and subnet IP allocation for AmneziaWG (AWG 3.1) and WireGuard, FakeTLS secret generation for MTProto (mtg), cipher-compliant Shadowsocks 2022 key generation, Trojan passwords, Hysteria auth credentials (Auth), and Masque passwords (MasquePass).
    • Direct .conf Profile Delivery: Automatically decodes AmneziaWG vpn:// configuration share links and delivers native .conf profile files directly to Telegram users as document attachments.
    • Interactive Core Control & Rollback: Added /rollback administrative command with status checks and confirmation handling, added quick-action buttons for Restart Xray and Rollback Config in the Telegram bot admin keyboard, and relaxed /restart to support both /restart and /restart force.
    • Multi-Protocol Telegram ID Linking: Upgraded SetClientTelegramUserID to resolve clientId across all protocols (Trojan, Shadowsocks, Hysteria, WireGuard, AmneziaWG, MTProto, Masque) and synchronize tgId between inbounds and the node_clients database.
    • Resilient Traffic Queries: Enhanced GetClientTrafficTgBot to parse both JSON spacing variants ("tgId": %d and "tgId":%d) as well as node_clients database records.
    • Nil-Safety & Process Stability: Added safeguards against nil-pointer dereferences in server usage reporting, online client statistics, and client status lookups when Xray core is restarting, uninitialized, or stopped.
  • Comprehensive Internationalization & Translation Synchronization:

    • Full 13-Locale Key Parity: Completed all missing translation keys across all 13 supported languages (en_US, fa_IR, ar_EG, es_ES, id_ID, ja_JP, pt_BR, ru_RU, tr_TR, uk_UA, vi_VN, zh_CN, zh_TW), achieving 100% key parity with 1,156 keys per language.
    • MTProto Proxy Localization: Translated [pages.xray.mtproto] parameters (secret, adTag, routeThroughXray, routeXrayPort, preferIp, proxyProtocolListener, throttleMaxConnections, pendingHandshakesMaxPerIP) across all 13 locales.
    • AmneziaWG Obfuscation Localization: Added complete AWG 3.1 obfuscation parameter translations for Traditional Chinese (zh_TW).
    • Telegram Bot Control Localization: Added localized labels for quick-action buttons (restartXray, rollbackConfig, confirmRestart, confirmRollback) and updated administrative command documentation.
    • Client Protocol Badges: Added forMtprotoProtocol and forAmneziawgProtocol across all language translation files.
  • XTLS/Xray-Examples Parity & Core Configuration Fixes:

    • SplitHTTP (splithttp) Alias Parity: Full bidirectional compatibility for splithttp and xhttp transport identifiers and settings across JSON import/export, subscription generators (subService.go), and JSON subscription services (subJsonService.go).
    • xHTTP Transport Advanced Features: Added UI and model support for noGRPCHeader (disabling gRPC headers in stream-up and stream-one modes) and scMinPostsIntervalMs (configurable minimum interval for POST uploads in packet-up mode), as well as downloadSettings parsing in outbound configurations.
    • Tunnel Protocol & Modern Xray Migration: Standardized protocol identifier as native "tunnel" across configuration generation, models, and UI (migrating legacy dokodemo-door), and prevented emission of empty address: "" during transparent proxy / followRedirect mode.
    • REALITY target & dest Compatibility: Dual-key synchronization for target (Xray >= 24.10.31) and dest (backwards compatibility), and preserved user-configured custom spiderX paths across subscription and client link generators.
    • TLS OCSP Stapling: Added configurable ocspStapling duration support for certificate file configurations in TlsStreamSettings and UI.
    • Sniffing & ALPN Options: Added fakedns+others to destOverride sniffing options and fromMitm to ALPN options for domain fronting and MITM forwarding configurations.
    • Reverse Proxy Section: Added reverse section (bridges & portals) to top-level xray.Config model and equality comparator.
    • Shadowsocks Single-User Omission Fix: Omitted empty clients: [] array on single-user Shadowsocks inbounds to prevent Xray-core from discarding the primary password.
    • Outbound TLS Peer Verification: Added array parsing support for verifyPeerCertInNames matching Xray v25.2.21+ MITM and domain fronting configurations.
    • Protocol-Level Client Restriction: Strictly prevented adding clients to inbound types that do not accept clients (e.g. tunnel, http, mixed/socks, tun, and single-user shadowsocks) across backend APIs (InboundService, NodeClientService), Telegram bot, inbound tables, client modal, bulk generator, and link management drawer.

Don't miss a new tx-ui release

NewReleases is sending notifications on new releases.