Browse Source

update 3.0.4

drake 3 years ago
parent
commit
8f93f428c7
2 changed files with 5 additions and 1 deletions
  1. 1 1
      README.md
  2. 4 0
      docs/updates.md

+ 1 - 1
README.md

@@ -90,7 +90,7 @@ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
 implementation "com.squareup.okhttp3:okhttp:4.9.1"
 
 // Net
-implementation 'com.github.liangjingkanji:Net:3.0.3'
+implementation 'com.github.liangjingkanji:Net:3.0.4'
 
 // 支持自动下拉刷新和缺省页的(可选)
 implementation 'com.github.liangjingkanji:BRV:1.3.19'

+ 4 - 0
docs/updates.md

@@ -1,3 +1,7 @@
+## 3.0.4
+1. 添加MediaConst表示常用MediaType
+2. OkHttpBuilder添加`setErrorHandler`取代onError/onStateError: [全局错误处理](error-handle.md)
+
 ## 3.0.3
 1. 添加`onResult`函数来执行队列请求: [队列请求](../enqueue-request/#-result)
 2. 添加`toResult`函数来执行同步请求: [同步请求](../sync-request/)