Update VPN client to 0.22.0-beta.2
未关闭
@Versonim 已经在做这个了。
开始于 2026年10月16日。
评估
这个 Issue 还没有评估数据。
描述
automatic
A new VPN client version 0.22.0-beta.2 has been released. Please integrate it.
Changelog: https://github.com/AdGuardSoftwareLimited/vpn-client/releases/tag/v0.22.0-beta.2
Changelog
Added
- A new VPN error code for a "not yet valid" certificate verification error, which hints
at an incorrectly set wall clock. The application should process this new error code by
displaying a hint to the user that the wall clock might be set incorrectly.- [Android]
com.adguard.vpnclient.VpnError.Code#CERTIFICATE_NOT_YET_VALID. - [Apple]
AGVEC_CERTIFICATE_NOT_YET_VALID.
- [Android]
- A new VPN backend error code to hint that the wall clock might be set incorrectly
is now returned in place of a generic HTTP error with a 4xx status, and in place of
a generic network error when the backend server's certificate is not yet valid.
The application should process this new error type by displaying a hint to the
user that the wall clock might be set incorrectly.- [Android] New unchecked exception:
com.adguard.vpnclient.api.exceptions.VpnBackendCheckWallClockException. - [Apple] New error code:
AGVpnBackendErrorCheckWallClock.
- [Android] New unchecked exception:
- The previously missing "cancelled" network error code is now declared in the platform
network error code enumerations, which restores their correspondence withag::vpn::WebRequestsErrorCode.- [Android]
VpnBackendNetworkException.Code#CANCELLED. - [Apple]
AGNECCancelled,AGWebRequestsErrorCodeCancelled.
- [Android]
- A new Chrome Canary endpoint TLS ClientHello fingerprint profile.
- [Android]
com.adguard.vpnclient.TlsProfile#CHROME_CANARY. - [Apple]
AGTP_CHROME_CANARY. - [Windows]
VpnApiC.VpnTlsProfile.VPN_TLS_PROFILE_CHROME_CANARY.
- [Android]
- [Apple] A new event raised when the process is probably missing the Local Network permission.
This permission is required to query a DNS resolver on the local network: either because it was
configured by the user, or because it was determined as the "system" resolver and an exclusion
host needs to be resolved. The application should guide the user through the permission process.
SeeAGVpnClientEvents.onCheckLocalNetworkPermission.
Changed
- A backend request is no longer retried after the server's certificate has been rejected
as not yet valid, since a retry would fail in exactly the same way. - The relay the backend is reached through, as reported by DNS discovery, now overrides the relays
of every location. Whenever a relay is reported, connect to each endpoint through it instead of
through the location's own relays:
replace the endpoint addresses and the location relays with the reported address, and the endpoint
SNI with the reported SNI when there is one; keep the endpoint's ownremote_idandadditional_data.
Ask for it again before each connection, since a later discovery lookup may move or remove the relay.
Taking locations from an offline cache when the backend cannot be reached is no longer part of this
contract.- [Apple] See
AGVpnBackendClient.discoveryRelayandAGVpnBackendRelayInfo. - [Android] See
VpnBackendClient.getDiscoveryRelay. - [Windows] See
IVpnBackendClient.GetDiscoveryRelayandDiscoveryRelayInfo. - [Native] See
vpn_backend_client_get_discovery_relayandVpnBackendRelayInfo.
- [Apple] See
- A backend request that fails to reach the backend now triggers a new DNS discovery lookup, even
while the current answer is within its TTL, at most once every 90 seconds. The request's next try,
or the next request, uses the new routes.
Fixed
- [Android] A network error during a backend request is now reported as
VpnBackendNetworkException, as documented, instead ofVpnBackendServerSideException
carrying the network error code in place of an HTTP status.
- 主要语言
- 没有语言数据
- 星标
- 244
- 派生
- 25
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AdguardTeam/AdGuardVPNForAndroid 的其他 Issue
-
automatic Priority: P4
难度 5/5 一周以上 新手友好度 28/100
-
Local IP exclusions do not bypass VPN routing in AdGuard VPN for Android可能已有人在做 @oksenina 于 10 天前认领。 未关闭Bug Priority: P3
AdguardTeam/AdGuardVPNForAndroid#700 · 2 条评论 ·
-
Feature request: Extend AdGuard VPN protection to private networks and self-hosted services可能已有人在做 @igrachev-ai 于 12 天前认领。 未关闭Feature request Priority: P4
AdguardTeam/AdGuardVPNForAndroid#699 · 4 条评论 · 已指派 1 人 ·
-
automatic Middle Priority: P4 Version: VPN v2.18
-
Bug Junior Priority: P4 Version: VPN v2.18
难度 3/5 半天 新手友好度 44/100
AdguardTeam/AdGuardVPNForAndroid#691 · 7 条评论 ·