You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2025/10/08 15:24:26 UTC

[PR] Bump okhttp from 5.1.0 to 5.2.0 [ignite-3]

dependabot[bot] opened a new pull request, #6725:
URL: https://github.com/apache/ignite-3/pull/6725

   Bumps `okhttp` from 5.1.0 to 5.2.0.
   Updates `com.squareup.okhttp3:okhttp` from 5.1.0 to 5.2.0
   <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.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>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <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><a href="https://github.com/square/okhttp/commit/fa84a6e0d7e38fbf9d77e106d5de6a87fa32d8a7"><code>fa84a6e</code></a> feat: add curl() method to Request for generating cURL commands (<a href="https://redirect.github.com/square/okhttp/issues/8897">#8897</a>)</li>
   <li><a href="https://github.com/square/okhttp/commit/e3e996095b575d85f1fea7129db33cdd5d0acd4d"><code>e3e9960</code></a> Use a single synchronized block in Dispatcher (<a href="https://redirect.github.com/square/okhttp/issues/9110">#9110</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/square/okhttp/compare/parent-5.1.0...parent-5.2.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   Updates `com.squareup.okhttp3:logging-interceptor` from 5.1.0 to 5.2.0
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/square/okhttp/blob/master/CHANGELOG.md">com.squareup.okhttp3:logging-interceptor's changelog</a>.</em></p>
   <blockquote>
   <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>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <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><a href="https://github.com/square/okhttp/commit/fa84a6e0d7e38fbf9d77e106d5de6a87fa32d8a7"><code>fa84a6e</code></a> feat: add curl() method to Request for generating cURL commands (<a href="https://redirect.github.com/square/okhttp/issues/8897">#8897</a>)</li>
   <li><a href="https://github.com/square/okhttp/commit/e3e996095b575d85f1fea7129db33cdd5d0acd4d"><code>e3e9960</code></a> Use a single synchronized block in Dispatcher (<a href="https://redirect.github.com/square/okhttp/issues/9110">#9110</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/square/okhttp/compare/parent-5.1.0...parent-5.2.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 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: notifications-unsubscribe@ignite.apache.org

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


Re: [PR] Bump okhttp from 5.1.0 to 5.2.0 [ignite-3]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] closed pull request #6725: Bump okhttp from 5.1.0 to 5.2.0
URL: https://github.com/apache/ignite-3/pull/6725


-- 
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: notifications-unsubscribe@ignite.apache.org

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


Re: [PR] Bump okhttp from 5.1.0 to 5.2.0 [ignite-3]

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

   Superseded by #6747.


-- 
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: notifications-unsubscribe@ignite.apache.org

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


Re: [PR] Bump okhttp from 5.1.0 to 5.2.0 [ignite-3]

Posted by "sk0x50 (via GitHub)" <gi...@apache.org>.
sk0x50 commented on PR #6725:
URL: https://github.com/apache/ignite-3/pull/6725#issuecomment-3389893009

   @dependabot rebase


-- 
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: notifications-unsubscribe@ignite.apache.org

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