Skip to content

v0.9.9

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 06:54

[v0.9.9] - 2026-11-29

πŸš€ Features & Enhancements

  • Remote Nodes & External Inbounds (Multi-Server Architecture):

    • Centralized Control Plane + Remote Traffic Exit: Assign any inbound to execute on an external node server while keeping all client records, quotas, expirations, online limits, and subscriptions centralized on the main panel (internal/database/model, internal/web/service/node.go).
    • Standalone x-ui node Agent (cmd/node.go, internal/node/): Lightweight node daemon secured with panel-generated pinned ECDSA TLS certificates and per-node Bearer tokens, managing remote Xray lifecycle, incremental config sync, health telemetry (CPU, RAM, uptime, Xray version/state), live log streaming, and traffic delta reporting.
    • One-Click Node Setup (systemd & OpenWrt procd): Built-in install script generator with automatic environment setup (/etc/x-ui/x-ui-node.env), per-node traffic usage coefficient multipliers (0.5x, 1x, 1.5x, 2x, custom), and either panel-inherited or per-node validated Xray JSON templates.
    • Live Sync, Traffic Aggregation & Subscriptions: Automatic HotSyncSession config pushes on inbound/client mutations, background NodeMonitorJob health & traffic collection, and automatic node host substitution in client links and /sub endpoints (internal/sub).
    • Nodes Management UI & 13-Language Localization: New /panel/nodes page (nodes.html) featuring cluster KPI cards, status filter pills, empty-state onboarding, click-to-copy endpoints, CPU/RAM usage bars, searchable node logs modal, inbound node selector (dbinbound.js, inbounds.html), and full translations across all 13 supported locales.
  • Full OpenWrt & musl libc Router Support:

    • Static musl Release Binaries & Build Tooling: Updated .github/workflows/release.yml, build.sh, and build.ps1 to cross-compile Linux release binaries statically against musl (cross-tools/musl-cross toolchains with CGO_CFLAGS="-D_LARGEFILE64_SOURCE", -linkmode external -extldflags '-static', GOMIPS=softfloat for 32-bit MIPS, or pure-Go CGO_ENABLED=0 static fallback on non-MIPS targets), bundle x-ui.init, add openwrt-* target aliases, pass -mod=readonly when vendor/ is out of sync (build.sh, build.ps1, Dockerfile, release.yml), and guard GitHub Release uploads with startsWith(github.ref, 'refs/tags/') for branch workflow runs.
    • OpenWrt procd Init Script (x-ui.init): Added native /etc/init.d/x-ui procd service support loading /etc/x-ui/x-ui.env, exporting XUI_BIN_FOLDER, XUI_DB_FOLDER, and XUI_LOG_FOLDER, setting nofile limits, and cleaning up child processes on stop.
    • Pure POSIX /bin/sh Installer & Management Script: Rewrote install.sh and x-ui.sh with LF line endings and zero bash dependencies to run natively on OpenWrt BusyBox ash, opkg/apk, procd, UCI firewall rules, logread logs, kmod-tcp-bbr, musl detection, MIPS/MIPSLE endianness detection, and wget/uclient-fetch/curl.
    • Runtime OpenWrt Portability & Manual Install Docs: Updated Go binary path resolution (config/config.go, main.go, xray/process.go, internal/mtproto/process.go), in-panel self-update & restart/log fallbacks (internal/web/controller/server.go, internal/web/service/server.go), and added POSIX sh + procd manual installation guides across all localized READMEs (README.md, README.fa_IR.md, README.ar_EG.md, README.es_ES.md, README.ru_RU.md, README.zh_CN.md).
  • Subscription Template File Upload & Live Editor Controls:

    • Local sub.html Template Upload Section: Added a dedicated "Upload File" tab with an interactive drag-and-drop zone (a-upload-dragger) in the Sub Template Manager modal (settings.html) to upload local sub.html, index.html, or .tpl files with direct file apply and editor-load options.
    • Editor Upload Toolbar Action: Added an "Upload File" button directly inside the Live Editor toolbar (settings.html), allowing administrators to import local HTML files directly into CodeMirror and inspect live rendered output immediately.
    • subCustomUI Persistence on Save: Updated ServerController.saveSubTemplateContent (internal/web/controller/server.go) to persist SetSubCustomUI(true) when saving template content.
    • 13-Language i18n: Added translation keys for all new upload actions and tabs across all 13 supported languages.

πŸ› Bug Fixes & Improvements

  • Nodes Page Mobile Layout: Refined the mobile toolbar and table spacing, moved row actions into the overflow menu, removed inline IP and template badges, and aligned status badges.
  • Remote Node Client Enforcement & Traffic Retention: Keep disabled, expired, and quota-exhausted clients out of active inbound configs, force remote node syncs when client eligibility changes, and preserve pending traffic totals across Xray restarts.
  • Sub Template Modal Mobile Layout & CodeMirror Scrolling:
    • Mobile Card Button Overlap Resolution: Eliminated action button overlap on theme catalog cards across mobile screens by switching to standardized <a-button> components and responsive flex wrappers (.sub-theme-card-actions).
    • Smooth CodeMirror Scrolling & Mobile Sizing: Fixed code editor scrolling and touch trapping on iOS and mobile devices by removing overflow: hidden !important; on .CodeMirror, enabling -webkit-overflow-scrolling: touch and overscroll-behavior: contain on .CodeMirror-scroll, making editor and preview panes responsive (100% width on mobile), and auto-refreshing CodeMirror layout on tab switches.
  • Documentation & Stargazers Links:
    • Updated the "Star History" section and replaced stargazers chart links across all localized READMEs (README.md, README.ar_EG.md, README.es_ES.md, README.fa_IR.md, README.ru_RU.md, README.zh_CN.md).

πŸ”§ Dependencies

  • Updated Go modules in go.mod / go.sum:
    • github.com/valyala/fasthttp: v1.78.0 β†’ v1.80.0
    • github.com/amnezia-vpn/amneziawg-go/v3: v3.1.20260828 β†’ v3.1.20261116
    • modernc.org/sqlite: v1.55.0 β†’ v1.62.0
    • modernc.org/libc: v1.74.1 β†’ v1.81.2
    • golang.org/x/net: v0.62.0 β†’ v0.63.0
    • golang.org/x/crypto: v0.58.0 β†’ v0.59.0
    • github.com/quic-go/quic-go: v0.64.1 β†’ v0.65.0
    • github.com/klauspost/compress: v1.20.3 β†’ v1.20.4
    • Indirect dependency updates: golang.org/x/text (v0.43.0 β†’ v0.44.0), golang.org/x/sync (v0.24.0 β†’ v0.25.0), github.com/dustin/go-humanize (v1.0.1 β†’ v1.1.0), github.com/ncruces/go-strftime (v1.0.0 β†’ v1.1.0), and modernc.org/memory (v1.11.0 β†’ v1.12.1).