You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2025/10/10 02:18:40 UTC

[PR] Bump com.squareup.okhttp3:okhttp from 4.12.0 to 5.2.1 [cxf]

dependabot[bot] opened a new pull request, #2653:
URL: https://github.com/apache/cxf/pull/2653

   Bumps [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp) from 4.12.0 to 5.2.1.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/square/okhttp/blob/master/CHANGELOG.md">com.squareup.okhttp3:okhttp's changelog</a>.</em></p>
   <blockquote>
   <h2>Version 5.2.1</h2>
   <p><em>2025-10-09</em></p>
   <ul>
   <li>
   <p>Fix: Don't crash when calling <code>Socket.shutdownOutput()</code> or <code>shutdownInput()</code> on an <code>SSLSocket</code>
   on Android API 21 through 23. This method throws an <code>UnsupportedOperationException</code>, so we now
   catch that and close the underlying stream instead.</p>
   </li>
   <li>
   <p>Upgrade: [Okio 3.16.1][okio_3_16_1].</p>
   </li>
   </ul>
   <h2>Version 5.2.0</h2>
   <p><em>2025-10-07</em></p>
   <ul>
   <li>
   <p>New: Support [HTTP 101] responses with <code>Response.socket</code>. This mechanism is only supported on
   HTTP/1.1. We also reimplemented our websocket client to use this new mechanism.</p>
   </li>
   <li>
   <p>New: The <code>okhttp-zstd</code> module negotiates [Zstandard (zstd)][zstd] compression with servers that
   support it. It integrates a new (unstable) [ZSTD-KMP] library, also from Square. Enable it like
   this:</p>
   <pre lang="kotlin"><code>val client = OkHttpClient.Builder()
     .addInterceptor(CompressionInterceptor(Zstd, Gzip))
     .build()
   </code></pre>
   </li>
   <li>
   <p>New: Support the <code>QUERY</code> HTTP method. You will need to set the <code>Request.cacheUrlOverride</code>
   property to cache calls made with this method. The <code>RequestBody.sha256()</code> may be helpful here;
   use it to compose a cache URL from the query body.</p>
   </li>
   <li>
   <p>New: Publish events when calls must wait to execute. <code>EventListener.dispatcherQueueStart()</code>
   is invoked when a call starts waiting, and <code>dispatcherQueueEnd()</code> is invoked when it's done.</p>
   </li>
   <li>
   <p>New: <code>Request.toCurl()</code> returns a copy-pasteable [curl] command consistent with Chrome’s and
   Firefox’s ‘copy as cURL’ features.</p>
   </li>
   <li>
   <p>New: Support [JPMS]. We replaced our <code>Automatic-Module-Name</code> metadata with proper
   <code>module-info.java</code> files.</p>
   </li>
   <li>
   <p>Fix: Recover gracefully when worker threads are interrupted. When we introduced fast fallback in
   OkHttp 5.0, we started using background threads while connecting. Sadly that code didn't handle
   interruptions well. This is now fixed.</p>
   </li>
   <li>
   <p>Upgrade: [Kotlin 2.2.20][kotlin_2_2_20].</p>
   </li>
   <li>
   <p>Upgrade: [Okio 3.16.0][okio_3_16_0].</p>
   </li>
   </ul>
   <h2>Version 5.1.0</h2>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/square/okhttp/commit/a8b8dc5d80a6c7d33766b228f5837c1a23200b57"><code>a8b8dc5</code></a> Prepare for release 5.2.1.</li>
   <li><a href="https://github.com/square/okhttp/commit/7d7bdc69c89ca595aa37b0e34b1a98645aee4a0b"><code>7d7bdc6</code></a> Upgrade to Okio 3.16.1 (<a href="https://redirect.github.com/square/okhttp/issues/9131">#9131</a>)</li>
   <li><a href="https://github.com/square/okhttp/commit/2a95ed08739c0d7f30520506238ea9b6abc9a0e5"><code>2a95ed0</code></a> Prepare for release 5.2.0.</li>
   <li><a href="https://github.com/square/okhttp/commit/acfae325f0dcdc1626e656b8d396afc00e8ae58d"><code>acfae32</code></a> Revert &quot;Add minimal HttpLoggingInterceptor support for streaming request and ...</li>
   <li><a href="https://github.com/square/okhttp/commit/d82e8750c40bb54fcd60459b94fcfc922198922b"><code>d82e875</code></a> Put Brotli and Gzip in top-level files (<a href="https://redirect.github.com/square/okhttp/issues/9116">#9116</a>)</li>
   <li><a href="https://github.com/square/okhttp/commit/d4a5be134ef9083a88a80a2e135ec6a730b49673"><code>d4a5be1</code></a> Fix RequestBody events on upgraded connections (<a href="https://redirect.github.com/square/okhttp/issues/8970">#8970</a>)</li>
   <li><a href="https://github.com/square/okhttp/commit/112a19d5e4eab3fd376db1473220887285e39126"><code>112a19d</code></a> Add RequestBody.sha256() (<a href="https://redirect.github.com/square/okhttp/issues/9109">#9109</a>)</li>
   <li><a href="https://github.com/square/okhttp/commit/d41a755c7e51be330f1ee7fb9891221ac74e78ec"><code>d41a755</code></a> Start publishing dispatcher queue events (<a href="https://redirect.github.com/square/okhttp/issues/9111">#9111</a>)</li>
   <li><a href="https://github.com/square/okhttp/commit/c06ff312b29867e68bb12e829d5f015a29b92ff4"><code>c06ff31</code></a> Get Content-Type from the request body (<a href="https://redirect.github.com/square/okhttp/issues/9113">#9113</a>)</li>
   <li><a href="https://github.com/square/okhttp/commit/fdac86bb903c652c897349bb47a7945caa76f4fa"><code>fdac86b</code></a> Make Request.toCurl work more like Chrome's 'copy as cURL' (<a href="https://redirect.github.com/square/okhttp/issues/9112">#9112</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/square/okhttp/compare/parent-4.12.0...parent-5.2.1">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp&package-manager=maven&previous-version=4.12.0&new-version=5.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   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 merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
   - `@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: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.squareup.okhttp3:okhttp from 4.12.0 to 5.2.1 [cxf]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #2653:
URL: https://github.com/apache/cxf/pull/2653#issuecomment-3389630577

   OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) 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.


-- 
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: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.squareup.okhttp3:okhttp from 4.12.0 to 5.2.1 [cxf]

Posted by "reta (via GitHub)" <gi...@apache.org>.
reta closed pull request #2653: Bump com.squareup.okhttp3:okhttp from 4.12.0 to 5.2.1
URL: https://github.com/apache/cxf/pull/2653


-- 
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: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.squareup.okhttp3:okhttp from 4.12.0 to 5.2.1 [cxf]

Posted by "reta (via GitHub)" <gi...@apache.org>.
reta commented on PR #2653:
URL: https://github.com/apache/cxf/pull/2653#issuecomment-3389630122

   Will be covered in scope of https://issues.apache.org/jira/browse/CXF-8828


-- 
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: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org