From 1b97ce67e996499463bc18c6013bf03eeff92a56 Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Thu, 5 Sep 2019 00:30:48 -0400 Subject: [PATCH] Update the changelog for 4.1.1. --- CHANGELOG.md | 9 +++++++++ README.md | 4 ++-- mockwebserver/README.md | 2 +- okhttp-brotli/README.md | 2 +- okhttp-dnsoverhttps/README.md | 2 +- okhttp-logging-interceptor/README.md | 2 +- okhttp-sse/README.md | 2 +- okhttp-tls/README.md | 2 +- okhttp-urlconnection/README.md | 2 +- 9 files changed, 18 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17ec24c9e..887bbc5e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,15 @@ Change Log ========== +## Version 4.1.1 + +_2019-09-05_ + + * Fix: Don't drop repeated headers when validating cached responses. In our Kotlin upgrade we + introduced a regression where we iterated the number of unique header names rather than then + number of unique headers. If you're using OkHttp's response cache this may impact you. + + ## Version 4.1.0 _2019-08-12_ diff --git a/README.md b/README.md index 2fcd60133..4077be843 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ Releases Our [change log][changelog] has release history. ```kotlin -implementation("com.squareup.okhttp3:okhttp:4.1.0") +implementation("com.squareup.okhttp3:okhttp:4.1.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.1.0") +testImplementation("com.squareup.okhttp3:mockwebserver:4.1.1") ``` diff --git a/mockwebserver/README.md b/mockwebserver/README.md index cac8c1cc0..5843aa155 100644 --- a/mockwebserver/README.md +++ b/mockwebserver/README.md @@ -142,7 +142,7 @@ server.setDispatcher(dispatcher); ### Download ```kotlin -testImplementation("com.squareup.okhttp3:mockwebserver:4.1.0") +testImplementation("com.squareup.okhttp3:mockwebserver:4.1.1") ``` ### License diff --git a/okhttp-brotli/README.md b/okhttp-brotli/README.md index 87847be28..95d73f722 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.1.0") +implementation("com.squareup.okhttp3:okhttp-brotli:4.1.1") ``` [1]: https://github.com/google/brotli diff --git a/okhttp-dnsoverhttps/README.md b/okhttp-dnsoverhttps/README.md index b5ef1c907..bd9c0ea60 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.1.0") +testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.1.1") ``` diff --git a/okhttp-logging-interceptor/README.md b/okhttp-logging-interceptor/README.md index 5b0a74003..e09ca8fd5 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.1.0") +implementation("com.squareup.okhttp3:logging-interceptor:4.1.1") ``` diff --git a/okhttp-sse/README.md b/okhttp-sse/README.md index aa1fdf972..a8d722790 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.1.0") +testImplementation("com.squareup.okhttp3:okhttp-sse:4.1.1") ``` diff --git a/okhttp-tls/README.md b/okhttp-tls/README.md index 66809a0dd..ec3f7857d 100644 --- a/okhttp-tls/README.md +++ b/okhttp-tls/README.md @@ -227,7 +227,7 @@ Download -------- ```kotlin -implementation("com.squareup.okhttp3:okhttp-tls:4.1.0") +implementation("com.squareup.okhttp3:okhttp-tls:4.1.1") ``` [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 8b4395f06..fffe6dbd9 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.1.0") +testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.1.1") ```