1
0
mirror of https://github.com/square/okhttp.git synced 2025-07-29 17:41:17 +03:00

OkHttp 4.3.1 is released

This commit is contained in:
Jesse Wilson
2020-01-07 13:44:16 -05:00
parent 1e02ecdd44
commit fd0919cfa4
11 changed files with 28 additions and 12 deletions

View File

@ -1,6 +1,19 @@
Change Log
==========
## Version 4.3.1
_2019-01-07_
* Fix: Don't crash with a `NullPointerException` when a web socket is closed before it connects.
This regression was introduced in OkHttp 4.3.0.
* Fix: Don't crash with an `IllegalArgumentException` when using custom trust managers on Android
10. Android uses reflection to look up a magic `checkServerTrusted()` method and we didn't
have it.
* Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In
4.3.0 we introduced a regression where server name indication (SNI) was broken on Android 5.
## Version 4.3.0
_2019-12-31_

View File

@ -99,10 +99,10 @@ Releases
Our [change log][changelog] has release history.
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/okhttp/4.3.0/jar).
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/okhttp/4.3.1/jar).
```kotlin
implementation("com.squareup.okhttp3:okhttp:4.3.0")
implementation("com.squareup.okhttp3:okhttp:4.3.1")
```
Snapshot builds are [available][snap]. [R8 and ProGuard][r8_proguard] rules are available.
@ -113,10 +113,10 @@ MockWebServer
OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/4.3.0/jar).
The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/4.3.1/jar).
```kotlin
testImplementation("com.squareup.okhttp3:mockwebserver:4.3.0")
testImplementation("com.squareup.okhttp3:mockwebserver:4.3.1")
```
License

View File

@ -39,4 +39,4 @@ $ ANDROID_SDK_ROOT=/Users/myusername/Library/Android/sdk ./gradlew :android-test
BUILD SUCCESSFUL in 1m 30s
63 actionable tasks: 61 executed, 2 up-to-date
```
```

View File

@ -83,6 +83,9 @@ Cutting a Release
sed -i "" \
"s/\"com.squareup.okhttp3:\([^\:]*\):[^\"]*\"/\"com.squareup.okhttp3:\1:$RELEASE_VERSION\"/g" \
`find . -name "README.md"`
sed -i "" \
"s/\/com.squareup.okhttp3\/\([^\:]*\)\/[^\/]*\//\/com.squareup.okhttp3\/\1\/$RELEASE_VERSION\//g" \
`find . -name "README.md"`
./gradlew clean uploadArchives
```

View File

@ -142,7 +142,7 @@ server.setDispatcher(dispatcher);
### Download
```kotlin
testImplementation("com.squareup.okhttp3:mockwebserver:4.3.0")
testImplementation("com.squareup.okhttp3:mockwebserver:4.3.1")
```
### License

View File

@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
```
```kotlin
implementation("com.squareup.okhttp3:okhttp-brotli:4.3.0")
implementation("com.squareup.okhttp3:okhttp-brotli:4.3.1")
```
[1]: https://github.com/google/brotli

View File

@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
### Download
```kotlin
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.3.0")
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.3.1")
```

View File

@ -37,7 +37,7 @@ Download
--------
```kotlin
implementation("com.squareup.okhttp3:logging-interceptor:4.3.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.3.1")
```

View File

@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
### Download
```kotlin
testImplementation("com.squareup.okhttp3:okhttp-sse:4.3.0")
testImplementation("com.squareup.okhttp3:okhttp-sse:4.3.1")
```

View File

@ -227,7 +227,7 @@ Download
--------
```kotlin
implementation("com.squareup.okhttp3:okhttp-tls:4.3.0")
implementation("com.squareup.okhttp3:okhttp-tls:4.3.1")
```
[held_certificate]: http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/

View File

@ -6,5 +6,5 @@ This module integrates OkHttp with `Authenticator` and `CookieHandler` from `jav
### Download
```kotlin
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.3.0")
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.3.1")
```