feat(xray): update xray-core to v26.9.8 and adapt panel

Bump xtls/xray-core to 37ceb8b4b6 (v26.9.8) and the three binary pins
(DockerInit.sh, release.yml Linux + Windows) in lockstep. No deleted
symbols; the impact is entirely on the JSON config surface.

Outbound "proxySettings" is now refused by the config loader (moved to
streamSettings.sockopt.dialerProxy) and a freedom outbound rejects
sockopt.addressPortStrategy. Either key in a stored template would keep
the core from starting after the upgrade, so a new OutboundRemovedKeysFix
seeder rewrites xrayTemplateConfig once: proxySettings.tag becomes
sockopt.dialerProxy (an existing dialerProxy wins) and addressPortStrategy
is dropped from freedom outbounds. Template saves and outbound
subscriptions already run through the vendored loader, so the new
refusals surface there with the core's own message.

REALITY no longer applies a built-in minClientVer (26.3.27) when the
field is empty. The form placeholder and the min/max hints in all 13
locales now say that empty means no minimum.

New upstream keys the Zod schemas would otherwise strip, with form
support where a sibling field already had it:
- blackhole response type "custom" with base64 customResponseData
- realm finalmask ipMode (dual/v4/v6) and portMapping (UPnP / NAT-PMP)
- quicParams brutalDisableLossCompensation, disableChromeParrot,
  disableGSO, disableStatelessReset
- hysteria masquerade proxy xForwarded
- wireguard outbound remoteDNS
- routing rule localOS

freedom.domainStrategy is only deprecated upstream (auto-migrated to
sockopt.domainStrategy with a warning) and is left untouched.
This commit is contained in:
Sanaei committed 2026-09-08 13:49:32 +02:00 Unverified
1 parent a5e68f410f
commit 2ec6c73613
36 files changed
+554 -61

No files matched your search

+2 -2
View File
@@ -124,7 +124,7 @@ jobs:
cd x-ui/bin
# Download dependencies
Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v26.7.28/"
Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v26.9.8/"
if [ "${{ matrix.platform }}" == "amd64" ]; then
fetch ${Xray_URL}Xray-linux-64.zip
unzip Xray-linux-64.zip
@@ -287,7 +287,7 @@ jobs:
cd x-ui\bin
# Download Xray for Windows
$Xray_URL = "https://github.com/XTLS/Xray-core/releases/download/v26.7.28/"
$Xray_URL = "https://github.com/XTLS/Xray-core/releases/download/v26.9.8/"
Invoke-WebRequest @retry -Uri "${Xray_URL}Xray-windows-64.zip" -OutFile "Xray-windows-64.zip"
Expand-Archive -Path "Xray-windows-64.zip" -DestinationPath .
Remove-Item "Xray-windows-64.zip"
+1 -1
View File
@@ -32,7 +32,7 @@ if [ -z "$MTG_MULTI_VER" ]; then
fi
mkdir -p build/bin
cd build/bin
curl -sfLRO "https://github.com/XTLS/Xray-core/releases/download/v26.7.28/Xray-linux-${ARCH}.zip"
curl -sfLRO "https://github.com/XTLS/Xray-core/releases/download/v26.9.8/Xray-linux-${ARCH}.zip"
unzip "Xray-linux-${ARCH}.zip"
rm -f "Xray-linux-${ARCH}.zip" geoip.dat geosite.dat
mv xray "xray-linux-${FNAME}"
@@ -994,6 +994,36 @@ function UdpMaskItem({
placeholder="host:port"
/>
</Form.Item>
<Form.Item label="IP Mode" name={[fieldName, 'settings', 'ipMode']}>
<Select
allowClear
placeholder="dual"
options={[
{ value: 'dual', label: 'Dual' },
{ value: 'v4', label: 'IPv4' },
{ value: 'v6', label: 'IPv6' },
]}
/>
</Form.Item>
<Form.Item
label="Port Mapping (UPnP / NAT-PMP)"
name={[fieldName, 'settings', 'portMapping', 'enabled']}
valuePropName="checked"
>
<Switch />
</Form.Item>
<Form.Item
label="Mapping Timeout (s)"
name={[fieldName, 'settings', 'portMapping', 'timeout']}
>
<InputNumber min={0} placeholder="10 = default" />
</Form.Item>
<Form.Item
label="Mapping Lifetime (s)"
name={[fieldName, 'settings', 'portMapping', 'lifetime']}
>
<InputNumber min={0} placeholder="600 = default" />
</Form.Item>
<Divider plain style={{ margin: '8px 0' }}>
TLS (optional)
</Divider>
@@ -1443,6 +1473,13 @@ function QuicParamsForm({ base, form }: { base: (string | number)[]; form: FormI
<Form.Item label="Brutal Down" name={[...base, 'brutalDown']}>
<Input placeholder="e.g. 100 mbps" />
</Form.Item>
<Form.Item
label="Brutal Disable Loss Comp"
name={[...base, 'brutalDisableLossCompensation']}
valuePropName="checked"
>
<Switch />
</Form.Item>
</>
)}
@@ -1478,6 +1515,23 @@ function QuicParamsForm({ base, form }: { base: (string | number)[]; form: FormI
>
<Switch />
</Form.Item>
<Form.Item
label="Disable Chrome Parrot"
name={[...base, 'disableChromeParrot']}
valuePropName="checked"
>
<Switch />
</Form.Item>
<Form.Item label="Disable GSO" name={[...base, 'disableGSO']} valuePropName="checked">
<Switch />
</Form.Item>
<Form.Item
label="Disable Stateless Reset"
name={[...base, 'disableStatelessReset']}
valuePropName="checked"
>
<Switch />
</Form.Item>
<Form.Item label="Max Incoming Streams" name={[...base, 'maxIncomingStreams']}>
<InputNumber min={8} placeholder="1024 = default" />
Loaded 3 of 36 files, more files were not shown because too many files have changed in this diff. Show more