Android SDK release notes

Updated at:

This topic contains the release notes for the Android SDK.

SDK privacy policy and compliance

To ensure privacy compliance when integrating third-party SDKs, use the latest SDK versions from the official Alibaba Cloud documentation. This reduces the risk of privacy violations. Before using HTTPDNS, read the EMAS Privacy Policy and the HTTPDNS SDK Compliance Statement (Android), and integrate the service as described in Android SDK.

SDK information

Name

HTTPDNS

Developer

Hangzhou Alibaba Cloud Intelligence Technology Co., Ltd.

Package name

com.alibaba.sdk.android.httpdns

Version

2.6.9

Update time

2026-06-02

Size

181 KB

MD5

cad4a1f7c30db49968aa63395417a3ae

Privacy policy

EMAS Privacy Policy

Update history

Version

Update time

Description

2.7.0

2026-08-20

  • Improved network state monitoring during network switches to reduce redundant callbacks.

Important

If you are upgrading from a version earlier than 2.4.0, read the Android SDK version upgrade guide before upgrading.

2.6.9

2026-06-02

  • Added a log callback API that supports log levels to improve stability.

2.6.8

2026-04-10

  • Added support for disabling automatic network stack detection.

2.6.7

2025-09-25

  • Refactored the code to improve stability.

2.6.6

2025-09-22

  • Improved stability by optimizing the cache management strategy for network switching.

2.6.5

2025-07-28

  • Optimized the cache strategy.

2.6.4

2025-05-26

  • Refactored code to improve stability.

  • Adapted to the 16 KB page size feature of Android 15.

2.6.3

2025-04-21

  • Raised the minimum supported Android version from Android 2.3 (API Level 9) to Android 4.4 (API Level 19).

  • Optimized the parsing API to support encryption and signing for improved security.

  • Optimized the getService method definition to reduce call overhead.

  • Added the setContext method to set the context used for parsing during initialization.

  • Added the setSecretKey method to set the signing key for the parsing API during initialization.

  • Added the setAesSecretKey method to set the encryption key for the parsing API during initialization.

2.5.0

2024-09-23

  • Optimized the code.

2.4.3

2024-09-10

  • Added an option to configure the persistent cache to discard records that have expired past a set threshold.

  • Optimized the code.

2.4.2

2024-06-26

  • Added support for selecting scheduling entry points in multiple regions.

  • Added support for configuring fallback to local DNS.

  • Optimized the code.

2.4.1

2024-06-20

  • Updated the obfuscation rules.

  • Refactored code to reduce the likelihood of returning empty parsing results.

2.4.0

2024-05-16

  • Optimized APIs.

  • Adjusted the parsing APIs to provide synchronous, asynchronous, and synchronous non-blocking parsing APIs.

Important

This version includes API changes. For details, see Android SDK.

2.3.5

2024-03-14

  • Improved the accuracy of network environment detection.

  • Optimized the code.

2.3.4

2024-02-26

  • Optimized data collection for compliance.

2.3.3

2024-01-08

  • Optimized the logic for triggering Cloud DNS. Parsing results from the disk cache now also trigger Cloud DNS based on their TTL.

2.3.2

2023-08-25

  • Optimized API names. For example, the new API for getIpByHostAsync is getIPv4ForHostAsync. The old API name is deprecated and may be removed in a future version.

2.3.1

2023-07-04

  • Disabled the crash protection feature by default.

2.3.0

2022-09-22

  • Added APIs to control cache duration.

  • The SDK can now determine the network request type (IPv4 or IPv6). The helper interface for network checks (the setNetworkChecker method in HttpDnsSettings) is now deprecated.

  • Optimized the code.

2.2.2

2022-04-07

  • Improved compliance.

2.0.2

2021-05-07

  • The service IP update API now supports switching between HTTP and HTTPS protocols.

  • Fixed the service IP update logic for applications where HTTP is disabled.

  • Optimized the synchronous API to wait for a result before returning when the same domain is parsed concurrently.

  • Improved the parsing timeout logic for more reliable service IP switching.

2.0.0

2021-02-04

  • Pre-parsing now uses the batch parsing API.

  • Separated the IPv4 and IPv6 parsing APIs.

  • Optimized the code.

1.3.3

2020-10-21

  • Added support for multiple instances.

  • Improved performance.

1.3.2

2020-04-27

  • Added support for setting the region parameter for overseas nodes.

1.3.0

2020-03-02

  • Added support for custom parsing.

  • Optimized the code.

1.2.5

2019-03-11

  • Optimized the code.

  • Optimized logging.

  • Improved exception handling.