Skip to content

Commit

Permalink
update: 3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Aug 11, 2024
1 parent c663a4c commit f7fc77c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,15 @@ Module 的 build.gradle 添加依赖框架
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.11.0' // 要求OkHttp4以上
implementation 'com.github.liangjingkanji:Net:3.6.4'
implementation 'com.github.liangjingkanji:Net:3.7.0'
```
如果在 Android 5 (API level 21)以下开发, 请使用 [Net-okhttp3](https://github.com/liangjingkanji/Net-okhttp3)

如果使用 appcompat-v1.6 以下开发, 请使用`3.6.4`版本, 因为官方已删除旧api

```kotlin
implementation 'com.github.liangjingkanji:Net:3.6.4'
```
<br>

## Contribute
Expand Down
4 changes: 4 additions & 0 deletions docs/updates.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.7.0
- fix: #233 支持appcompat 1.7 (由于官方api变动升级后不再支持v1.6)
- perf: 优化 runMain 方法的 Handler 使用单例

## 3.6.4
- feat: 优化转换器ConvertException错误信息

Expand Down

0 comments on commit f7fc77c

Please sign in to comment.