275 Commits
Author SHA1 Message Date
Zakk 0daa826396 build(gui): Vuetify 4, TypeScript, Pinia, vue-i18n 11 in composition mode, Vitest, a PWA
The toolchain of the rewrite: Vite with vite-plugin-pwa (autoUpdate,
/api/ never cached), vue-tsc, ESLint's flat config, Vitest with
happy-dom and a mount helper, an i18n check and a gzip size gate in CI,
Red Hat Text self-hosted under /static/fonts.
2026-09-19 23:17:05 +10:00
Zakk e05e672fe5 build: drop the tinytun build tag and ship Wintun from its own package
The binaries workflow, the PR workflow and build.ps1 no longer pass
-tags tinytun; there is nothing behind the tag. The Windows installer
takes wintun.dll from the official 0.14.1 package, pinned by hash, one
DLL per architecture, and deletes a tinytun.exe an earlier installer left
in the application's bin directory. The README states what the built-in
TUN does and its known limitation on Windows and macOS.
2026-09-19 10:34:56 +10:00
Markson GuGa Beyond cffe97ca3d core: migrate xray-core from git submodule to go mod and port QUIC outbounds to daeuniverse/outbound
The vendored core/xray submodule is dropped. xray-core is now pinned via a
go mod pseudo-version resolving to v26.7.28 (commit 5ca6f4b7); v26 tags are
not directly resolvable because Xray's module path lacks the /v26 suffix, so
the pin must be made by commit hash. CI workflows and the AUR PKGBUILD no
longer need "submodules: recursive" / "git submodule update".

The juicity and tuic outbounds are ported from softwind to
github.com/daeuniverse/outbound (temporarily replaced with an olicesx fork
pending sticky-ip support):

- Dialer calls use DialContext; the network string is decoded with
  netproxy.ParseMagicNetwork instead of a "udp" prefix check, since it may
  be binary-encoded via netproxy.MagicNetwork.
- A packetConnAdapter wraps xray's UDP dial result: outbound asserts the
  underlay conn to netproxy.PacketConn whose ReadFrom/WriteTo signatures
  (netip.AddrPort / string) differ from net.PacketConn, while xray returns
  *internet.PacketConnWrapper.
2026-09-18 13:15:45 +08:00
Markson Hon 71e5442fc5 ci: update tinytun to v0.0.3-alpha.3 for Windows installers 2026-09-05 07:32:52 +08:00
Markson Pigeonzilla Plus 3138f506b7 fix(ci): rewrite import SSH key 2026-08-22 15:35:42 +08:00
Markson Pigeonzilla Plus 9a16fc9fe2 fix(ci): aur v2raya package not needed update sha256 2026-08-22 15:14:34 +08:00
Markson Pigeonzilla Plus 36d19aa141 fix(ci): add ssh config for AUR release 2026-08-22 15:01:16 +08:00
Markson Pigeonzilla Plus 3c72d6fc33 fix(ci): try to fix add ssh key 2026-08-22 12:43:55 +08:00
Markson Pigeonzilla Plus ef37dcc407 fix(ci): commit should be to all included file 2026-08-22 12:03:16 +08:00
Markson Pigeonzilla Plus 6069f8b687 fix(ci): disable refresh Cloudflare for v2raya.org is down 2026-08-22 11:50:09 +08:00
Markson Pigeonzilla Plus 60017cf264 fix(ci): AUR should use SSH key but not GPG key 2026-08-22 11:32:36 +08:00
Markson Pigeonzilla Plus ef8e85031c fix(ci): fix v2raya-bin's missing data file 2026-08-22 11:25:21 +08:00
Markson Pigeonzilla Plus dcb7596435 ci: run updpkgsums with non-root user in podman container 2026-08-22 09:37:24 +08:00
Markson Pigeonzilla Plus b7da452276 ci: re-init AUR release 2026-08-22 09:02:48 +08:00
Markson Hon e185ac0691 ci: fix pull_request.yml 2026-08-18 22:25:11 +08:00
Markson Hon fbd5cc2c11 ci: pr builds should include core 2026-08-18 21:41:28 +08:00
Markson GuGa Beyond b25cc46c80 ci: update checkout to v7 2026-08-09 15:42:07 +08:00
Markson Pigeonzilla Plus 1edc9c868b ci: disable AUR release 2026-07-22 20:29:37 +08:00
Markson Pigeonzilla Plus cc2a0ca00e fix(ci): use printf instead of here-string to write SSH key without trailing newline
The <<< here-string appends an extra newline to the key file, which can
corrupt OpenSSH private key format and cause 'Bad passphrase' errors.
printf writes the exact content of the variable without modification.
2026-06-30 03:46:02 +08:00
Markson Pigeonzilla Plus 6697d44b18 feat(v2raya-bin): add v2raya_core binary to AUR package
- Add v2raya_core source downloads and checksums for all architectures
  in PKGBUILD and .SRCINFO
- Install v2raya_core to /usr/bin/v2raya_core in package step
- Update deploy_v2raya_bin.sh to compute and substitute v2raya_core hashes
- Fix release workflow: download v2raya_core binaries for hash computation
- Fix release workflow: use heredoc for SSH key to avoid corruption
- Fix release workflow: correct ssh-add_expect script path
2026-06-30 03:15:25 +08:00
Markson Pigeonzilla Plus 05a743ed30 ci: format yaml format 2026-06-25 22:33:26 +08:00
Markson Pigeonzilla Plus a4a6740a5c ci: add GeoIP and GeoSite to Linux packages 2026-06-25 22:32:08 +08:00
Markson Hon cfe5a69049 chore: update xray submodule to v26.6.1 and replace allowInsecure with cert pinning
- Update core/xray submodule from v1.260327.0 (v26.3.27) to v26.6.1
- Remove deprecated AllowInsecure field from all protocol structs
- Add PinnedPeerCertSha256 and VerifyPeerCertByName fields (service layer)
- Update ngui (Nuxt) frontend with text inputs for new fields
- Update gui (Vue 2) frontend with text inputs for new fields
- Keep existing PinnedSHA256 for juicity (no duplicate)
- Backward compatible: old allowInsecure params silently ignored
- Run go mod tidy to update dependencies
2026-06-20 22:51:17 +08:00
Markson Hon 479c96c058 ci(release): add linux arm64 artifacts to release packaging
Download Linux arm64 service/core artifacts in release_main workflow, package them into v2raya-arm64-linux.zip, generate checksums, and upload to homebrew release assets.
2026-05-05 11:40:26 +08:00
Markson Hon 6bc776e31b build: disable cgo for loong64 2026-05-04 19:53:04 +08:00
Markson Hon 8d783e219d build: fix loong64 sqlite build path in CI
- route loong64 to sqlite3(cgo) driver branch

- install loongarch cross compiler and enable cgo for loong64 in binaries workflow

- bump bbolt to v1.4.3 for loong64 compatibility

- keep no-cgo cross builds compile-clean for loong64/mips64
2026-05-04 19:45:26 +08:00
Markson Hon c6e21dc591 build: fix mips-family sqlite driver selection and CI cgo setup
- extend mips driver build tags to cover mips/mips64 variants

- update sqlite validation message to mips-family scope

- enable CGO only for Linux mips-family targets in binaries workflow

- install required mips cross compilers in CI
2026-05-04 19:37:22 +08:00
Markson Hon f50933f887 feat(ci): use TinyTun v0.0.2-alpha.7 2026-05-03 18:49:46 +08:00
Markson Hon bef8f9f2d6 feat(ci): add v2raya_core building 2026-05-03 16:26:51 +08:00
Markson Hon 7aa612592a feat(ci): add v2raya_core building 2026-05-03 16:25:18 +08:00
Markson Hon 4a64ee613a update to tinytun v0.0.2-alpha.5 2026-04-19 21:48:20 +08:00
Markson Hon 4e94e10914 use olicesx's fork to support ss2022 2026-04-19 18:37:51 +08:00
Markson Hon c0d38bfc27 ci: use matrix workflow to build
use TinyTun v0.0.1-beta.8
2026-04-19 18:37:46 +08:00
Markson Hon 090c711544 ci: use setup-node instead of brew script
ci: upgrade download-artifact@v4 to v7

ci: use matrix workflow to build

ci: use matrix workflow to build

ci: use matrix workflow to build

ci: use matrix workflow to build
2026-04-19 18:36:56 +08:00
Markson Hon 0abcc4597d ci: update tinytun to v0.0.1-beta.6 2026-04-14 08:04:44 +08:00
82e65fb7f9 ci(build): refactor reusable workflows for TinyTun builds
Squashed from:
- 916e2f66 Optimize CI: add tinytun build tag for win/mac/linux x64+arm64, abstract web build into reusable workflow
- 471b623f Remove with_gvisor build tag from all scripts and CI workflows
- bb6e2fd6 Split binary build, Linux packages, and Windows installer into reusable workflows
- 19584dcb ci: fix windows inno installer build
- 378934b8 ci: return go 1.24

Co-authored-by: Markson Pigeonzilla <marksonpigeonzilla@bugdows.cn>
Co-authored-by: Markson Hon <marksonhon@nixos.local>
2026-03-21 15:01:51 +08:00
89aca5911c feat(tun): migrate transparent proxy from Sing-Tun to TinyTun
Squashed from:
- bc2e2215 Remove all Sing-Tun related code, frontend and build tags
- 51c11701 Add TinyTun support for TUN-based transparent proxy
- d203a9e9 Add TinyTun auto_route toggle and custom route script dialog
- 4c67a319 Improve UI consistency and add tinytun build tag
- 6e411be6 use TinyTun instead of SIng-Tun

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Markson Hon <50002150+MarksonHon@users.noreply.github.com>
2026-03-21 15:01:17 +08:00
Markson PigeonzillaandMarkson Hon 608b44e2f8 fix(windows): carry forward env, startup, and legacy TUN follow-ups
Squashed from:
- 856a3730 ci: update go to 1.26
- 191be38f tun: fix IPv6 address under win
- 3ca4d5cd windows: v2rayA should read win env like %temp%
- 48a84438 windows: v2rayA should start after modified PATH
- c87bbf62 fix .exe ext-name under windows
- 614bfe1c dns: fix a error about dns format
- 991319ff pre.go: don't create C:\etc
- 9f31b39c translated all comments to English
- aaa269f7 try to fix Tun DNS
- 25c84ad9 面向云代理会话的 VS Code 中的检查点

Co-authored-by: Markson Hon <markson@nixos.local>
2026-03-21 15:00:28 +08:00
Markson Pigeonzilla 3981de3b31 windows: try to fix log path 2026-02-16 13:16:54 +08:00
Markson Pigeonzilla a1b23000e5 windows-installer: try to fix log path 2026-02-13 22:01:44 +08:00
Markson Pigeonzilla c0f5f73677 ci: fix Windows installer rename 2026-02-06 09:25:54 +08:00
Markson Pigeonzilla 5c12799fad ci: fix Windows installer rename 2026-02-06 09:05:28 +08:00
Markson Pigeonzilla 2734544002 ci: fix Windows installer uninstallation 2026-02-06 08:57:26 +08:00
Markson Pigeonzilla 6f0a5ed999 ci: try to fix installer building 2026-02-05 23:17:02 +08:00
Markson Hon b29b8ae84d fix install building 2026-02-05 22:23:38 +08:00
Markson Pigeonzilla 138eeeaf30 ci: fix Windows installer build 2026-02-05 18:58:38 +08:00
Markson Pigeonzilla c4f9ccf0db ci: update nodejs to version 24 2026-02-05 18:48:20 +08:00
Markson Pigeonzilla f199518f6a ci: update nodejs to version 24 2026-02-05 18:41:45 +08:00
Markson Hon 4cb32177c7 ci: use go 1.24 for 1.25 has a issue go#77217 2026-02-04 12:47:12 +08:00
Markson Hon 85aa010c02 ci(release_main): add missing expect command 2025-11-06 08:25:54 +08:00