1
0
mirror of https://github.com/square/okhttp.git synced 2025-07-31 05:04:26 +03:00

Update changelog for 4.2.1.

This commit is contained in:
Jesse Wilson
2019-10-02 08:26:28 -04:00
parent 8ae4e86910
commit 20fcc7d330
9 changed files with 23 additions and 9 deletions

View File

@ -1,6 +1,20 @@
Change Log
==========
## Version 4.2.1
_2019-10-02_
* Fix: In 4.1.0 we introduced a performance regression that prevented connections from being
pooled in certain situations. We have good test coverage for connection pooling but we missed
this because it only occurs if you have proxy configured and you share a connection pool among
multiple `OkHttpClient` instances.
This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own
`NullProxySelector` when an explicit proxy is configured. But we don't share connections when
the proxy selectors are different. Ugh!
## Version 4.2.0
_2019-09-10_

View File

@ -100,7 +100,7 @@ Releases
Our [change log][changelog] has release history.
```kotlin
implementation("com.squareup.okhttp3:okhttp:4.2.0")
implementation("com.squareup.okhttp3:okhttp:4.2.1")
```
Snapshot builds are [available][snap].
@ -120,7 +120,7 @@ MockWebServer
OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
```kotlin
testImplementation("com.squareup.okhttp3:mockwebserver:4.2.0")
testImplementation("com.squareup.okhttp3:mockwebserver:4.2.1")
```

View File

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

View File

@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
```
```kotlin
implementation("com.squareup.okhttp3:okhttp-brotli:4.2.0")
implementation("com.squareup.okhttp3:okhttp-brotli:4.2.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.2.0")
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.2.1")
```

View File

@ -37,7 +37,7 @@ Download
--------
```kotlin
implementation("com.squareup.okhttp3:logging-interceptor:4.2.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.2.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.2.0")
testImplementation("com.squareup.okhttp3:okhttp-sse:4.2.1")
```

View File

@ -227,7 +227,7 @@ Download
--------
```kotlin
implementation("com.squareup.okhttp3:okhttp-tls:4.2.0")
implementation("com.squareup.okhttp3:okhttp-tls:4.2.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.2.0")
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.2.1")
```