File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
library/src/main/java/com/qiniu/android/common Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 11#Changelog
2+ ## 8.7.0(2023-11-23)
3+ * 调整:
4+ * 自动获取的区域信息结果缓存增加磁盘缓存
5+ * 自动获取的区域信息缓存的 key 和 AK、Bucket 以及 UC 的第一个域名相关
6+ * 自动获取的区域信息时如果请求失败可使用过期的缓存
7+ * 自动获取的区域信息时增加主备域名( uc.qiniuapi.com),提升业务可靠性
8+ * 增加
9+ * FixZone 支持通过 RegionID 构造示例
10+
211## 8.6.0(2023-08-07)
312* 调整:
413 * 调整在根据 Bucket 获取其所在区域信息时的主备域名顺序
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ https://github.com/qiniudemo/qiniu-lab-android
1515
1616| Qiniu SDK 版本 | 最低 Android版本 | 依赖库版本 |
1717| --------------| -----------------| ------------------------|
18+ | 8.7.x | Android 4.0+ | okhttp 4+ |
1819| 8.6.x | Android 4.0+ | okhttp 4+ |
1920| 8.5.x | Android 4.0+ | okhttp 4+ |
2021| 8.4.x | Android 4.0+ | okhttp 4+ |
@@ -35,7 +36,7 @@ https://github.com/qiniudemo/qiniu-lab-android
3536| 7.0.7 | Android 2.2+ | android-async-http 1.4.8 |
3637
3738### 注意
38- * 推荐使用最新版:8.6 .0
39+ * 推荐使用最新版:8.7 .0
3940* 7.6.2 ~ 8.3.2 AndroidNetwork.getMobileDbm()可以获取手机信号强度,需要如下权限(API>=18时生效)
4041```
4142 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
@@ -54,10 +55,10 @@ https://github.com/qiniudemo/qiniu-lab-android
5455* Android Studio中添加dependencies 或者 在项目中添加maven依赖
5556```
5657// 1. 直接导入
57- implementation 'com.qiniu:qiniu-android-sdk:8.6 .+'
58+ implementation 'com.qiniu:qiniu-android-sdk:8.7 .+'
5859
5960// 2. 如果要修改okhttp依赖的版本,可采用以下方式(强烈建议使用七牛库依赖的okhttp版本)
60- implementation ('com.qiniu:qiniu-android-sdk:8.6 .+'){
61+ implementation ('com.qiniu:qiniu-android-sdk:8.7 .+'){
6162 exclude (group: 'com.squareup.okhttp3', module: 'okhttp')
6263}
6364implementation 'com.squareup.okhttp3:okhttp:4.9.1'
Original file line number Diff line number Diff line change 22
33
44public final class Constants {
5- public static final String VERSION = "8.6 .0" ;
5+ public static final String VERSION = "8.7 .0" ;
66
77 public static final String UTF_8 = "utf-8" ;
88}
You can’t perform that action at this time.
0 commit comments