Skip to content

chore(deps): bump com.squareup.okhttp3:mockwebserver3 from 5.3.0 to 5.5.0 - #311

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/gradle/com.squareup.okhttp3-mockwebserver3-5.4.0
Open

chore(deps): bump com.squareup.okhttp3:mockwebserver3 from 5.3.0 to 5.5.0#311
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/gradle/com.squareup.okhttp3-mockwebserver3-5.4.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps com.squareup.okhttp3:mockwebserver3 from 5.3.0 to 5.5.0.

Changelog

Sourced from com.squareup.okhttp3:mockwebserver3'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

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Aug 7, 2026
@obiente-cloud
obiente-cloud Bot temporarily deployed to Obiente Preview / PR #311 / NC Native August 10, 2026 17:05 Destroyed
@obiente-cloud

obiente-cloud Bot commented Aug 10, 2026

Copy link
Copy Markdown

Obiente preview

NC Native · 013a64289b52 · Ready

Open preview

View in Obiente

Obiente updates this comment as the preview changes.

@obiente-cloud
obiente-cloud Bot temporarily deployed to Obiente Preview / PR #311 / NC Native August 10, 2026 17:22 Destroyed
@dependabot
dependabot Bot force-pushed the dependabot/gradle/com.squareup.okhttp3-mockwebserver3-5.4.0 branch from 08db530 to de108e6 Compare August 14, 2026 10:23
@obiente-cloud
obiente-cloud Bot temporarily deployed to Obiente Preview / PR #311 / NC Native August 14, 2026 10:23 Destroyed
@dependabot
dependabot Bot force-pushed the dependabot/gradle/com.squareup.okhttp3-mockwebserver3-5.4.0 branch from de108e6 to 149faaa Compare August 16, 2026 15:26
@obiente-cloud
obiente-cloud Bot temporarily deployed to Obiente Preview / PR #311 / NC Native August 16, 2026 15:26 Destroyed
Bumps [com.squareup.okhttp3:mockwebserver3](https://github.com/lysine-dev/okhttp) from 5.3.0 to 5.5.0.
- [Changelog](https://github.com/lysine-dev/okhttp/blob/main/CHANGELOG.md)
- [Commits](lysine-dev/okhttp@parent-5.3.0...parent-5.5.0)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:mockwebserver3
  dependency-version: 5.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump com.squareup.okhttp3:mockwebserver3 from 5.3.0 to 5.4.0 chore(deps): bump com.squareup.okhttp3:mockwebserver3 from 5.3.0 to 5.5.0 Sep 4, 2026
@dependabot
dependabot Bot force-pushed the dependabot/gradle/com.squareup.okhttp3-mockwebserver3-5.4.0 branch from 149faaa to f584ab5 Compare September 4, 2026 06:34
@obiente-cloud
obiente-cloud Bot temporarily deployed to Obiente Preview / PR #311 / NC Native September 4, 2026 06:34 Destroyed
@obiente-cloud
obiente-cloud Bot temporarily deployed to Obiente Preview / PR #311 / NC Native September 5, 2026 06:21 Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant