dependabot[bot] opened a new pull request, #2062:
URL: https://github.com/apache/maven-resolver/pull/2062

   Bumps `okhttpVersion` from 5.4.0 to 5.5.0.
   Updates `com.squareup.okhttp3:okhttp-bom` 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:okhttp-bom'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(&quot;<a 
href="https://1.1.1.1/dns-query&amp;quot;.toHttpUrl()">https://1.1.1.1/dns-query&amp;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 &quot;Use a fixed size for DoH request body&quot; (<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 />
   
   Updates `com.squareup.okhttp3:okhttp-jvm` 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:okhttp-jvm'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(&quot;<a 
href="https://1.1.1.1/dns-query&amp;quot;.toHttpUrl()">https://1.1.1.1/dns-query&amp;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 &quot;Use a fixed size for DoH request body&quot; (<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 />
   
   
   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-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   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)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to