Skip to content

Commit

Permalink
version to 8.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSen-qn committed Nov 23, 2023
1 parent 16d92e0 commit 5f22804
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
#Changelog
## 8.7.0(2023-11-23)
* 调整:
* 自动获取的区域信息结果缓存增加磁盘缓存
* 自动获取的区域信息缓存的 key 和 AK、Bucket 以及 UC 的第一个域名相关
* 自动获取的区域信息时如果请求失败可使用过期的缓存
* 自动获取的区域信息时增加主备域名( uc.qiniuapi.com),提升业务可靠性
* 增加
* FixZone 支持通过 RegionID 构造示例

## 8.6.0(2023-08-07)
* 调整:
* 调整在根据 Bucket 获取其所在区域信息时的主备域名顺序
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ https://github.com/qiniudemo/qiniu-lab-android

| Qiniu SDK 版本 | 最低 Android版本 | 依赖库版本 |
|--------------|-----------------|------------------------|
| 8.7.x | Android 4.0+ | okhttp 4+ |
| 8.6.x | Android 4.0+ | okhttp 4+ |
| 8.5.x | Android 4.0+ | okhttp 4+ |
| 8.4.x | Android 4.0+ | okhttp 4+ |
Expand All @@ -35,7 +36,7 @@ https://github.com/qiniudemo/qiniu-lab-android
| 7.0.7 | Android 2.2+ | android-async-http 1.4.8 |

### 注意
* 推荐使用最新版:8.6.0
* 推荐使用最新版:8.7.0
* 7.6.2 ~ 8.3.2 AndroidNetwork.getMobileDbm()可以获取手机信号强度,需要如下权限(API>=18时生效)
```
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
Expand All @@ -54,10 +55,10 @@ https://github.com/qiniudemo/qiniu-lab-android
* Android Studio中添加dependencies 或者 在项目中添加maven依赖
```
// 1. 直接导入
implementation 'com.qiniu:qiniu-android-sdk:8.6.+'
implementation 'com.qiniu:qiniu-android-sdk:8.7.+'
// 2. 如果要修改okhttp依赖的版本,可采用以下方式(强烈建议使用七牛库依赖的okhttp版本)
implementation ('com.qiniu:qiniu-android-sdk:8.6.+'){
implementation ('com.qiniu:qiniu-android-sdk:8.7.+'){
exclude (group: 'com.squareup.okhttp3', module: 'okhttp')
}
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


public final class Constants {
public static final String VERSION = "8.6.0";
public static final String VERSION = "8.7.0";

public static final String UTF_8 = "utf-8";
}

0 comments on commit 5f22804

Please sign in to comment.