3x-ui/frontend/src/pages
biohazardous-man 97f88fb1a9
feat(sub): modern xray JSON format with unified finalmask editor (#4912)
* feat(sub): add finalmask support to JSON subscriptions

* feat(sub): modern xray JSON format with unified finalmask editor

Drop the legacy JSON subscription format entirely and always emit the
modern xray shape:

- Flatten proxy outbounds (no vnext/servers) for vless/vmess/trojan/
  shadowsocks; hysteria was already flat.
- Express fragment/noise via streamSettings.finalmask instead of the
  legacy direct_out freedom dialer + dialerProxy sockopt.

The global finalmask (tcp/udp masks + quicParams) is stored as a single
setting (subJsonFinalMask) and merged into every generated stream,
replacing the separate subJsonFragment/subJsonNoises/subJsonQuicParams
settings.

Reuse the existing FinalMaskForm (used by inbound/outbound) for the
settings UI via a small bridge component; add a showAll prop so all
TCP/UDP/QUIC sections render for the global case. This supersedes the
hand-rolled Fragment/Noises/quicParams tabs with the full mask editor
(all mask types).

Note: this is a breaking change — JSON subscriptions now require a
recent xray client on the consumer side.

* fix

---------

Co-authored-by: biohazardous-man <biohazardous-man@users.noreply.github.com>
Co-authored-by: MHSanaei <ho3ein.sanaei@gmail.com>
2026-06-04 23:51:48 +02:00
..
api-docs feat(Clash): Add routing rules and enable routing option for Clash subscriptions (#4904) 2026-06-04 21:55:51 +02:00
clients perf(clients): scale add/delete and bulk client operations 2026-06-04 19:41:00 +02:00
groups fix(ui): exit infinite spinner with a retry card on failed initial load 2026-06-01 07:43:32 +02:00
inbounds feat(tls): add ocspStapling to certificate config 2026-06-03 17:49:36 +02:00
index feat(migrate-db): SQLite <-> .dump conversion and Download Migration in Overview 2026-06-04 15:32:22 +02:00
login feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
nodes chore(frontend): bump deps to 0.2.7 and hide node row selection for single node 2026-06-03 12:33:10 +02:00
settings feat(sub): modern xray JSON format with unified finalmask editor (#4912) 2026-06-04 23:51:48 +02:00
sub feat(settings): move the remark model control to the subscription tab 2026-06-03 02:45:16 +02:00
xray feat(xray): add connIdle and bufferSize policy controls 2026-06-03 21:52:37 +02:00