2365 Commits
Author SHA1 Message Date
Markson Hon f2681e2696 Merge pull request #2130 from wywywywycloud/feat/global-node-probe
feat: add global node check mode and custom target URL
v2.5.16
2026-11-18 19:42:03 +08:00
Markson Hon 40a3c139ed Merge pull request #2111 from nan0in/feat/subscription-node-dns
feat(subscription): 为每个订阅增加节点解析 DNS
2026-11-18 19:29:53 +08:00
Markson Hon ff59fc8757 Merge branch 'main' into feat/subscription-node-dns
Signed-off-by: Markson Hon <50002150+MarksonHon@users.noreply.github.com>
2026-11-18 19:29:42 +08:00
Markson Hon dc09276923 Merge pull request #2071 from wywywywycloud/feat/native-group-strategies
feat: expose native proxy-group balancing strategies
2026-11-18 19:28:11 +08:00
Markson Hon 5a1387ddf8 Merge pull request #2141 from Zakkaus/nodes-latency-sort
feat: sort nodes by latency and select the ones that failed the test
2026-11-18 19:26:18 +08:00
Markson Hon 1f0402f2d5 Merge pull request #2142 from Zakkaus/routinga-iran
feat(gui): add an Iran rule set to the RoutingA templates
2026-11-18 19:25:57 +08:00
Zakk c8674c1f2f fix(gui): name China in the Chinese RoutingA template labels
With Russian and Iranian templates in the same menu, "国内" and "国外"
no longer say which country is meant. The other five locales already
name China.
2026-11-17 23:43:32 +11:00
Zakk 87257fb9f1 feat: sort nodes by latency and select the ones that failed the test
The Proxies page gains a Sort selector next to Source: default order,
lowest latency first or highest latency first. Nodes that are untested,
being tested or whose test failed stay at the end in either direction,
in their original order. compareLatency no longer reports two such
nodes as unequal, which made the sort depend on the engine. The choice
is remembered like the source and the view.

Select failed, in the batch bar, replaces the selection with the listed
nodes whose last test returned TIMEOUT or another error, so they can be
reviewed and removed with the existing Delete. Nothing is deleted
automatically. On a phone with a selection it moves into the more
actions menu.

Refs #2066
2026-11-17 23:31:53 +11:00
Zakk f8063e430c feat(gui): add an Iran rule set to the RoutingA templates 2026-11-17 23:28:45 +11:00
Zakk 819b25b0a8 Merge pull request #2140 from Zakkaus/docker-proxy-loopback
fix: reach the core's proxy ports on loopback inside Docker
2026-11-17 23:17:36 +11:00
Zakk 7b4ad06e75 fix: reach the core's proxy ports on loopback inside Docker
In Docker, subscription and RoutingA updates through the core dialled
the default gateway instead of 127.0.0.1, a leftover from when the core
ran outside v2rayA's container. The core now runs in v2rayA's own
network namespace and, unless port sharing is on, listens on 127.0.0.1
only. With host networking the gateway is the LAN router, and on a
bridge network the request only came back to the container when port
sharing was on and the port was published, so updates in the "proxy"
and "port rules" modes failed with connection refused.

Fixes #2139
2026-11-17 23:11:30 +11:00
2436378140@qq.com 324fed87ce feat(gui): edit a subscription's node DNS 2026-11-17 11:54:14 +08:00
2436378140@qq.com 8fee133019 feat(subscription): resolve node domains with a per-subscription DNS 2026-11-17 11:54:14 +08:00
Mikhail Levin 9c7b87fba6 feat: expose native group strategies with group-scoped fallback 2026-11-15 23:16:39 +03:00
Markson Hon b0299f138c Merge pull request #2058 from wywywywycloud/feat/subscription-update-modes
feat: add per-subscription update policies and recovery
2026-11-15 22:02:46 +08:00
Mikhail Levin aab11c05a5 feat: add per-subscription update policies and explicit recovery consent 2026-11-15 14:56:04 +03:00
Markson Hon 749a304f4d Merge pull request #2124 from Zakkaus/docker-from-apk
build(docker): install the release's Alpine package in the image
2026-11-15 19:17:52 +08:00
Mikhail Levin af52e6d0fb fix(gui): make global node check settings readable on mobile 2026-11-15 07:22:19 +03:00
Mikhail Levin 5360713484 feat: add global node check mode and custom target URL 2026-11-15 07:04:53 +03:00
Markson Pigeonzilla Plus b0f7f5efc3 feat: add ci name 2026-11-14 22:32:43 +08:00
Zakk c241c5e9cd Merge pull request #2126 from Zakkaus/unstable-package-version
ci: give development builds a package version dpkg and pacman accept
2026-11-15 01:10:09 +11:00
Zakk c7504c7546 ci: give development builds a package version dpkg and pacman accept
The test builds of main pass unstable-<date>.r<count>.<commit> to nfpm
as the package version. dpkg refuses it because a Debian version must
start with a digit, and pacman reports the package as corrupted because
the version contains a hyphen; the install check added in #2123 now
fails on the first push to main. Map such versions to the pre-release
0.0.0-unstable.<date>.r<count>.<commit>, which every packager accepts
and which sorts below any release. Release versions are unchanged, and
so are the file names and the version the binaries report.
2026-11-15 01:09:40 +11:00
Markson Hon eec29db8b6 Merge pull request #2123 from Zakkaus/apk-install-check
ci: install the Linux packages before uploading them
2026-11-14 21:52:30 +08:00
Zakk d519a4f247 Merge pull request #2125 from Zakkaus/loong64-musl
ci: link the loong64 binaries statically against musl
2026-11-14 23:28:01 +11:00
Zakk f2b573c3eb fix(ci): apply the matrix's linker flags in the pull request build
The pull request build set EXTRA_LDFLAGS as a prefix of the go build
command and expanded ${EXTRA_LDFLAGS} in the same command, which the
shell does before the prefix assignment takes effect, so the flags were
always empty. The release build sets them in the job environment and
was not affected. Use the matrix value directly.
2026-11-14 23:18:01 +11:00
Zakk ed59956242 ci: install the Linux packages before uploading them
The 2.5.14 apk carried "provides = v2raya", which apk reads as a second
package conflicting with v2raya itself, so it could not be installed on
any Alpine release; nothing in the build noticed, and no package format
was ever installed by CI. Each packaging job now installs its packages
in containers of its own architecture, under QEMU where the runner
cannot run it, and runs v2raya --version: the apk on every architecture
(loong64 from Alpine's own minirootfs, which Docker's alpine image
lacks), the deb wherever Debian publishes an image, the rpm on amd64
and arm64, the Arch package on amd64. A change under install/nfpm or
install/universal now triggers the test build that packages them.
2026-11-14 23:08:37 +11:00
Zakk 543b926d8c ci: link the loong64 binaries statically against musl
loong64 builds with cgo for mattn/go-sqlite3, and zig targeted
loongarch64-linux-gnu, so since 2.5.14 both binaries were linked
dynamically against glibc (interpreter
/lib64/ld-linux-loongarch-lp64d.so.1). The Alpine loongarch64 package
installed but neither binary could start on musl. Target musl and link
statically instead, so the binaries run on glibc and musl systems
alike. -linkmode=external makes the core, which has no cgo package of
its own, go through zig as well; with the internal linker it cannot
resolve the libc symbols of a static build.
2026-11-14 23:07:02 +11:00
Zakk a68a26c52a docs: name the Alpine package as the release does
The README named it installer_alpine_linux_x64_<version>.apk; the release
files are installer_alpine_<arch>_<version>.apk.
2026-11-14 22:17:03 +11:00
Zakk 1a5d62d145 build(docker): install the release's Alpine package in the image
The image downloaded the bare v2raya and v2raya_core binaries and its
own copies of the rule data, so the Alpine package itself was never
installed by anything in the release; the 2.5.14 apk shipped unable to
install. The image now installs installer_alpine_<arch>_<version>.apk
from the release, which makes a broken apk fail the image build, and
takes its geoip.dat and geosite.dat from the package like every other
Linux package. LoyalsoldierSite.dat stays a copy of geosite.dat, as the
image has always shipped it. The script now stops at the first failed
command and on an architecture with no Alpine package.
2026-11-14 22:15:33 +11:00
Markson Hon 4e3d5a98af Merge pull request #2122 from Zakkaus/axios-0.34
chore(deps): bump axios to 0.34.0 and set request headers in place
2026-11-14 18:53:26 +08:00
Zakk d7ac6601b1 fix(gui): set the request headers in place for axios 0.34
axios 0.34 tightened its header types, and the request interceptor's
copy of config.headers into a new object no longer type-checks: the
spread carries the per-method header maps, which the index signature
now rejects. axios 0.x keeps headers as a plain object, so the
interceptor now sets Authorization and X-V2raya-Request-Id on it
directly.
2026-11-14 21:48:04 +11:00
dependabot[bot] 2d0acd4862 chore(deps): bump axios from 0.33.0 to 0.34.0 in /gui
Bumps [axios](https://github.com/axios/axios) from 0.33.0 to 0.34.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.33.0...v0.34.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 0.34.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-14 21:47:12 +11:00
Markson Hon 2dd4d683cc Merge pull request #2057 from wywywywycloud/fix/openwrt-lan-bridge-tproxy
fix(openwrt): include LAN bridges in TPROXY by default
v2.5.15
2026-11-13 08:51:46 +08:00
Markson Hon 610cbe4197 Merge pull request #2119 from Zakkaus/proxies-large-lists
fix(gui): keep the proxies source and mount long node lists a page at a time
2026-11-13 07:03:05 +08:00
Markson Hon 0efd6759df Merge pull request #2118 from Zakkaus/vless-ech
fix(vless): keep the ECH parameter in share links and the core config
2026-11-13 07:02:53 +08:00
Markson Hon eb632b5556 Merge pull request #2117 from Zakkaus/contributing-rules
docs: tighten the contribution rules for assisted pull requests
2026-11-13 07:02:39 +08:00
Markson Hon df15551cc6 Merge pull request #2116 from Zakkaus/docker-iproute2
fix(docker): install iproute2 for TUN mode
2026-11-13 07:02:23 +08:00
Markson Hon 74772accac Merge pull request #2115 from Zakkaus/runtime-dir-mode
fix(asset): do not create a missing XDG runtime directory
2026-11-13 07:01:44 +08:00
Markson Hon 094a3273f2 Merge pull request #2114 from Zakkaus/drop-v2raya-org
fix(gui): drop the parked v2raya.org and link daeuniverse.org
2026-11-13 07:01:31 +08:00
Zakk 9fba5a63b1 docs: tighten the contribution rules for assisted pull requests
Recent pull requests left the "Submitted and answered for by" line
filled in by an assistant or dropped, kept a commit that a later
commit reverted, and described changes their diff no longer had.
CONTRIBUTING.md also told contributors to run "the checks CI runs",
but CI runs neither go vet nor go test, and it named Go 1.26 while
core/ needs 1.27.

- CONTRIBUTING.md: Go 1.27; say which checks CI runs; squash a commit that undoes part of an earlier one; a bug fix
  comes with a failing test or a reproduced failure; check the title,
  description and messages against the diff; the sign-off line and the
  boxes are the contributor's.
- AGENTS.md: ask before changing behaviour that may be intentional; a
  check that ran nothing proves nothing; leave the sign-off line and
  the human's boxes alone.
- Pull request templates: the sign-off line is required and written by
  the contributor.
2026-11-13 02:17:08 +11:00
Zakk 247469a37f fix(gui): drop the parked v2raya.org and link daeuniverse.org
v2raya.org is parked and redirects to spam and malware pages (#2109).
The GUI still sent users there: the mixed-content banner offered a
"switch to alternate site" button that opened http://v.v2raya.org, and
gui/public/CNAME shipped in every build.

The banner now tells the user to open the GUI over http at the
service's own address instead, the CNAME is gone, and the About page
links the project website, daeuniverse.org.

Closes #2109
2026-11-13 02:16:50 +11:00
Zakk 4935c04b82 fix(asset): do not create a missing XDG runtime directory
runtimeAssetDir called os.MkdirAll on $XDG_RUNTIME_DIR/v2raya with mode
0700. When v2rayA runs as root on a system where /run/user does not
exist yet (OpenRC with elogind before any login), that created
/run/user itself as 0700 root:root, and every other user then failed to
get a runtime directory.

The runtime directory belongs to the login manager, so use it only when
it already exists and otherwise put the asset links in the
configuration directory, as a service user without a session already
does. A regular file there is one the user placed, so the lookup now
uses it instead of replacing it with a link to the system copy.

Closes #2092
2026-11-13 02:16:34 +11:00
Hocassian 20ad8905d4 fix(vless): keep the ECH parameter in share links and the core config
A VLESS link with security=tls carries its ECH config list in the ech
query parameter. The service dropped it on import, so the stored node,
the generated core config and the exported share link all lost it, and
the server editor dropped it again when a node was edited and saved.

Parse ech into the stored node, pass it to the core as the TLS
settings' echConfigList, and write it back to share links when the
node uses TLS, in the service and in the editor's codec. The service
reads ech from the raw query so that an unescaped "+" in the base64
list stays a "+" instead of becoming a space. The VLESS
encryption half of the original change landed in 3e374af9.

Closes #2093
2026-11-13 02:15:41 +11:00
Zakk c757d67f1b fix(gui): keep the proxies source and mount long node lists a page at a time
With about 1,400 nodes the proxies page froze for a minute on every
visit: it mounted a card, a menu and a tooltip for every row at once,
and each render looked group membership and selection up with a linear
scan per row. The source filter also went back to "all" every time, so
the user waited for the full list before they could narrow it.

The page now mounts 60 rows and adds the next 60 as a sentinel below
the last row scrolls into view; a new search, source or view starts
again from the first page. Select-all, Ctrl+A, the latency test and the
batch actions still work on the whole filtered list. Membership is
indexed once per member list, so inGroup is a map lookup, each row
keeps the same groups array between renders, and selection is checked
against a set; batch add and remove no longer compare every pair.

The selected source is stored like the view. Before the first sync
only "all" and "local" exist, so a saved subscription source is
dropped only after the subscriptions have loaded and it is not among
them.

Closes #2105
2026-11-13 01:49:47 +11:00
Zakk fef82b286b fix(docker): install iproute2 for TUN mode
TUN mode runs `ip -4 route add default dev tun0 table 2020` and the
matching `ip rule` commands. The image is Alpine, whose busybox `ip`
rejects a numeric table ID ("ip: invalid argument '2020' to 'table'"),
so TUN mode could not start in the official container. iproute2
provides an `ip` that accepts it.

Closes #2077
2026-11-13 01:42:05 +11:00
Markson Hon 50c91f3ee9 fix(ci): install zig with a composite action
_install_zig.yml was declared as a reusable workflow but called from a
step, and a step-level uses only accepts an action, so the workflows
failed to validate. A job-level workflow call cannot help here either,
because Zig has to be on PATH in the same job as the build.

Move the install into .github/actions/install-zig, which pins the Zig
version itself and keeps both call sites on a single step.
2026-11-12 19:16:32 +08:00
Markson Hon 0248748316 feat(ci): build loong64 and riscv64 while pull request 2026-11-12 19:03:57 +08:00
Markson Hon aa72e2bf98 fix(ci): drop v2raya.org and download zig directly 2026-11-12 18:30:56 +08:00
Markson Hon 92caf05bc8 fix(ci): use zig to build core if CGO true v2.5.14 2026-11-09 21:35:28 +08:00
Markson Hon 9e2ca92c79 ci: enable cgo for loong64 2026-11-09 21:26:54 +08:00