Update dependency com.squareup.okhttp3:okhttp to v5#16
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
July 7, 2025 20:30
822152f to
882f923
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
August 10, 2025 14:56
882f923 to
b8d1721
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
September 8, 2025 13:50
b8d1721 to
8c7341c
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
3 times, most recently
from
October 10, 2025 02:06
ef57516 to
361584e
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
October 21, 2025 16:46
361584e to
1acb92f
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
October 31, 2025 03:13
1acb92f to
5334fea
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
2 times, most recently
from
November 16, 2025 18:29
2daf11b to
d884c93
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
November 18, 2025 22:43
d884c93 to
63801d8
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
2 times, most recently
from
December 31, 2025 15:57
5607861 to
6d96e28
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
January 19, 2026 18:55
6d96e28 to
a660068
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
February 2, 2026 21:07
a660068 to
6e185ad
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
February 12, 2026 13:33
6e185ad to
3c300a1
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
2 times, most recently
from
March 5, 2026 10:41
ad27e9a to
5757827
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
March 13, 2026 18:08
5757827 to
84e112a
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
2 times, most recently
from
April 8, 2026 19:15
d1e11c4 to
eb0681f
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
April 21, 2026 20:37
eb0681f to
e420adc
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
2 times, most recently
from
May 22, 2026 20:40
dc2dbb7 to
5a2c000
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
June 8, 2026 23:38
5a2c000 to
e6a958d
Compare
renovate
Bot
force-pushed
the
renovate/major-okhttp-monorepo
branch
from
July 16, 2026 17:13
e6a958d to
3fd85a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.12.0→5.4.0Release Notes
square/okhttp (com.squareup.okhttp3:okhttp)
v5.4.02026-06-08
OkHttpClient.Builder, such as the cache, connection pool, socket factory, and DNS. We expectthis will allow most users to use interceptors everywhere, insted of mixing and matching
interceptors with custom
Call.Factorywrappers.okhttp-coroutinesartifact.v5.3.22025-11-18
Fix: Don't delay triggering timeouts. In Okio 3.16.0 we introduced a regression that caused
timeouts to fire later than they were supposed to.
Upgrade: [Okio 3.16.4][okio_3_16_4].
v5.3.12025-11-16
This release is the same as 5.3.0. Okio 3.16.3 didn't have a necessary fix!
v5.3.02025-10-30
New: Add tags to
Call, including computable tags. Use this to attach application-specificmetadata to a
Callin anEventListenerorInterceptor. The tag can be read in any otherEventListenerorInterceptor.New: Support request bodies on HTTP/1.1 connection upgrades.
New:
EventListener.plus()makes it easier to observe events in multiple listeners.Fix: Don't spam logs with ‘Method isLoggable in android.util.Log not mocked.’ when using
OkHttp in Robolectric and Paparazzi tests.
Upgrade: [Kotlin 2.2.21][kotlin_2_2_21].
Upgrade: [Okio 3.16.2][okio_3_16_2].
Upgrade: [ZSTD-KMP 0.4.0][zstd_kmp_0_4_0]. This update fixes a bug that caused APKs to fail
[16 KB ELF alignment checks][elf_alignment].
v5.2.32025-11-18
Fix: Don't delay triggering timeouts. In Okio 3.16.0 we introduced a regression that caused
timeouts to fire later than they were supposed to.
Upgrade: [Okio 3.16.4][okio_3_16_4].
v5.2.22025-11-16
This release is the same as 5.2.1. Okio 3.16.3 didn't have a necessary fix!
v5.2.12025-10-09
Fix: Don't crash when calling
Socket.shutdownOutput()orshutdownInput()on anSSLSocketon Android API 21 through 23. This method throws an
UnsupportedOperationException, so we nowcatch that and close the underlying stream instead.
Upgrade: [Okio 3.16.1][okio_3_16_1].
v5.2.02025-10-07
New: Support [HTTP 101] responses with
Response.socket. This mechanism is only supported onHTTP/1.1. We also reimplemented our websocket client to use this new mechanism.
New: The
okhttp-zstdmodule negotiates [Zstandard (zstd)][zstd] compression with servers thatsupport it. It integrates a new (unstable) [ZSTD-KMP] library, also from Square. Enable it like
this:
New: Support the
QUERYHTTP method. You will need to set theRequest.cacheUrlOverrideproperty to cache calls made with this method. The
RequestBody.sha256()may be helpful here;use it to compose a cache URL from the query body.
New: Publish events when calls must wait to execute.
EventListener.dispatcherQueueStart()is invoked when a call starts waiting, and
dispatcherQueueEnd()is invoked when it's done.New:
Request.toCurl()returns a copy-pasteable [curl] command consistent with Chrome’s andFirefox’s ‘copy as cURL’ features.
New: Support [JPMS]. We replaced our
Automatic-Module-Namemetadata with propermodule-info.javafiles.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.
Upgrade: [Kotlin 2.2.20][kotlin_2_2_20].
Upgrade: [Okio 3.16.0][okio_3_16_0].
v5.1.02025-07-07
New:
Response.peekTrailers(). When we changedResponse.trailers()to block instead ofthrowing in 5.0.0, we inadvertently removed the ability for callers to peek the trailers
(by catching the
IllegalStateExceptionif they weren't available). This new API restores thatcapability.
Fix: Don't crash on
trailers()if the response doesn't have a body. We broke [Retrofit] userswho read the trailers on the
raw()OkHttp response, after its body was decoded.v5.0.02025-07-02
This is our first stable release of OkHttp since 2023. Here's the highlights if you're upgrading
from OkHttp 4.x:
OkHttp is now packaged as separate JVM and Android artifacts. This allows us to offer
platform-specific features and optimizations. If your build system handles [Gradle module metadata],
this change should be automatic.
MockWebServer has a new coordinate and package name. 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
okhttp3.mockwebserverartifact so there’s no urgency tomigrate.)
OkHttp now supports Happy Eyeballs ([RFC 8305][rfc_8305]) for IPv4+IPv6 networks. It attempts
both IPv6 and IPv4 connections concurrently, keeping whichever connects first.
We’ve improved our Kotlin APIs. You can skip the builder:
OkHttp now supports [GraalVM].
Here’s what has changed since 5.0.0-alpha.17:
NoSuchMethodErrorwhen using OkHttp with the Sentry SDK.okhttp3.mockwebserver.RecordedRequest.pathproperty. Weinadvertently changed this behavior when we introduced the
mockwebserver3API.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.