Skip to content

Commit

Permalink
OkHttp 4.3.1 is released
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse committed Jan 7, 2020
1 parent 1e02ecd commit fd0919c
Showing 11 changed files with 28 additions and 12 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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_
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion android-test/README.md
Original file line number Diff line number Diff line change
@@ -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
```
```
3 changes: 3 additions & 0 deletions docs/releasing.md
Original file line number Diff line number Diff line change
@@ -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
```
2 changes: 1 addition & 1 deletion mockwebserver/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion okhttp-brotli/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion okhttp-dnsoverhttps/README.md
Original file line number Diff line number Diff line change
@@ -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")
```
2 changes: 1 addition & 1 deletion okhttp-logging-interceptor/README.md
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ Download
--------

```kotlin
implementation("com.squareup.okhttp3:logging-interceptor:4.3.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.3.1")
```


2 changes: 1 addition & 1 deletion okhttp-sse/README.md
Original file line number Diff line number Diff line change
@@ -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")
```
2 changes: 1 addition & 1 deletion okhttp-tls/README.md
Original file line number Diff line number Diff line change
@@ -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/
2 changes: 1 addition & 1 deletion okhttp-urlconnection/README.md
Original file line number Diff line number Diff line change
@@ -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")
```

0 comments on commit fd0919c

Please sign in to comment.