Skip to content

Bump squareup-okhttp3 from 5.3.2 to 5.5.0 - #23245

Closed
dependabot[bot] wants to merge 2 commits into
trunkfrom
dependabot/gradle/squareup-okhttp3-5.5.0
Closed

Bump squareup-okhttp3 from 5.3.2 to 5.5.0#23245
dependabot[bot] wants to merge 2 commits into
trunkfrom
dependabot/gradle/squareup-okhttp3-5.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown
Contributor

Bumps squareup-okhttp3 from 5.3.2 to 5.5.0.
Updates com.squareup.okhttp3:okhttp from 5.3.2 to 5.5.0

Changelog

Sourced from com.squareup.okhttp3:okhttp's changelog.

Version 5.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

... (truncated)

Commits

Updates com.squareup.okhttp3:okhttp-urlconnection from 5.3.2 to 5.5.0

Changelog

Sourced from com.squareup.okhttp3:okhttp-urlconnection's changelog.

Version 5.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

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `squareup-okhttp3` from 5.3.2 to 5.5.0.

Updates `com.squareup.okhttp3:okhttp` from 5.3.2 to 5.5.0
- [Changelog](https://github.com/lysine-dev/okhttp/blob/main/CHANGELOG.md)
- [Commits](lysine-dev/okhttp@parent-5.3.2...parent-5.5.0)

Updates `com.squareup.okhttp3:okhttp-urlconnection` from 5.3.2 to 5.5.0
- [Changelog](https://github.com/lysine-dev/okhttp/blob/main/CHANGELOG.md)
- [Commits](lysine-dev/okhttp@parent-5.3.2...parent-5.5.0)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.squareup.okhttp3:okhttp-urlconnection
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the bot: dependencies update Dependabot dependency update label Aug 20, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 20, 2026 08:14
@dependabot
dependabot Bot removed the request for review from a team August 20, 2026 08:14
@dependabot dependabot Bot added the bot: dependencies update Dependabot dependency update label Aug 20, 2026
@dependabot
dependabot Bot requested a review from nbradbury August 20, 2026 08:14
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

@wpmobilebot

Copy link
Copy Markdown
Contributor

Project dependencies changes

list
! Upgraded Dependencies
com.squareup.okhttp3:okhttp:5.5.0, (changed from 5.4.0)
com.squareup.okhttp3:okhttp-android:5.5.0, (changed from 5.4.0)
com.squareup.okhttp3:okhttp-java-net-cookiejar:5.5.0, (changed from 5.3.2)
com.squareup.okhttp3:okhttp-urlconnection:5.5.0, (changed from 5.3.2)
com.squareup.okio:okio:3.18.1, (changed from 3.17.0)
com.squareup.okio:okio-jvm:3.18.1, (changed from 3.17.0)
tree
 +--- project :libs:image-editor
 |    \--- com.automattic:ucrop:2.2.11
-|         \--- com.squareup.okhttp3:okhttp:3.12.13 -> 5.4.0
-|              \--- com.squareup.okhttp3:okhttp-android:5.4.0
-|                   +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.4.10 (*)
-|                   +--- com.squareup.okio:okio:3.17.0
-|                   |    \--- com.squareup.okio:okio-jvm:3.17.0
-|                   |         \--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.4.10 (*)
-|                   +--- org.jetbrains.kotlin:kotlin-stdlib:2.2.21 -> 2.4.10 (*)
-|                   +--- androidx.annotation:annotation:1.10.0 (*)
-|                   \--- androidx.startup:startup-runtime:1.2.0 (*)
+|         \--- com.squareup.okhttp3:okhttp:3.12.13 -> 5.5.0
+|              \--- com.squareup.okhttp3:okhttp-android:5.5.0
+|                   +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.4.10 (*)
+|                   +--- com.squareup.okio:okio:3.18.1
+|                   |    \--- com.squareup.okio:okio-jvm:3.18.1
+|                   |         \--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.4.10 (*)
+|                   +--- org.jetbrains.kotlin:kotlin-stdlib:2.2.21 -> 2.4.10 (*)
+|                   +--- androidx.annotation:annotation:1.10.0 (*)
+|                   \--- androidx.startup:startup-runtime:1.2.0 (*)
 +--- project :libs:editor
 |    +--- com.facebook.react:react-android:0.73.3
 |    |    +--- com.facebook.fresco:imagepipeline-okhttp3:3.1.3
-|    |    |    \--- com.squareup.okhttp3:okhttp:3.12.1 -> 5.4.0 (*)
+|    |    |    \--- com.squareup.okhttp3:okhttp:3.12.1 -> 5.5.0 (*)
-|    |    +--- com.squareup.okhttp3:okhttp-urlconnection:4.9.2 -> 5.3.2
-|    |    |    +--- com.squareup.okhttp3:okhttp:5.3.2 -> 5.4.0 (*)
-|    |    |    +--- com.squareup.okhttp3:okhttp-java-net-cookiejar:5.3.2
-|    |    |    |    +--- com.squareup.okhttp3:okhttp:5.3.2 -> 5.4.0 (*)
-|    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:2.2.21 -> 2.4.10 (*)
-|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:2.2.21 -> 2.4.10 (*)
+|    |    +--- com.squareup.okhttp3:okhttp-urlconnection:4.9.2 -> 5.5.0
+|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.4.10 (*)
+|    |    |    +--- com.squareup.okhttp3:okhttp-java-net-cookiejar:5.5.0
+|    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.4.10 (*)
+|    |    |    |    \--- com.squareup.okhttp3:okhttp:5.5.0 (*)
+|    |    |    \--- com.squareup.okhttp3:okhttp:5.5.0 (*)
-|    |    +--- com.squareup.okhttp3:okhttp:4.9.2 -> 5.4.0 (*)
+|    |    +--- com.squareup.okhttp3:okhttp:4.9.2 -> 5.5.0 (*)
-|    |    \--- com.squareup.okio:okio:2.9.0 -> 3.17.0 (*)
+|    |    \--- com.squareup.okio:okio:2.9.0 -> 3.18.1 (*)
 |    +--- org.wordpress.gutenberg-mobile:react-native-gutenberg-bridge:v1.121.0
 |    |    +--- com.github.wordpress-mobile:react-native-video:5.2.0-wp-7
 |    |    |    +--- com.google.android.exoplayer:extension-okhttp:2.13.3
-|    |    |    |    \--- com.squareup.okhttp3:okhttp:3.12.11 -> 5.4.0 (*)
+|    |    |    |    \--- com.squareup.okhttp3:okhttp:3.12.11 -> 5.5.0 (*)
-|    |    |    \--- com.squareup.okhttp3:okhttp:${OKHTTP_VERSION} -> 5.4.0 (*)
+|    |    |    \--- com.squareup.okhttp3:okhttp:${OKHTTP_VERSION} -> 5.5.0 (*)
 |    |    \--- org.wordpress.react-native-libraries.v6:react-native-fast-image:8.5.11
 |    |         \--- com.github.bumptech.glide:okhttp3-integration:4.12.0 -> 5.0.7
-|    |              \--- com.squareup.okhttp3:okhttp:3.10.0 -> 5.4.0 (*)
+|    |              \--- com.squareup.okhttp3:okhttp:3.10.0 -> 5.5.0 (*)
 |    +--- org.wordpress.gutenbergkit:android:v0.19.0
-|    |    \--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.4.0 (*)
+|    |    \--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.5.0 (*)
 |    \--- com.automattic.tracks:crashlogging:6.0.6
-|         \--- com.squareup.okhttp3:okhttp:4.9.0 -> 5.4.0 (*)
+|         \--- com.squareup.okhttp3:okhttp:4.9.0 -> 5.5.0 (*)
 +--- project :libs:fluxc
-|    +--- com.squareup.okhttp3:okhttp:5.3.2 -> 5.4.0 (*)
+|    +--- com.squareup.okhttp3:okhttp:5.5.0 (*)
-|    +--- com.squareup.okhttp3:okhttp-urlconnection:5.3.2 (*)
+|    +--- com.squareup.okhttp3:okhttp-urlconnection:5.5.0 (*)
 |    +--- com.github.chuckerteam.chucker:library:4.2.0
-|    |    +--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.4.0 (*)
+|    |    +--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.5.0 (*)
-|    |    \--- com.squareup.okhttp3:okhttp -> 5.4.0 (*)
+|    |    \--- com.squareup.okhttp3:okhttp -> 5.5.0 (*)
 |    \--- rs.wordpress.api:android:0.6.0
-|         +--- com.squareup.okhttp3:okhttp:5.4.0 (*)
+|         +--- com.squareup.okhttp3:okhttp:5.4.0 -> 5.5.0 (*)
 |         +--- com.squareup.okhttp3:okhttp-tls:5.4.0
-|         |    +--- com.squareup.okio:okio:3.17.0 (*)
+|         |    +--- com.squareup.okio:okio:3.17.0 -> 3.18.1 (*)
-|         |    \--- com.squareup.okhttp3:okhttp:5.4.0 (*)
+|         |    \--- com.squareup.okhttp3:okhttp:5.4.0 -> 5.5.0 (*)
 |         \--- rs.wordpress.api:kotlin:0.6.0
-|              \--- com.squareup.okhttp3:okhttp:5.4.0 (*)
+|              \--- com.squareup.okhttp3:okhttp:5.4.0 -> 5.5.0 (*)
 +--- com.gravatar:gravatar:2.5.0
 |    +--- com.squareup.moshi:moshi:1.15.1
-|    |    \--- com.squareup.okio:okio:3.7.0 -> 3.17.0 (*)
+|    |    \--- com.squareup.okio:okio:3.7.0 -> 3.18.1 (*)
-|    \--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.4.0 (*)
+|    \--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.5.0 (*)
 +--- com.gravatar:gravatar-quickeditor:2.5.0
 |    +--- com.gravatar:gravatar-ui:2.5.0
 |    |    \--- io.coil-kt:coil-compose:2.7.0
 |    |         \--- io.coil-kt:coil-compose-base:2.7.0
 |    |              \--- io.coil-kt:coil-base:2.7.0
-|    |                   +--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.4.0 (*)
+|    |                   +--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.5.0 (*)
-|    |                   \--- com.squareup.okio:okio:3.9.0 -> 3.17.0 (*)
+|    |                   \--- com.squareup.okio:okio:3.9.0 -> 3.18.1 (*)
 |    \--- io.github.osipxd:security-crypto-datastore-preferences:1.1.1-beta03
 |         +--- io.github.osipxd:encrypted-datastore-preferences:1.1.1-beta03
 |         |    \--- androidx.datastore:datastore-preferences-core:1.1.1 -> 1.1.7
 |         |         \--- androidx.datastore:datastore-preferences-core-android:1.1.7
 |         |              +--- androidx.datastore:datastore-core-okio:1.1.7
 |         |              |    \--- androidx.datastore:datastore-core-okio-jvm:1.1.7
-|         |              |         \--- com.squareup.okio:okio:3.4.0 -> 3.17.0 (*)
+|         |              |         \--- com.squareup.okio:okio:3.4.0 -> 3.18.1 (*)
-|         |              \--- com.squareup.okio:okio:3.4.0 -> 3.17.0 (*)
+|         |              \--- com.squareup.okio:okio:3.4.0 -> 3.18.1 (*)
 |         \--- io.github.osipxd:security-crypto-datastore:1.1.1-beta03
 |              \--- androidx.datastore:datastore:1.1.1 -> 1.1.7
 |                   \--- androidx.datastore:datastore-android:1.1.7
-|                        \--- com.squareup.okio:okio:3.4.0 -> 3.17.0 (*)
+|                        \--- com.squareup.okio:okio:3.4.0 -> 3.18.1 (*)
 +--- com.squareup.retrofit2:retrofit:3.0.0
-|    \--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.4.0 (*)
+|    \--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.5.0 (*)
 +--- com.airbnb.android:lottie:6.7.1
-|    \--- com.squareup.okio:okio:{require 1.17.6; reject _} -> 3.17.0 (*)
+|    \--- com.squareup.okio:okio:{require 1.17.6; reject _} -> 3.18.1 (*)
 \--- com.zendesk:support:5.5.3
      +--- com.squareup.picasso:picasso:2.8
-     |    \--- com.squareup.okhttp3:okhttp:3.10.0 -> 5.4.0 (*)
+     |    \--- com.squareup.okhttp3:okhttp:3.10.0 -> 5.5.0 (*)
      \--- com.zendesk:guide:1.5.3
-          +--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.4.0 (*)
+          +--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.5.0 (*)
           \--- com.zendesk:guide-providers:1.3.2
                \--- com.zendesk:core:4.2.2
-                    +--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.4.0 (*)
+                    +--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.5.0 (*)
                     \--- com.squareup.okhttp3:logging-interceptor:4.12.0
-                         \--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.4.0 (*)
+                         \--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.5.0 (*)

@wpmobilebot

wpmobilebot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🤖 Build Failure Analysis

This build has failures. Claude has analyzed them - check the build annotations for details.

OkHttp 5.4.0 added ~30 abstract members to Interceptor.Chain (withDns,
withCache, withConnectionPool, the proxy/SSL/cookie-jar accessors, and
more). RedactedBodyChain implemented the interface directly and only
covered the members that existed in 5.3.2, so it stopped compiling once
the version catalog moved past 5.3.2.

Use Kotlin interface delegation so every member other than the ones that
carry behaviour is forwarded to the delegate. Members added by future
OkHttp releases no longer break the build.

request(), proceed() and the three withXTimeout() overrides are kept:
the first two implement the redaction itself, and the timeout variants
re-wrap the derived chain so redaction survives a timeout adjustment.
@nbradbury

Copy link
Copy Markdown
Contributor

This update requires bumping the project to compileSdk 37, which we're not ready to do (at least, not just for this update).

@nbradbury nbradbury closed this Aug 20, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/gradle/squareup-okhttp3-5.5.0 branch August 20, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: dependencies update Dependabot dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants