Skip to content

Update VPN client to 0.21.6-rc.1 #501

Description

@adguard-octopass

A new VPN client version 0.21.6-rc.1 has been released. Please integrate it.

Changelog: https://github.com/AdGuardSoftwareLimited/vpn-client/releases/tag/v0.21.6-rc.1

Changelog

Added

  • Breaking: limited number of recovery attempts.
    • Previously, the client would try to recover indefinitely. Now it will give up and raise VPN_SS_DISCONNECTED
      with VPN_EC_LOCATION_UNAVAILABLE (see below for platform-specific equivalents) after the specified number
      of unsuccessful attempts. The default is chosen so that, assuming other recovery settings are at their
      default values, the total time spent in recovery is ~1 minute.
    • Applications SHOULD process VPN_EC_LOCATION_UNAVAILABLE by updating the location information
      and re-connecting the VPN client: this is not a change, but an established behavior worth verifying.
      Applications SHOULD NOT need to set a non-default value for this parameter.
    • [Android] VpnServerUpstreamSettings.Recovery#setAttempts(int) / getAttempts().
    • [Android] com.adguard.vpnclient.VpnError.Code#LOCATION_UNAVAILABLE.
    • [Apple] AGVpnUpstreamSessionRecoverySettings.attempts and initWithBackoffRate:locationUpdatePeriodMs:attempts:.
    • [Apple] AGVEC_LOCATION_UNAVAILABLE.
    • [Windows] See VpnUpstreamSessionRecoverySettings::attempts.
  • Added a method for getting the currently active in-app promotion campaign (AG-56853).
    • [Android] See VpnBackendClient.appsApi and AppsApi#getActivePromotion().
    • [Apple] See AGVpnBackendClient.appsApi and AGVBCAppsApi.getActivePromotionWithError:.
    • [Windows] See IAppsApi.GetActivePromotion.
    • [Native] See vpn_backend_client_make_request(APPLICATION__ACTIVE_PROMOTION).

Changed

  • Update vpn-libs to 1.1.5-rc.2

Fixed

  • Windows: fixed failure to connect on dual-stack hosts (after WinTun was enabled) by preferring an interface with an IPv4 default route over an IPv6-only one when selecting the outbound interface (AG-56159).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions