2315 Commits
Author SHA1 Message Date
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
Markson Hon 3cde5b6609 Merge pull request #2108 from v2rayA/dependabot/npm_and_yarn/gui/vite-6.4.5
chore(deps-dev): bump vite from 6.4.4 to 6.4.5 in /gui
2026-11-05 21:38:21 +08:00
dependabot[bot] 2f71d06ade chore(deps-dev): bump vite from 6.4.4 to 6.4.5 in /gui
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.4.4 to 6.4.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.4.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.4.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 12:36:20 +00:00
Markson Hon 9a03ba7fd4 Merge pull request #2090 from v2rayA/dependabot/npm_and_yarn/gui/vite-6.4.4
chore(deps-dev): bump vite from 6.4.3 to 6.4.4 in /gui
2026-11-05 20:35:10 +08:00
Markson Hon 758250157a Merge pull request #2098 from v2rayA/dependabot/npm_and_yarn/gui/happy-dom-21.0.4
chore(deps-dev): bump happy-dom from 20.14.5 to 21.0.4 in /gui
2026-11-05 20:34:55 +08:00
Markson Hon 3f3841eaed Merge pull request #2099 from v2rayA/dependabot/npm_and_yarn/gui/fast-uri-3.1.9
chore(deps): bump fast-uri from 3.1.8 to 3.1.9 in /gui
2026-11-05 20:34:34 +08:00
Markson Hon ae7e2d79b2 Merge pull request #2100 from v2rayA/dependabot/npm_and_yarn/gui/serialize-javascript-7.1.4
chore(deps): bump serialize-javascript from 7.1.2 to 7.1.4 in /gui
2026-11-05 20:34:16 +08:00
Markson Hon 5407269a4f Merge pull request #2103 from v2rayA/dependabot/npm_and_yarn/gui/vue-i18n-11.4.14
chore(deps): bump vue-i18n from 11.4.12 to 11.4.14 in /gui
2026-11-05 20:33:56 +08:00
Markson Hon fad8c07889 Merge pull request #2104 from v2rayA/dependabot/npm_and_yarn/gui/follow-redirects-1.16.2
chore(deps): bump follow-redirects from 1.16.0 to 1.16.2 in /gui
2026-11-05 20:33:35 +08:00
Markson Hon 60e0f806dd Merge pull request #2107 from HougeLangley/v2raya-nft-auto
iptables: fall back to nft when legacy mangle is unavailable
2026-11-05 20:32:50 +08:00
HougeLangley 7f03ed9953 iptables: fall back to nft when legacy mangle is unavailable
Auto mode previously trusted the iptables userspace backend alone. On PREEMPT_RT kernels, legacy xtables is unavailable even when the legacy iptables binary is installed. Probe the mangle table read-only and select nft only for the specific missing-table failure. Add regression coverage for backend detection and conservative error handling.
2026-11-05 17:13:51 +08:00
Markson GuGa Beyond 3c32891eb3 docs: document the Alpine apk package
The release page now carries installer_alpine_<arch>_<version>.apk. It is
built without a key from Alpine's trust store, so apk needs
--allow-untrusted.
v2.5.13
2026-11-02 11:58:34 +08:00
Markson GuGa Beyond a3a39d8174 ci: build the Linux packages with nfpm and add Alpine apk packages
The fpm invocation and its four hand-written architecture tables give way
to nfpm driven by install/nfpm/v2raya.yaml: nfpm maps the Go architecture
onto the name each packager expects, and writes the packages straight to
their published file names, so the rename step goes away too.

The package file names and the architecture matrix stay as they were, and
an apk package is added for Alpine, which boots the OpenRC script instead
of a systemd unit.

after_install.sh and after_upgrade.sh were the fpm hooks; their only
caller is gone, and the nfpm config carries equivalent maintainer
scripts.
2026-11-02 11:58:29 +08:00
Markson GuGa Beyond fb6b7f3ec4 build: add an nfpm config for the Linux packages
install/nfpm/v2raya.yaml describes every Linux package of a release: the
two binaries, the rule data the packaging job downloads, the desktop
entry, nine icon sizes rendered from gui/src/assets/img/v2raya-icon.svg,
and, per packager, either the systemd units or the OpenRC init script
together with its conf.d file.

The rule data is shipped as regular files rather than as symlinks into a
v2ray-rules-dat package, which no distribution provides.

The maintainer scripts reload systemd where it exists and do nothing on
Alpine.
2026-11-02 11:58:22 +08:00
Markson GuGa Beyond 838210b988 ci: drop mips packages 2026-11-02 11:30:48 +08:00
Markson GuGa Beyond 6c1dc147e1 ci: don't install gcc for mips anymore 2026-11-02 11:24:09 +08:00
dependabot[bot] 7befe38812 chore(deps): bump follow-redirects from 1.16.0 to 1.16.2 in /gui
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.16.0 to 1.16.2.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.16.0...v1.16.2)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-version: 1.16.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 03:19:17 +00:00
dependabot[bot] 3886be4065 chore(deps): bump vue-i18n from 11.4.12 to 11.4.14 in /gui
Bumps [vue-i18n](https://github.com/intlify/vue-i18n/tree/HEAD/packages/vue-i18n) from 11.4.12 to 11.4.14.
- [Release notes](https://github.com/intlify/vue-i18n/releases)
- [Changelog](https://github.com/intlify/vue-i18n/blob/v11.4.14/CHANGELOG.md)
- [Commits](https://github.com/intlify/vue-i18n/commits/v11.4.14/packages/vue-i18n)

---
updated-dependencies:
- dependency-name: vue-i18n
  dependency-version: 11.4.14
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 03:19:13 +00:00
Markson GuGa Beyond 18eaf5448c ci: disable all mips builds for debian has dropped gcc-mipsel-linux-gnu 2026-11-02 11:18:18 +08:00
Markson Hon 0382d475ae Merge pull request #2102 from MarksonHon/main
feat: upgrade xray core to v26.10.31
2026-11-02 11:09:58 +08:00
Markson GuGa Beyond 12ceb33669 feat: upgrade go version to 1.27 2026-11-02 11:05:18 +08:00
Markson GuGa BeyondandCopilot 3e374af969 feat(vless): support encryption and REALITY ML-DSA-65 verify key
Xray v26.10.31 rejects VLESS with encryption none and no TLS or REALITY on public addresses, so post-quantum encryption strings must reach the core. Parse, generate and export the vless encryption and pqv share-link parameters, and expose both in the server editor with translations for all locales.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-02 10:58:07 +08:00
Markson GuGa BeyondandCopilot 3f39ac1016 chore(core): bump xray-core to v26.10.31
Update the dependency and its transitive modules. Xray moved PacketConnWrapper from transport/internet to common/net, so refresh the references in the TUIC and Juicity outbound comments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-02 10:58:07 +08:00
dependabot[bot] 964772645b chore(deps): bump serialize-javascript from 7.1.2 to 7.1.4 in /gui
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 7.1.2 to 7.1.4.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v7.1.2...v7.1.4)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-version: 7.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-27 23:19:15 +00:00
dependabot[bot] 6365cdb23b chore(deps): bump fast-uri from 3.1.8 to 3.1.9 in /gui
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.8...v3.1.9)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-27 23:19:14 +00:00
dependabot[bot] ef3b3aae86 chore(deps-dev): bump happy-dom from 20.14.5 to 21.0.4 in /gui
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 20.14.5 to 21.0.4.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v20.14.5...v21.0.4)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 21.0.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-27 23:19:13 +00:00
Markson Hon b693e5fc45 Merge pull request #2089 from v2rayA/dependabot/go_modules/core/github.com/klauspost/compress-1.18.7
chore(deps): bump github.com/klauspost/compress from 1.17.4 to 1.18.7 in /core
2026-10-28 07:18:08 +08:00
Markson Hon 33f1230057 Merge pull request #2085 from v2rayA/dependabot/npm_and_yarn/gui/source-map-js-1.2.2
chore(deps): bump source-map-js from 1.0.2 to 1.2.2 in /gui
2026-10-28 07:17:57 +08:00
dependabot[bot] e858fba57b chore(deps-dev): bump vite from 6.4.3 to 6.4.4 in /gui
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.4.3 to 6.4.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.4.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.4.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-21 01:05:53 +00:00
dependabot[bot] cd5c339e2d chore(deps): bump github.com/klauspost/compress in /core
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.17.4 to 1.18.7.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Commits](https://github.com/klauspost/compress/compare/v1.17.4...v1.18.7)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-version: 1.18.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-20 19:44:04 +00:00
Markson Hon 1ee48148dd Merge pull request #2086 from miaomiaoyaoqimiaomaoxian/fix/system-proxy-mutual-exclusion
fix(v2ray): keep system proxy and tun mutually exclusive
2026-10-16 07:46:23 +08:00
miao db38d18595 fix(v2ray): keep system proxy and tun mutually exclusive
deleteTransparentProxyRules returned before touching the system proxy
whenever no snapshot had been persisted. GetCleanCommands already
handles both cases -- it restores the saved original when a snapshot
exists and falls back to disabling ProxyEnable when none does -- so the
guard only suppressed the fallback that makes the two modes exclusive.

The leftover registry value pointed at 52345, which only the
system_proxy mode ever listens on. Switching back to tun therefore left
proxy-using applications connected to a dead port: their sockets stayed
in SYN_SENT until the process was restarted.

The regression test drives deleteTransparentProxyRules with no snapshot
and asserts the proxy is disabled. Against the previous code it fails
with "the system proxy was never touched"; it passes with this change.
2026-10-15 11:41:17 +08:00
dependabot[bot] efb7abf392 chore(deps): bump source-map-js from 1.0.2 to 1.2.2 in /gui
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.0.2 to 1.2.2.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/7rulnik/source-map-js/compare/v1.0.2...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-10 03:57:28 +00:00
Markson Hon cbc5359c08 Merge pull request #2074 from v2rayA/dependabot/npm_and_yarn/gui/serialize-javascript-7.1.2
chore(deps): bump serialize-javascript from 7.1.1 to 7.1.2 in /gui
2026-10-10 11:56:05 +08:00
Markson Hon 7609aed42c Merge pull request #2080 from ArianPashae/fix/drop-legacy-outbound-tables
fix(db): drop obsolete legacy outbound tables to prevent foreign key constraint failed (787) on node deletion
v2.5.10
2026-10-09 19:56:54 +08:00
Markson Hon 2187b7e899 Merge pull request #2082 from ILIKEFUTANARI/feat/dns-modes
feat: separate DNS service from interception
2026-10-09 19:34:35 +08:00
ILIKEFUTANARI 6d6c1c117f feat: separate DNS service and interception modes 2026-10-09 17:43:48 +08:00
ILIKEFUTANARI e010d19a5d feat: add DNS interception opt-out 2026-10-09 17:43:48 +08:00
Arian Pashae 48bcc0932d fix(db): drop obsolete legacy outbound tables to prevent foreign key errors on node deletion 2026-10-08 22:09:02 +03:30
dependabot[bot] fa3b8061ec chore(deps): bump serialize-javascript from 7.1.1 to 7.1.2 in /gui
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v7.1.1...v7.1.2)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-version: 7.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-04 17:41:03 +00:00
Markson Hon 0e3a2ddbee Merge pull request #2073 from big-head-pigeon/fix/transparent-inbound-port-sharing
fix: transparent inbound follows PortSharing so redirected/forwarded (docker) traffic reaches it
v2.5.9
2026-10-04 17:20:11 +08:00
Markson Hon 1817643571 Merge pull request #2072 from wywywywycloud/feat/routinga-url-import
Add RoutingA import and scheduled updates from URL
2026-10-04 17:12:15 +08:00
big-head-pigeon 5a1b0c4213 fix(kernel/v2ray): transparent inbound follows PortSharing like socks/http/dns-in
Since v2.4 the dokodemo transparent inbound binds 127.0.0.1 only, so
traffic intercepted by the PREROUTING transparent rules and REDIRECTed
to the interface address (e.g. docker bridge containers) can never
reach it: all bridge-container TCP breaks while transparent proxy is
enabled, a regression from 2.2.x where the inbound listened on 0.0.0.0.

Let the inbound follow the existing 'Allow connections from LAN'
(PortSharing) setting, which the socks/http inbounds
(template_inbound.go) and dns-in (template_outbound.go) already follow.
Default behavior is unchanged (loopback-only with PortSharing off);
with PortSharing on, redirected/forwarded traffic works again.
2026-10-04 15:06:25 +08:00
Markson Hon a8334a2e71 Merge pull request #2069 from wywywywycloud/fix/openwrt-nftables-dns
fix(openwrt): install native nftables DNS redirects
2026-10-02 08:28:33 +08:00
Mikhail Levin 5ec0451a66 fix(openwrt): limit fatal DNS redirect setup to Linux proxy modes 2026-10-01 13:05:11 +03:00
Markson Hon 94693ebbe1 Merge pull request #2067 from himeer/feature/xhttp-range-json-shapes
Kernel: write xhttp ranges in the xray-core's form, import them from 3x-ui links
2026-10-01 11:34:57 +08:00
Vladimir E. Tkachuk 0f366344ea fix(gui): reject XHTTP range values below the core's bounds 2026-10-01 12:38:14 +10:00
Vladimir E. Tkachuk 86f57fb05d fix(kernel): drop XHTTP ranges the core would panic on 2026-10-01 12:37:48 +10:00
Mikhail Levin 324351f78d Add RoutingA rule import and scheduled updates from URL 2026-10-01 03:54:50 +03:00