fix(deps): update okhttpversion to v5.5.1 #107

Open
asteriasmaid[bot] wants to merge 1 commit from renovate/okhttpversion into master
asteriasmaid[bot] commented 2026-08-22 16:28:51 +02:00 (Migrated from github.com)

This PR contains the following updates:

Package Change Age Confidence
com.squareup.okhttp3:logging-interceptor (source) 5.4.0 → 5.5.1 age confidence
com.squareup.okhttp3:okhttp-brotli (source) 5.4.0 → 5.5.1 age confidence
com.squareup.okhttp3:okhttp (source) 5.4.0 → 5.5.1 age confidence

Release Notes

lysine-dev/okhttp (com.squareup.okhttp3:logging-interceptor)

v5.5.1

2026_10_22

  • Fix: [Block 8 compromised eMudhra intermediate certificates][Mozilla_eMudhra]. Note that this
    update is not necessary for Android devices with Google Play Services as Google has issued an
    [automatic update][Google_eMudhra]. This change protects JVMs and AOSP devices that are exposed
    to the compromised certificates.

v5.5.0

2026-08-16

This release introduces opt-in support for [Encrypted Client Hello (ECH)]. This new feature
improves user privacy by encrypting domain names in transit. With regular TLS, your coffee shop’s
Wi-Fi router can see that you’re visiting wikipedia.com, but it cannot see which page you’re
looking at. With ECH, the router observes only the IP address. This additional privacy is most
effective on sites hosted by big CDNs because the IP address doesn’t imply a particular website.

This requires ECH support in the platform’s TLS stack. Today this is only Android 17 (API 37,
released June 2026). When other TLS stacks add ECH support, we'll integrate them.

ECH took a lot of work to implement because the encryption keys are published over DNS in the
[HTTPS resource record], and we needed to write new code to fetch these records. This release
includes a major update to OkHttp’s DNS API: it now supports multiple resource record types (not
just IP addresses!), asynchronous streaming results, and in-memory caching.

To opt in, you can use DnsOverHttps:

// DnsOverHttps itself uses OkHttpClient. Build both clients upon the
// same bootstrap client so they share a connection pool and dispatcher.
val bootstrapClient = OkHttpClient()

// This sample uses Cloudflare's 1.1.1.1 DnsOverHttps service.
val client = bootstrapClient.newBuilder()
  .dns(DnsOverHttps.Builder()
    .client(bootstrapClient)
    .url("https://1.1.1.1/dns-query".toHttpUrl())
    .build())
  .build()

You could also opt in with our new AndroidDns API. Unfortunately, the privacy benefits of ECH are
thwarted because its DNS queries are not encrypted by default.

// AndroidDns fetches the HTTPS DNS resource records necessary for ECH.
val client = OkHttpClient.Builder()
  .dns(AndroidDns())
  .build()
  • New: OkHttp artifacts are now signed with our [new signing key]. This project and three sibling
    projects ([Retrofit], [Okio], and [SQLDelight]) recently joined [the Commonhaus Foundation].
  • Fix: MockWebServer’s @StartStop annotation now supports @Nested JUnit 5 tests.
  • Fix: Our default TLS hostname verifier now reject hosts that fail IP canonicalization.
  • Fix: Closing a multipart part's sink no longer closes the entire request body.
  • Fix: Flush HTTP/1 request bodies before detaching the timeout. We had a bug where timeouts
    weren’t applied correctly.
  • Fix: Follow [RFC 1008]'s requirements for HTTP QUERY redirects.
  • Fix: Fall back to no proxy when the system proxy selector throws. Previously this would cause
    the HTTP call to crash.
  • Upgrade: [Okio 3.18.1][okio_3_18_1].

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [com.squareup.okhttp3:logging-interceptor](https://lysine.dev/okhttp/) ([source](https://redirect.github.com/lysine-dev/okhttp)) | `5.4.0` → `5.5.1` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.squareup.okhttp3:logging-interceptor/5.5.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.squareup.okhttp3:logging-interceptor/5.4.0/5.5.1?slim=true) | | [com.squareup.okhttp3:okhttp-brotli](https://lysine.dev/okhttp/) ([source](https://redirect.github.com/lysine-dev/okhttp)) | `5.4.0` → `5.5.1` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.squareup.okhttp3:okhttp-brotli/5.5.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.squareup.okhttp3:okhttp-brotli/5.4.0/5.5.1?slim=true) | | [com.squareup.okhttp3:okhttp](https://lysine.dev/okhttp/) ([source](https://redirect.github.com/lysine-dev/okhttp)) | `5.4.0` → `5.5.1` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.squareup.okhttp3:okhttp/5.5.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.squareup.okhttp3:okhttp/5.4.0/5.5.1?slim=true) | --- ### Release Notes <details> <summary>lysine-dev/okhttp (com.squareup.okhttp3:logging-interceptor)</summary> ### [`v5.5.1`](https://redirect.github.com/lysine-dev/okhttp/blob/HEAD/CHANGELOG.md#Version-551) *2026\_10\_22* - Fix: \[Block 8 compromised eMudhra intermediate certificates]\[Mozilla\_eMudhra]. Note that this update is not necessary for Android devices with Google Play Services as Google has issued an \[automatic update]\[Google\_eMudhra]. This change protects JVMs and AOSP devices that are exposed to the compromised certificates. ### [`v5.5.0`](https://redirect.github.com/lysine-dev/okhttp/blob/HEAD/CHANGELOG.md#Version-550) *2026-08-16* This release introduces **opt-in** support for \[Encrypted Client Hello (ECH)]. This new feature improves user privacy by encrypting domain names in transit. With regular TLS, your coffee shop’s Wi-Fi router can see that you’re visiting *wikipedia.com*, but it cannot see which page you’re looking at. With ECH, the router observes only the IP address. This additional privacy is most effective on sites hosted by big CDNs because the IP address doesn’t imply a particular website. This requires ECH support in the platform’s TLS stack. Today this is only Android 17 (API 37, released June 2026). When other TLS stacks add ECH support, we'll integrate them. ECH took a lot of work to implement because the encryption keys are published over DNS in the \[HTTPS resource record], and we needed to write new code to fetch these records. This release includes a major update to OkHttp’s DNS API: it now supports multiple resource record types (not just IP addresses!), asynchronous streaming results, and in-memory caching. To opt in, you can use `DnsOverHttps`: ```kotlin // DnsOverHttps itself uses OkHttpClient. Build both clients upon the // same bootstrap client so they share a connection pool and dispatcher. val bootstrapClient = OkHttpClient() // This sample uses Cloudflare's 1.1.1.1 DnsOverHttps service. val client = bootstrapClient.newBuilder() .dns(DnsOverHttps.Builder() .client(bootstrapClient) .url("https://1.1.1.1/dns-query".toHttpUrl()) .build()) .build() ``` You could also opt in with our new `AndroidDns` API. Unfortunately, the privacy benefits of ECH are thwarted because its DNS queries are not encrypted by default. ```kotlin // AndroidDns fetches the HTTPS DNS resource records necessary for ECH. val client = OkHttpClient.Builder() .dns(AndroidDns()) .build() ``` - New: OkHttp artifacts are now signed with our \[new signing key]. This project and three sibling projects (\[Retrofit], \[Okio], and \[SQLDelight]) recently joined \[the Commonhaus Foundation]. - Fix: MockWebServer’s `@StartStop` annotation now supports `@Nested` JUnit 5 tests. - Fix: Our default TLS hostname verifier now reject hosts that fail IP canonicalization. - Fix: Closing a multipart part's sink no longer closes the entire request body. - Fix: Flush HTTP/1 request bodies before detaching the timeout. We had a bug where timeouts weren’t applied correctly. - Fix: Follow \[RFC 1008]'s requirements for HTTP QUERY redirects. - Fix: Fall back to no proxy when the system proxy selector throws. Previously this would cause the HTTP call to crash. - Upgrade: \[Okio 3.18.1]\[okio\_3\_18\_1]. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMDIuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE2NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/okhttpversion:renovate/okhttpversion
git switch renovate/okhttpversion

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/okhttpversion
git switch renovate/okhttpversion
git rebase master
git switch master
git merge --ff-only renovate/okhttpversion
git switch renovate/okhttpversion
git rebase master
git switch master
git merge --no-ff renovate/okhttpversion
git switch master
git merge --squash renovate/okhttpversion
git switch master
git merge --ff-only renovate/okhttpversion
git switch master
git merge renovate/okhttpversion
git push origin master
Sign in to join this conversation.
No description provided.