diff --git a/CHANGELOG.md b/CHANGELOG.md index f1c035018..4a0c59526 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,15 @@ Change Log ========== +## Version 4.7.2 + +_2020-05-20_ + + * Fix: Don't crash inspecting whether the host platform is JVM or Android. With 4.7.0 and 4.7.1 we + had a crash `IllegalArgumentException: Not a Conscrypt trust manager` because we depended on + initialization order of companion objects. + + ## Version 4.7.1 _2020-05-18_ diff --git a/README.md b/README.md index 59de4c788..0ae6d5f23 100644 --- a/README.md +++ b/README.md @@ -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.7.1/jar). +The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/okhttp/4.7.2/jar). ```kotlin -implementation("com.squareup.okhttp3:okhttp:4.7.1") +implementation("com.squareup.okhttp3:okhttp:4.7.2") ``` 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.7.1/jar). +The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/4.7.2/jar). ```kotlin -testImplementation("com.squareup.okhttp3:mockwebserver:4.7.1") +testImplementation("com.squareup.okhttp3:mockwebserver:4.7.2") ``` License diff --git a/build.gradle b/build.gradle index 8c66726bd..e0d0015dd 100644 --- a/build.gradle +++ b/build.gradle @@ -89,7 +89,7 @@ ext.publishedArtifactId = { project -> allprojects { group = 'com.squareup.okhttp3' project.ext.artifactId = rootProject.ext.publishedArtifactId(project) - version = '4.8.0-SNAPSHOT' + version = '4.7.2' repositories { mavenCentral() diff --git a/mockwebserver/README.md b/mockwebserver/README.md index 5130961e8..c72e8ffa5 100644 --- a/mockwebserver/README.md +++ b/mockwebserver/README.md @@ -142,7 +142,7 @@ server.setDispatcher(dispatcher); ### Download ```kotlin -testImplementation("com.squareup.okhttp3:mockwebserver:4.7.1") +testImplementation("com.squareup.okhttp3:mockwebserver:4.7.2") ``` ### License diff --git a/okhttp-brotli/README.md b/okhttp-brotli/README.md index a624bcc0c..5c5f397bd 100644 --- a/okhttp-brotli/README.md +++ b/okhttp-brotli/README.md @@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder() ``` ```kotlin -implementation("com.squareup.okhttp3:okhttp-brotli:4.7.1") +implementation("com.squareup.okhttp3:okhttp-brotli:4.7.2") ``` [1]: https://github.com/google/brotli diff --git a/okhttp-dnsoverhttps/README.md b/okhttp-dnsoverhttps/README.md index 6d3e79786..942b58997 100644 --- a/okhttp-dnsoverhttps/README.md +++ b/okhttp-dnsoverhttps/README.md @@ -7,5 +7,5 @@ API is not considered stable and may change at any time. ### Download ```kotlin -testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.7.1") +testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.7.2") ``` diff --git a/okhttp-logging-interceptor/README.md b/okhttp-logging-interceptor/README.md index d010b3b31..ffc73ddb1 100644 --- a/okhttp-logging-interceptor/README.md +++ b/okhttp-logging-interceptor/README.md @@ -37,7 +37,7 @@ Download -------- ```kotlin -implementation("com.squareup.okhttp3:logging-interceptor:4.7.1") +implementation("com.squareup.okhttp3:logging-interceptor:4.7.2") ``` diff --git a/okhttp-sse/README.md b/okhttp-sse/README.md index 6ed1ccc57..070c54735 100644 --- a/okhttp-sse/README.md +++ b/okhttp-sse/README.md @@ -7,5 +7,5 @@ API is not considered stable and may change at any time. ### Download ```kotlin -testImplementation("com.squareup.okhttp3:okhttp-sse:4.7.1") +testImplementation("com.squareup.okhttp3:okhttp-sse:4.7.2") ``` diff --git a/okhttp-tls/README.md b/okhttp-tls/README.md index fbfd1ed9f..171224adf 100644 --- a/okhttp-tls/README.md +++ b/okhttp-tls/README.md @@ -227,7 +227,7 @@ Download -------- ```kotlin -implementation("com.squareup.okhttp3:okhttp-tls:4.7.1") +implementation("com.squareup.okhttp3:okhttp-tls:4.7.2") ``` [held_certificate]: http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/ diff --git a/okhttp-urlconnection/README.md b/okhttp-urlconnection/README.md index b591c4dd6..b410c32aa 100644 --- a/okhttp-urlconnection/README.md +++ b/okhttp-urlconnection/README.md @@ -6,5 +6,5 @@ This module integrates OkHttp with `Authenticator` and `CookieHandler` from `jav ### Download ```kotlin -testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.7.1") +testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.7.2") ```