Skip to content

Commit

Permalink
Merge pull request #34 from lemondark/release/v4.8.1
Browse files Browse the repository at this point in the history
release: v4.8.1
  • Loading branch information
ilovetochangetheworld authored Jan 24, 2024
2 parents d11f3de + da6e53e commit 5562d14
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 18 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
## v4.8.1
1. 功能优化。

## v4.8.0
1. 缓存策略优化。
2. 代码优化。

## v4.7.0
1. 新增清除指定域名缓存能力。
2. 解析监控日志上报调整。
3. 功能优化。

## v4.6.0
1. http 解析请求支持长链接。
2. 批量解析重构优化。
3. 功能优化。

## v4.5.0
1. dnsip(HTTPDNS服务IP) SDK内部调度,无需用户配置。
2. 支持ECS IP配置。
3. 包体积优化。
4. 灯塔(beacon)下线。

## v4.4.0
1. SDK 支持数据上报统计分析,配合控制台解析监控使用。原灯塔上报服务(beacon)将下线,建议尽快切换。
2. 新增独立国际版 SDK。
3. 功能优化。

## 4.3.0
1. 新增允许使用过期缓存配置,调整对应解析逻辑。
2. 新增本地存储能力。
3. 功能优化。

## 4.2.0
1. 新增 IP 优选服务
2. 功能优化
Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 0 additions & 2 deletions HttpDnsSample/HTTPDNS_Android_v4.8.0a_release/build.gradle

This file was deleted.

Binary file not shown.
2 changes: 2 additions & 0 deletions HttpDnsSample/HTTPDNS_Android_v4.8.1a_release/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
configurations.maybeCreate("default")
artifacts.add("default", file('HTTPDNS_Android_v4.8.1a_release.aar'))
2 changes: 1 addition & 1 deletion HttpDnsSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation project(path: ':HTTPDNS_Android_v4.8.0a_release')
implementation project(path: ':HTTPDNS_Android_v4.8.1a_release')
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
Expand Down
2 changes: 1 addition & 1 deletion HttpDnsSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {
ext.kotlin_version = "1.3.72"

ext.subVersionName = '4.8.0'
ext.subVersionName = '4.8.1'
def versionArr = subVersionName.toString().split(/\D/)
ext.subVersionCode = Integer.valueOf(String.format('%d%02d%02d',
versionArr[0].toInteger(), versionArr[1].toInteger(), versionArr[2].toInteger()))
Expand Down
2 changes: 1 addition & 1 deletion HttpDnsSample/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include ':HTTPDNS_Android_v4.8.0a_release'
include ':HTTPDNS_Android_v4.8.1a_release'
include ':app'
rootProject.name = "dnsTest"
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@

### 文件拷贝

将 HttpDnsLibs 目录下的 aar 包及 jar 拷贝至项目工程中 libs 相应位置
将 HttpDnsLibs 目录下的 aar 包拷贝至项目工程中 libs 相应位置

HttpDnsLibs 目录下包含两个包:

- 文件名以 HTTPDNS 为前缀的 aar 包(HTTPDNS_Android_xxxx.aar)为 HTTPDNS SDK
- 文件名以 beacon 为前缀的 jar 包(beacon-android-xxxx.jar)为灯塔 SDK
- HTTPDNS SDK 使用灯塔 SDK 进行数据上报
HttpDnsLibs 目录下:
- 默认 aar 包(HTTPDNS_Android_xxxx.aar)为 HTTPDNS 国内站 SDK
- 文件名以 intl 为后缀的 aar 包(HTTPDNS_Android_xxxx_intl.aar)为 HTTPDNS 国际版 SDK

### aar 引入配置

Expand Down Expand Up @@ -75,13 +73,6 @@ App targetSdkVersion >= 28(Android 9.0)情况下,系统默认不允许 HTTP
</network-security-config>
```

### 反混淆配置

```
# 灯塔
-keep class com.tencent.beacon.** {*;}
```

## 初始化

参考 Android SDK 文档 https://cloud.tencent.com/document/product/379/17655
Expand Down

0 comments on commit 5562d14

Please sign in to comment.