mirror of
https://github.com/square/okhttp.git
synced 2025-07-31 05:04:26 +03:00
OkHttp 4.3.1 is released
This commit is contained in:
13
CHANGELOG.md
13
CHANGELOG.md
@ -1,6 +1,19 @@
|
|||||||
Change Log
|
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
|
## Version 4.3.0
|
||||||
|
|
||||||
_2019-12-31_
|
_2019-12-31_
|
||||||
|
@ -99,10 +99,10 @@ Releases
|
|||||||
|
|
||||||
Our [change log][changelog] has release history.
|
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
|
```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.
|
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.
|
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
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:mockwebserver:4.3.0")
|
testImplementation("com.squareup.okhttp3:mockwebserver:4.3.1")
|
||||||
```
|
```
|
||||||
|
|
||||||
License
|
License
|
||||||
|
@ -83,6 +83,9 @@ Cutting a Release
|
|||||||
sed -i "" \
|
sed -i "" \
|
||||||
"s/\"com.squareup.okhttp3:\([^\:]*\):[^\"]*\"/\"com.squareup.okhttp3:\1:$RELEASE_VERSION\"/g" \
|
"s/\"com.squareup.okhttp3:\([^\:]*\):[^\"]*\"/\"com.squareup.okhttp3:\1:$RELEASE_VERSION\"/g" \
|
||||||
`find . -name "README.md"`
|
`find . -name "README.md"`
|
||||||
|
sed -i "" \
|
||||||
|
"s/\/com.squareup.okhttp3\/\([^\:]*\)\/[^\/]*\//\/com.squareup.okhttp3\/\1\/$RELEASE_VERSION\//g" \
|
||||||
|
`find . -name "README.md"`
|
||||||
./gradlew clean uploadArchives
|
./gradlew clean uploadArchives
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ server.setDispatcher(dispatcher);
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:mockwebserver:4.3.0")
|
testImplementation("com.squareup.okhttp3:mockwebserver:4.3.1")
|
||||||
```
|
```
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
|
|||||||
```
|
```
|
||||||
|
|
||||||
```kotlin
|
```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
|
[1]: https://github.com/google/brotli
|
||||||
|
@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.3.0")
|
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.3.1")
|
||||||
```
|
```
|
||||||
|
@ -37,7 +37,7 @@ Download
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
implementation("com.squareup.okhttp3:logging-interceptor:4.3.0")
|
implementation("com.squareup.okhttp3:logging-interceptor:4.3.1")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:okhttp-sse:4.3.0")
|
testImplementation("com.squareup.okhttp3:okhttp-sse:4.3.1")
|
||||||
```
|
```
|
||||||
|
@ -227,7 +227,7 @@ Download
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
```kotlin
|
```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/
|
[held_certificate]: http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/
|
||||||
|
@ -6,5 +6,5 @@ This module integrates OkHttp with `Authenticator` and `CookieHandler` from `jav
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.3.0")
|
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.3.1")
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user