Skip to content

Commit 20fcc7d

Browse files
committed
Update changelog for 4.2.1.
1 parent 8ae4e86 commit 20fcc7d

File tree

9 files changed

+23
-9
lines changed

9 files changed

+23
-9
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
Change Log
22
==========
33

4+
## Version 4.2.1
5+
6+
_2019-10-02_
7+
8+
* Fix: In 4.1.0 we introduced a performance regression that prevented connections from being
9+
pooled in certain situations. We have good test coverage for connection pooling but we missed
10+
this because it only occurs if you have proxy configured and you share a connection pool among
11+
multiple `OkHttpClient` instances.
12+
13+
This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own
14+
`NullProxySelector` when an explicit proxy is configured. But we don't share connections when
15+
the proxy selectors are different. Ugh!
16+
17+
418
## Version 4.2.0
519

620
_2019-09-10_

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Releases
100100
Our [change log][changelog] has release history.
101101

102102
```kotlin
103-
implementation("com.squareup.okhttp3:okhttp:4.2.0")
103+
implementation("com.squareup.okhttp3:okhttp:4.2.1")
104104
```
105105

106106
Snapshot builds are [available][snap].
@@ -120,7 +120,7 @@ MockWebServer
120120
OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
121121

122122
```kotlin
123-
testImplementation("com.squareup.okhttp3:mockwebserver:4.2.0")
123+
testImplementation("com.squareup.okhttp3:mockwebserver:4.2.1")
124124
```
125125

126126

mockwebserver/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ server.setDispatcher(dispatcher);
142142
### Download
143143

144144
```kotlin
145-
testImplementation("com.squareup.okhttp3:mockwebserver:4.2.0")
145+
testImplementation("com.squareup.okhttp3:mockwebserver:4.2.1")
146146
```
147147

148148
### License

okhttp-brotli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
1414
```
1515

1616
```kotlin
17-
implementation("com.squareup.okhttp3:okhttp-brotli:4.2.0")
17+
implementation("com.squareup.okhttp3:okhttp-brotli:4.2.1")
1818
```
1919

2020
[1]: https://github.com/google/brotli

okhttp-dnsoverhttps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
77
### Download
88

99
```kotlin
10-
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.2.0")
10+
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.2.1")
1111
```

okhttp-logging-interceptor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Download
3737
--------
3838

3939
```kotlin
40-
implementation("com.squareup.okhttp3:logging-interceptor:4.2.0")
40+
implementation("com.squareup.okhttp3:logging-interceptor:4.2.1")
4141
```
4242

4343

okhttp-sse/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
77
### Download
88

99
```kotlin
10-
testImplementation("com.squareup.okhttp3:okhttp-sse:4.2.0")
10+
testImplementation("com.squareup.okhttp3:okhttp-sse:4.2.1")
1111
```

okhttp-tls/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Download
227227
--------
228228

229229
```kotlin
230-
implementation("com.squareup.okhttp3:okhttp-tls:4.2.0")
230+
implementation("com.squareup.okhttp3:okhttp-tls:4.2.1")
231231
```
232232

233233
[held_certificate]: http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/

okhttp-urlconnection/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ This module integrates OkHttp with `Authenticator` and `CookieHandler` from `jav
66
### Download
77

88
```kotlin
9-
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.2.0")
9+
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.2.1")
1010
```

0 commit comments

Comments
 (0)