2377 Commits
Author SHA1 Message Date
Zakk 29a76535ca Merge pull request #2150 from Zakkaus/dev-deps-security
chore(deps-dev): bump vitest to 5.1.1 for @vitest/mocker advisories
2026-11-20 18:33:23 +11:00
Zakk 1679a55ca2 chore(deps-dev): bump vitest to 5.1.1 for @vitest/mocker advisories
@vitest/mocker 5.0.1 is affected by GHSA advisories fixed in 5.0.3
(Dependabot alerts #542 and #543). Update the lockfile within the
existing ^5.0.1 range; package.json is unchanged.
2026-11-20 18:29:17 +11:00
Zakk 6fe93bebfe Merge pull request #2149 from Zakkaus/tun-loopback-node
fix(tun): leave loopback proxy nodes out of the physical host routes
2026-11-20 18:27:27 +11:00
Zakk fd2981c998 Merge pull request #2132 from wywywywycloud/fix/geoip-cache-generation
fix: discard obsolete GeoIP cache generations
2026-11-20 18:01:06 +11:00
Zakk 53cc9a11f5 fix(tun): leave loopback proxy nodes out of the physical host routes
With TUN on, every proxy node IP gets a host route through the physical
gateway on macOS and Windows. A node on 127.0.0.1, such as a local
forwarder, then had 127.0.0.1 routed to the Wi-Fi gateway: loopback
broke for every process, the connectivity probe of the core API failed,
the transparent proxy paused, the routes went away, the probe recovered
and the cycle repeated. Loopback nodes are reached without leaving the
host, so collectNodeIPs drops them.

Fixes #2148
2026-11-20 18:00:48 +11:00
Zakk c05a98f09d Merge pull request #2147 from Zakkaus/nft-output-priority
fix(iptables): spell out the DNS redirect priority for older nftables
2026-11-19 22:23:18 +11:00
Zakk f0924d0952 fix(iptables): spell out the DNS redirect priority for older nftables
nftables 1.0.2, which Ubuntu 22.04 ships, rejects the dstnat keyword on
the output hook ("invalid priority expression value in this context"),
so the DNS redirect table failed to load and the core did not start in
redirect mode. Write the same priority as -101; nftables 1.1.7 lists it
back as "dstnat - 1".

Fixes #2133
2026-11-19 22:20:21 +11:00
Markson Hon dd0e408e5f Merge pull request #2145 from wywywywycloud/fix/interrupt-http-checks
fix: cancel HTTP latency checks on Start/Stop and page exit
2026-11-19 13:08:55 +08:00
Codex 5655cff964 fix: cancel HTTP latency checks on core control and page exit 2026-11-19 00:12:19 +03:00
Zakk aa21556997 Merge pull request #2143 from Zakkaus/checklist-admission
ci: close submissions that check an admission box
2026-11-18 23:11:30 +11:00
Zakk 9443eb982f ci: close submissions that check an admission box
CONTRIBUTING.md says a checklist with "checked without reading" or "AI
agent without human review" checked is closed, but nothing did it: #2138
stayed open with both boxes checked until a maintainer noticed. Close
such pull requests and issues when they are opened, edited or reopened.
The workflow reads only the body, so pull_request_target runs no code
from the pull request.
2026-11-18 23:10:55 +11:00
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
Mikhail Levin d3a8f97940 fix: discard obsolete GeoIP cache generations 2026-11-15 07:03:50 +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