This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-java.git
The following commit(s) were added to refs/heads/main by this push:
new ce8a19d8a MINOR: Bump com.squareup.okhttp3:mockwebserver3 from 5.4.0
to 5.5.0 (#1327)
ce8a19d8a is described below
commit ce8a19d8a6d4a1708bddd6dda61bab8d2526bfbe
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 5 16:22:04 2026 +0200
MINOR: Bump com.squareup.okhttp3:mockwebserver3 from 5.4.0 to 5.5.0 (#1327)
Bumps
[com.squareup.okhttp3:mockwebserver3](https://github.com/lysine-dev/okhttp)
from 5.4.0 to 5.5.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/lysine-dev/okhttp/blob/main/CHANGELOG.md">com.squareup.okhttp3:mockwebserver3's
changelog</a>.</em></p>
<blockquote>
<h2>Version 5.5.0</h2>
<p><em>2026-08-16</em></p>
<p>This release introduces <strong>opt-in</strong> 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 <em>wikipedia.com</em>, 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.</p>
<p>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.</p>
<p>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.</p>
<p>To opt in, you can use <code>DnsOverHttps</code>:</p>
<pre lang="kotlin"><code>// DnsOverHttps itself uses OkHttpClient. Build
both clients upon the
// same bootstrap client so they share a connection pool and dispatcher.
val bootstrapClient = OkHttpClient()
<p>// This sample uses Cloudflare's 1.1.1.1 DnsOverHttps service.
val client = bootstrapClient.newBuilder()
.dns(DnsOverHttps.Builder()
.client(bootstrapClient)
.url("<a
href="https://1.1.1.1/dns-query&quot;.toHttpUrl()">https://1.1.1.1/dns-query&quot;.toHttpUrl()</a>)
.build())
.build()
</code></pre></p>
<p>You could also opt in with our new <code>AndroidDns</code> API.
Unfortunately, the privacy benefits of ECH are
thwarted because its DNS queries are not encrypted by default.</p>
<pre lang="kotlin"><code>// AndroidDns fetches the HTTPS DNS resource
records necessary for ECH.
val client = OkHttpClient.Builder()
.dns(AndroidDns())
.build()
</code></pre>
<ul>
<li>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].</li>
<li>Fix: MockWebServer’s <code>@StartStop</code> annotation now supports
<code>@Nested</code> JUnit 5 tests.</li>
<li>Fix: Our default TLS hostname verifier now reject hosts that fail IP
canonicalization.</li>
<li>Fix: Closing a multipart part's sink no longer closes the entire
request body.</li>
<li>Fix: Flush HTTP/1 request bodies before detaching the timeout. We
had a bug where timeouts</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/lysine-dev/okhttp/commit/a94bdf152084d11acecd44dcd09ffef203f4f0aa"><code>a94bdf1</code></a>
Prepare for release 5.5.0.</li>
<li><a
href="https://github.com/lysine-dev/okhttp/commit/ecc3b05adfe6b2607b8ec251562c2cccf7c1923a"><code>ecc3b05</code></a>
Use a fixed size for DoH request body (<a
href="https://redirect.github.com/lysine-dev/okhttp/issues/9687">#9687</a>)</li>
<li><a
href="https://github.com/lysine-dev/okhttp/commit/9926082660dfa6f1cc848c6f465cf5ccb998e415"><code>9926082</code></a>
Revert "Use a fixed size for DoH request body" (<a
href="https://redirect.github.com/lysine-dev/okhttp/issues/9686">#9686</a>)</li>
<li><a
href="https://github.com/lysine-dev/okhttp/commit/0070c2e7b4c162ee03abf1c88fd94083e94697f4"><code>0070c2e</code></a>
Use a fixed size for DoH request body</li>
<li><a
href="https://github.com/lysine-dev/okhttp/commit/15764539c69842dad607462f102a2507223dbfe7"><code>1576453</code></a>
Order ServiceMetadata records per the spec (<a
href="https://redirect.github.com/lysine-dev/okhttp/issues/9683">#9683</a>)</li>
<li><a
href="https://github.com/lysine-dev/okhttp/commit/fb582e976a9a82d691342a4d57b3c72208ce416c"><code>fb582e9</code></a>
Flip wiring of Dns.SYSTEM (<a
href="https://redirect.github.com/lysine-dev/okhttp/issues/9682">#9682</a>)</li>
<li><a
href="https://github.com/lysine-dev/okhttp/commit/4e884abb1a207c321acffb070c476acb4b89fa3f"><code>4e884ab</code></a>
retryOnConnectionFailure doesn't impact ECH retries (<a
href="https://redirect.github.com/lysine-dev/okhttp/issues/9681">#9681</a>)</li>
<li><a
href="https://github.com/lysine-dev/okhttp/commit/0433cee8131b63fa2c0634fa2f9b3a01f9a8b1f3"><code>0433cee</code></a>
Only one contributing.md doc (<a
href="https://redirect.github.com/lysine-dev/okhttp/issues/9678">#9678</a>)</li>
<li><a
href="https://github.com/lysine-dev/okhttp/commit/a2cf5aa9f8711dabe514871e9dc4a9336a0e403f"><code>a2cf5aa</code></a>
Don't recover after an ECH public_name fails to verify (<a
href="https://redirect.github.com/lysine-dev/okhttp/issues/9680">#9680</a>)</li>
<li><a
href="https://github.com/lysine-dev/okhttp/commit/5410de9760bce8719129c3d08eb19e5bace75f6e"><code>5410de9</code></a>
Test ECH + HTTP proxy (<a
href="https://redirect.github.com/lysine-dev/okhttp/issues/9671">#9671</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/lysine-dev/okhttp/compare/parent-5.4.0...parent-5.5.0">compare
view</a></li>
</ul>
</details>
<br />
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JB Onofré <[email protected]>
---
flight/flight-sql-jdbc-core/pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/flight/flight-sql-jdbc-core/pom.xml
b/flight/flight-sql-jdbc-core/pom.xml
index ec690685d..99fa1c735 100644
--- a/flight/flight-sql-jdbc-core/pom.xml
+++ b/flight/flight-sql-jdbc-core/pom.xml
@@ -122,7 +122,7 @@ under the License.
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>mockwebserver3</artifactId>
- <version>5.4.0</version>
+ <version>5.5.0</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -134,7 +134,7 @@ under the License.
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp-jvm</artifactId>
- <version>5.4.0</version>
+ <version>5.5.0</version>
<scope>test</scope>
</dependency>
<dependency>