Skip to content

feat: upstream catch-up to sing-box 1.14.0-alpha.41 (realm gate, bridge Windows) + pin bump#349

Merged
JegoVPN merged 3 commits into
mainfrom
feat/upstream-catchup-1.14a41
Jul 9, 2026
Merged

feat: upstream catch-up to sing-box 1.14.0-alpha.41 (realm gate, bridge Windows) + pin bump#349
JegoVPN merged 3 commits into
mainfrom
feat/upstream-catchup-1.14a41

Conversation

@JegoVPN

@JegoVPN JegoVPN commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

alpha.41 (2026-07-09) delta, complete per docs-tree diff:

  • hysteria2 realm.ip_version / realm.port_mapping (in+out): nested under the existing realm JsonField, so no control changes — but the documented conflict is a real check-time FATAL, so a new hysteria2-realm-port-mapping-requires-ipv4 error fires when port_mapping.enabled meets ip_version: 6 (binary-verified on alpha.41: "port mapping requires IPv4", exit 1; the valid combos verified silent)
  • bridge on Windows (WinDivert, Administrator): platform badge title + inspector hint updated; the hint now also points at the recommended preferred_by pre-match gate
  • route-rule preferred_by: enum-style values (bridge literal) — we never validated it as a tag reference, so no change needed
  • dhcp client_id reverted upstream: knownFields regen is a no-op (it never entered the generated set)
  • pins: testing 1.14.0-alpha.40 → alpha.41 in all three sites + sha256 (release digests) + CACHE_BUST=2026-07-09-1; stable stays 1.13.14 (no new stable)

Verification

  • unit 1816/1816 · tsc clean · validate:fixtures 19/19 and validate:export-binary 20/20 on the alpha.41 binary (all existing fixtures incl. snell/bridge/api/usbip still pass)
  • realm conflict + valid combinations probed directly against the real alpha.41 binary
  • .version stamp reinstall path exercised (only the testing binary re-downloaded)

🤖 Generated with Claude Code

JegoVPN and others added 2 commits July 9, 2026 14:43
bridge gains Windows (WinDivert) + preferred_by gating guidance; hysteria2
realm gains ip_version + port_mapping; upstream reverts the dhcp client_id
field. knownFields regen is a no-op (nested realm fields are not top-level;
client_id never entered the generated set).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…dows copy, pins

- new hysteria2-realm-port-mapping-requires-ipv4 error (both sides): enabling
  realm.port_mapping with realm.ip_version 6 is a check-time FATAL ("port
  mapping requires IPv4", binary-verified on alpha.41); valid combos verified
  silent
- bridge platform copy gains Windows (badge title + inspector hint, which now
  also points at the recommended preferred_by pre-match gate)
- testing pins 1.14.0-alpha.40 -> alpha.41 (3 files + sha256 + CACHE_BUST);
  route-rule preferred_by needs no reference-validation change (enum-style
  values, we never validated it as a tag)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sbc-validator-gw a3c0ab1 Jul 09 2026, 06:43 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sbcv 0433694 Jul 09 2026, 07:03 AM

…validity gates

The reviewer's probes surfaced a second alpha.41 check-FATAL this catch-up
missed (re-verified with a real cert-backed inbound):

- inbound realm.ip_version must match the listen family: a v4 listen (incl.
  the factory default 127.0.0.1) with ip_version 6, or a non-unspecified v6
  listen with ip_version 4, FATALs ("realm.ip_version 6 conflicts with listen
  address 127.0.0.1"); :: is exempt on the 4-arm. New
  hysteria2-realm-ip-version-listen-conflict error.
- realm.ip_version outside {0,4,6} FATALs on both sides ("invalid IP
  version: 5"). New hysteria2-realm-ip-version-invalid error.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@JegoVPN JegoVPN merged commit c4efd01 into main Jul 9, 2026
3 checks passed
@JegoVPN JegoVPN deleted the feat/upstream-catchup-1.14a41 branch July 9, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant