You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2025/07/08 07:30:45 UTC
[PR] chore(deps): Bump squareup-okhttp-version from 3.14.9 to 5.1.0 [camel]
dependabot[bot] opened a new pull request, #18559:
URL: https://github.com/apache/camel/pull/18559
Bumps `squareup-okhttp-version` from 3.14.9 to 5.1.0.
Updates `com.squareup.okhttp3:okhttp` from 3.14.9 to 5.1.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.1.0</h2>
<p><em>2025-07-07</em></p>
<ul>
<li>
<p>New: <code>Response.peekTrailers()</code>. When we changed <code>Response.trailers()</code> to block instead of
throwing in 5.0.0, we inadvertently removed the ability for callers to peek the trailers
(by catching the <code>IllegalStateException</code> if they weren't available). This new API restores that
capability.</p>
</li>
<li>
<p>Fix: Don't crash on <code>trailers()</code> if the response doesn't have a body. We broke [Retrofit] users
who read the trailers on the <code>raw()</code> OkHttp response, after its body was decoded.</p>
</li>
</ul>
<h2>Version 5.0.0</h2>
<p><em>2025-07-02</em></p>
<p>This is our first stable release of OkHttp since 2023. Here's the highlights if you're upgrading
from OkHttp 4.x:</p>
<p><strong>OkHttp is now packaged as separate JVM and Android artifacts.</strong> This allows us to offer
platform-specific features and optimizations. If your build system handles [Gradle module metadata],
this change should be automatic.</p>
<p><strong>MockWebServer has a new coordinate and package name.</strong> We didn’t like that our old artifact
depends on JUnit 4 so the new one doesn’t. It also has a better API built on immutable values. (We
intend to continue publishing the old <code>okhttp3.mockwebserver</code> artifact so there’s no urgency to
migrate.)</p>
<table>
<thead>
<tr>
<th align="left">Coordinate</th>
<th align="left">Package Name</th>
<th align="left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver3:5.0.0</td>
<td align="left">mockwebserver3</td>
<td align="left">Core module. No JUnit dependency!</td>
</tr>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver3-junit4:5.0.0</td>
<td align="left">mockwebserver3.junit4</td>
<td align="left">Optional JUnit 4 integration.</td>
</tr>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver3-junit5:5.0.0</td>
<td align="left">mockwebserver3.junit5</td>
<td align="left">Optional JUnit 5 integration.</td>
</tr>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver:5.0.0</td>
<td align="left">okhttp3.mockwebserver</td>
<td align="left">Obsolete. Depends on JUnit 4.</td>
</tr>
</tbody>
</table>
<p><strong>OkHttp now supports Happy Eyeballs ([RFC 8305][rfc_8305]) for IPv4+IPv6 networks.</strong> It attempts
both IPv6 and IPv4 connections concurrently, keeping whichever connects first.</p>
<p><strong>We’ve improved our Kotlin APIs.</strong> You can skip the builder:</p>
<pre lang="kotlin"><code>val request = Request(
url = "https://cash.app/".toHttpUrl(),
)
</code></pre>
<p><strong>OkHttp now supports [GraalVM].</strong></p>
<p>Here’s what has changed since 5.0.0-alpha.17:</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/square/okhttp/commit/d2dd1806973f7355b07a45fb1ef6a1bcfc094fdb"><code>d2dd180</code></a> Prepare for release 5.1.0.</li>
<li><a href="https://github.com/square/okhttp/commit/61a87359f64fb9506122322176a0695a6dec672c"><code>61a8735</code></a> New Response.peekTrailers() API (<a href="https://redirect.github.com/square/okhttp/issues/8921">#8921</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/66844010f74a20bc076063620a06de478c6fcb26"><code>6684401</code></a> Update dependency gradle to v8.14.3 (<a href="https://redirect.github.com/square/okhttp/issues/8915">#8915</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/7adb2b637cd2d214cdad741a3a1ba056db55e049"><code>7adb2b6</code></a> Update junit-framework monorepo (<a href="https://redirect.github.com/square/okhttp/issues/8914">#8914</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/e41ff18df84982042e26fae6fa0cc482a55a47b8"><code>e41ff18</code></a> Link to new mockwebserver artifacts (<a href="https://redirect.github.com/square/okhttp/issues/8911">#8911</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/0ff87513e2f1c75f32290d0c24d475bc0459bb7f"><code>0ff8751</code></a> Remove Graal init tracing (<a href="https://redirect.github.com/square/okhttp/issues/8909">#8909</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/b9a2560e5647ff18c0a0538998c070938fc65380"><code>b9a2560</code></a> Run graal on master (<a href="https://redirect.github.com/square/okhttp/issues/8907">#8907</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/8339524463f56a7d68bc43ce7af562702e371f4c"><code>8339524</code></a> Remove ExperimentalOkHttpApi references (<a href="https://redirect.github.com/square/okhttp/issues/8908">#8908</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/ce29ef618240b8e4c82b5932e6bc0f7a4730adb9"><code>ce29ef6</code></a> Fix graal tests (<a href="https://redirect.github.com/square/okhttp/issues/8906">#8906</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/85796896c3042935a98500e4d41b0f3ca49523e7"><code>8579689</code></a> Don't force a response body read on all trailers (<a href="https://redirect.github.com/square/okhttp/issues/8904">#8904</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/square/okhttp/compare/parent-3.14.9...parent-5.1.0">compare view</a></li>
</ul>
</details>
<br />
Updates `com.squareup.okhttp3:mockwebserver` from 3.14.9 to 5.1.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/square/okhttp/blob/master/CHANGELOG.md">com.squareup.okhttp3:mockwebserver's changelog</a>.</em></p>
<blockquote>
<h2>Version 5.1.0</h2>
<p><em>2025-07-07</em></p>
<ul>
<li>
<p>New: <code>Response.peekTrailers()</code>. When we changed <code>Response.trailers()</code> to block instead of
throwing in 5.0.0, we inadvertently removed the ability for callers to peek the trailers
(by catching the <code>IllegalStateException</code> if they weren't available). This new API restores that
capability.</p>
</li>
<li>
<p>Fix: Don't crash on <code>trailers()</code> if the response doesn't have a body. We broke [Retrofit] users
who read the trailers on the <code>raw()</code> OkHttp response, after its body was decoded.</p>
</li>
</ul>
<h2>Version 5.0.0</h2>
<p><em>2025-07-02</em></p>
<p>This is our first stable release of OkHttp since 2023. Here's the highlights if you're upgrading
from OkHttp 4.x:</p>
<p><strong>OkHttp is now packaged as separate JVM and Android artifacts.</strong> This allows us to offer
platform-specific features and optimizations. If your build system handles [Gradle module metadata],
this change should be automatic.</p>
<p><strong>MockWebServer has a new coordinate and package name.</strong> We didn’t like that our old artifact
depends on JUnit 4 so the new one doesn’t. It also has a better API built on immutable values. (We
intend to continue publishing the old <code>okhttp3.mockwebserver</code> artifact so there’s no urgency to
migrate.)</p>
<table>
<thead>
<tr>
<th align="left">Coordinate</th>
<th align="left">Package Name</th>
<th align="left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver3:5.0.0</td>
<td align="left">mockwebserver3</td>
<td align="left">Core module. No JUnit dependency!</td>
</tr>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver3-junit4:5.0.0</td>
<td align="left">mockwebserver3.junit4</td>
<td align="left">Optional JUnit 4 integration.</td>
</tr>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver3-junit5:5.0.0</td>
<td align="left">mockwebserver3.junit5</td>
<td align="left">Optional JUnit 5 integration.</td>
</tr>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver:5.0.0</td>
<td align="left">okhttp3.mockwebserver</td>
<td align="left">Obsolete. Depends on JUnit 4.</td>
</tr>
</tbody>
</table>
<p><strong>OkHttp now supports Happy Eyeballs ([RFC 8305][rfc_8305]) for IPv4+IPv6 networks.</strong> It attempts
both IPv6 and IPv4 connections concurrently, keeping whichever connects first.</p>
<p><strong>We’ve improved our Kotlin APIs.</strong> You can skip the builder:</p>
<pre lang="kotlin"><code>val request = Request(
url = "https://cash.app/".toHttpUrl(),
)
</code></pre>
<p><strong>OkHttp now supports [GraalVM].</strong></p>
<p>Here’s what has changed since 5.0.0-alpha.17:</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/square/okhttp/commit/d2dd1806973f7355b07a45fb1ef6a1bcfc094fdb"><code>d2dd180</code></a> Prepare for release 5.1.0.</li>
<li><a href="https://github.com/square/okhttp/commit/61a87359f64fb9506122322176a0695a6dec672c"><code>61a8735</code></a> New Response.peekTrailers() API (<a href="https://redirect.github.com/square/okhttp/issues/8921">#8921</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/66844010f74a20bc076063620a06de478c6fcb26"><code>6684401</code></a> Update dependency gradle to v8.14.3 (<a href="https://redirect.github.com/square/okhttp/issues/8915">#8915</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/7adb2b637cd2d214cdad741a3a1ba056db55e049"><code>7adb2b6</code></a> Update junit-framework monorepo (<a href="https://redirect.github.com/square/okhttp/issues/8914">#8914</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/e41ff18df84982042e26fae6fa0cc482a55a47b8"><code>e41ff18</code></a> Link to new mockwebserver artifacts (<a href="https://redirect.github.com/square/okhttp/issues/8911">#8911</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/0ff87513e2f1c75f32290d0c24d475bc0459bb7f"><code>0ff8751</code></a> Remove Graal init tracing (<a href="https://redirect.github.com/square/okhttp/issues/8909">#8909</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/b9a2560e5647ff18c0a0538998c070938fc65380"><code>b9a2560</code></a> Run graal on master (<a href="https://redirect.github.com/square/okhttp/issues/8907">#8907</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/8339524463f56a7d68bc43ce7af562702e371f4c"><code>8339524</code></a> Remove ExperimentalOkHttpApi references (<a href="https://redirect.github.com/square/okhttp/issues/8908">#8908</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/ce29ef618240b8e4c82b5932e6bc0f7a4730adb9"><code>ce29ef6</code></a> Fix graal tests (<a href="https://redirect.github.com/square/okhttp/issues/8906">#8906</a>)</li>
<li><a href="https://github.com/square/okhttp/commit/85796896c3042935a98500e4d41b0f3ca49523e7"><code>8579689</code></a> Don't force a response body read on all trailers (<a href="https://redirect.github.com/square/okhttp/issues/8904">#8904</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/square/okhttp/compare/parent-3.14.9...parent-5.1.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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): Bump squareup-okhttp-version from 3.14.9 to 5.1.0 [camel]
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #18559:
URL: https://github.com/apache/camel/pull/18559#issuecomment-3047730293
OK, I won't notify you again about this release, but will get in touch when a new version is available. 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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): Bump squareup-okhttp-version from 3.14.9 to 5.1.0 [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #18559:
URL: https://github.com/apache/camel/pull/18559#issuecomment-3047708900
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot.
* You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
* :warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): Bump squareup-okhttp-version from 3.14.9 to 5.1.0 [camel]
Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on PR #18559:
URL: https://github.com/apache/camel/pull/18559#issuecomment-3047730124
Too big
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): Bump squareup-okhttp-version from 3.14.9 to 5.1.0 [camel]
Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd closed pull request #18559: chore(deps): Bump squareup-okhttp-version from 3.14.9 to 5.1.0
URL: https://github.com/apache/camel/pull/18559
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org