Skip to content

feat(dashboard): show the minimum Xray version for udphop and exp - #986

Merged
T3ST3ST3R0N merged 1 commit into
devfrom
fix/finalmask-udphop-version-hint
Oct 10, 2026
Merged

T3ST3ST3R0N merged 1 commit into
devfrom
fix/finalmask-udphop-version-hint

Conversation

@T3ST3ST3R0N

@T3ST3ST3R0N T3ST3ST3R0N commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #974.

  • The udphop UDP mask exists in Xray from 26.9.9, and the exp noise type from 26.9.30. Checked in XTLS/Xray-core: transport/internet/finalmask/udphop first appears at v26.9.9, and exp in infra/conf/transport_finalmask.go at v26.9.30.
  • Both are pre-releases. The latest stable release is v26.3.27, which rejects a config that uses either, so the whole outbound or subscription config fails to load.
  • This adds a short hint next to the udphop layer and under a noise item set to exp, in the host editor and in the core outbound editor, in en/fa/ru/zh.
  • The interval upper bound from the review is already in feat(finalmask): add Xray udphop UDP mask and exp noise type #974.

Checked: tsc --noEmit reports nothing new compared with dev, vite build passes, and the locale files parse.

Summary by CodeRabbit

  • Documentation
    • Added localized guidance in the settings explaining the minimum Xray versions required for UDP hop and exp noise options, and warning that older versions reject the entire configuration.

The udphop UDP mask exists in Xray from 26.9.9 and the exp noise type
from 26.9.30, both pre-releases; the latest stable Xray (26.3.27) rejects
a config that uses either, so the whole outbound or subscription config
fails to load. Show that next to the udphop layer and under an exp noise
item, in the host editor and the core outbound editor, in all four
languages.
@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1704ad40-9697-4c11-85f1-6cc0c5db23cc

📥 Commits

Reviewing files that changed from the base of the PR and between d94e157 and 60fd57e.


📒 Files selected for processing (6)
  • dashboard/public/statics/locales/en.json
  • dashboard/public/statics/locales/fa.json
  • dashboard/public/statics/locales/ru.json
  • dashboard/public/statics/locales/zh.json
  • dashboard/src/features/core-editor/components/shared/xray-stream-finalmask-editor.tsx
  • dashboard/src/features/hosts/components/finalmask-settings.tsx

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.



Walkthrough

Added translated Xray version hints for UDP hop and exp noise. The hints appear in the core editor and host settings.

Changes

Finalmask version hints

Layer / File(s) Summary
Localized version hints
dashboard/public/statics/locales/*.json, dashboard/src/features/core-editor/components/shared/xray-stream-finalmask-editor.tsx, dashboard/src/features/hosts/components/finalmask-settings.tsx
Added translated hints specifying that UDP hop requires Xray 26.9.9 or newer and exp noise requires Xray 26.9.30 or newer. The hints state that older versions reject the entire configuration.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

Suggested reviewers: x0sina

Merge Risk: ⚪ Minimal · up to 60fd5

The dashboard’s localized Xray version hints are accurate. No concrete merge-blocking risk remains.

Pre-merge checks | Passed 4 | Failed 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 2 files. (4 skipped: 4… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: showing minimum Xray versions for udphop and exp in the dashboard.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.

Full details: Docstring Coverage

Explanation

Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 2 files. (4 skipped: 4 unsupported.)


  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR


🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit reads the version note,
Two settings show which builds to quote.
UDP hop needs its newer date,
Exp noise has a later gate.
Translated hints now guide the way,
And rabbit hops along its day.

Comment @coderabbitai help to get the list of available commands.

@ImMohammad20000

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@T3ST3ST3R0N
T3ST3ST3R0N merged commit dba231e into dev Oct 10, 2026
7 checks passed
@T3ST3ST3R0N
T3ST3ST3R0N deleted the fix/finalmask-udphop-version-hint branch October 22, 2026 12:34
Free-Guy-IR added a commit to Free-Guy-IR/panel that referenced this pull request Nov 2, 2026
…ain bba95f274

Checked with git ls-remote on 2026-10-11 02:55 UTC. Panel dev moved from
d94e157 to 83fe90e with 22 commits; main is still v5.4.1.

- PasarGuard#879 (2d0ca81, loopback Xray client inbounds) is ported by design: the
  fork took the open pull request on 2026-09-25 as 2e7fc45 with migration
  bfd88026565b, the same listener rewrite.
- PasarGuard#934 (a5b28f3) moves from the port queue to a dated waiver until
  2026-11-09: the fork refuses to delete a core that nodes still use
  (W3-013, fix/node-health) instead of restarting those nodes.
- PasarGuard#993 (Hysteria2 FinalMask without a udp mask) is queued until 2026-10-18:
  the fork has the same FinalMask | dict field and the same non-null-safe
  udpHop reads, so a udpHop-only host can fail the whole subscription.
- PasarGuard#984, PasarGuard#985, PasarGuard#986, PasarGuard#989, PasarGuard#944, PasarGuard#864, PasarGuard#948, PasarGuard#951, PasarGuard#778, PasarGuard#774, PasarGuard#787, PasarGuard#994,
  PasarGuard#865, PasarGuard#875, PasarGuard#718, PasarGuard#967, PasarGuard#772, PasarGuard#662, PasarGuard#995 and PasarGuard#913 are queued as
  security: no until 2026-10-25, each with its reason; PasarGuard#913's node-removal
  half is already in the fork through sync_remove_users.
- The branch commits that upstream squash-merged (the three dashboard
  branches, telegram/tests, fix/core-editor-api-section-followup,
  fix/hwid-count-test-cleanup, fix/hysteria-finalmask-quic-only) follow
  their squash, by patch-id or by an equal tree.

Scripts main moved to bba95f274 (PasarGuard#35, PasarGuard#36, PasarGuard#37 after PasarGuard#34). The three
squashes are queued security: no until 2026-10-25, and their pre-squash
branch commits are waived as superseded (equal trees).

Against live upstream the panel gate now fails only on the 17 port-queue
commits classified security: yes, and the forks gate only on node
f72ac0ef (security: yes). No upstream commit is undecided.
Free-Guy-IR pushed a commit to Free-Guy-IR/panel that referenced this pull request Nov 4, 2026
…sarGuard#986)

The udphop UDP mask exists in Xray from 26.9.9 and the exp noise type
from 26.9.30, both pre-releases; the latest stable Xray (26.3.27) rejects
a config that uses either, so the whole outbound or subscription config
fails to load. Show that next to the udphop layer and under an exp noise
item, in the host editor and the core outbound editor, in all four
languages.

(cherry picked from commit dba231e)
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.

2 participants