Browse Source

Update 3.2.0

drake 3 years ago
parent
commit
59f64ed2ab
2 changed files with 14 additions and 1 deletions
  1. 1 1
      README.md
  2. 13 0
      docs/updates.md

+ 1 - 1
README.md

@@ -103,7 +103,7 @@ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1'
 // OkHttp(版本可自定, 要求OkHttp4以上版本)
 implementation 'com.squareup.okhttp3:okhttp:4.9.1'
 // Net
-implementation 'com.github.liangjingkanji:Net:3.1.2'
+implementation 'com.github.liangjingkanji:Net:3.2.0'
 
 // 支持自动下拉刷新和缺省页的(可选)
 implementation 'com.github.liangjingkanji:BRV:1.3.56'

+ 13 - 0
docs/updates.md

@@ -1,3 +1,16 @@
+## 3.2.0
+- 更改tag相关函数
+- 更改`NetConfig.app`类型改为Context
+- 删除敏感权限(外部存储读写)
+- 删除废弃函数/提高函数废弃等级
+- 废弃`NetConfig.init`
+- 删除fastest函数接受者
+- 删除logRecord属性
+- 优化域名解析错误异常信息
+- 新增无网络不可用异常`NetworkingException`
+- 新增输出MultiPart参数日志
+- 更改RetryInterceptor/LogRecordInterceptor属性访问权限
+
 ## 3.1.2
 - 升级BRV至1.3.51, [其内部升级SmartRefreshLayout至2.0.5](https://github.com/liangjingkanji/BRV/issues/85). SmartRefreshLayout相关依赖需要迁移
 - Interval添加`onlyResumed`函数