Browse Source

update: 3.6.0

drake 1 year ago
parent
commit
dbfca035aa
2 changed files with 16 additions and 1 deletions
  1. 1 1
      README.md
  2. 15 0
      docs/updates.md

+ 1 - 1
README.md

@@ -113,7 +113,7 @@ dependencyResolutionManagement {
 implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0" // 协程(版本自定)
 implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0'
 implementation 'com.squareup.okhttp3:okhttp:4.10.0' // 要求OkHttp4以上
-implementation 'com.github.liangjingkanji:Net:3.5.9'
+implementation 'com.github.liangjingkanji:Net:3.6.0'
 ```
 如果你是在 Android 5 (API level 21)以下开发, 要求使用OkHttp3.x请使用: [Net-okhttp3](https://github.com/liangjingkanji/Net-okhttp3)
 <br>

+ 15 - 0
docs/updates.md

@@ -1,3 +1,18 @@
+## 3.6.0
+- pref: Optimize code
+- feat: contentLength未知的上传对象finish也有效
+- pref: RunningCalls遍历优化
+- pref: 考虑到Uri.toRequestBody读取不到文件或长度
+- refactor: 删除废弃函数
+- refactor: 下载临时文件名后缀改成.downloading
+- refactor: 删除param(RequestBody, Header)
+- refactor: LogRecordInterceptor.kt
+- refactor: 删除有问题的取消请求函数
+- refactor: peekBytes的默认读取大小统一为1MB
+- fix: 修复获取请求对象获取ID/Group错误
+- fix: 全局取消请求时发生ConvertException错误提示
+- fix: #187 上传进度监听finish字段无效
+
 ## 3.5.9
 - fix: 修复Java基础类型泛型解析