chore(deps): bump com.squareup.okhttp3:okhttp from 4.11.0 to 5.2.1 in /backend
Bumps com.squareup.okhttp3:okhttp from 4.11.0 to 5.2.1.
Changelog
Sourced from com.squareup.okhttp3:okhttp's changelog.
Version 5.2.1
2025-10-09
Fix: Don't crash when calling
Socket.shutdownOutput()orshutdownInput()on anSSLSocketon Android API 21 through 23. This method throws anUnsupportedOperationException, so we now catch that and close the underlying stream instead.Upgrade: [Okio 3.16.1][okio_3_16_1].
Version 5.2.0
2025-10-07
New: Support [HTTP 101] responses with
Response.socket. This mechanism is only supported on HTTP/1.1. We also reimplemented our websocket client to use this new mechanism.New: The
okhttp-zstdmodule 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:val client = OkHttpClient.Builder() .addInterceptor(CompressionInterceptor(Zstd, Gzip)) .build()New: Support the
QUERYHTTP method. You will need to set theRequest.cacheUrlOverrideproperty to cache calls made with this method. TheRequestBody.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, anddispatcherQueueEnd()is invoked when it's done.New:
Request.toCurl()returns a copy-pasteable [curl] command consistent with Chrome’s and Firefox’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].
Version 5.1.0
... (truncated)
Commits
a8b8dc5Prepare for release 5.2.1.7d7bdc6Upgrade to Okio 3.16.1 (#9131)2a95ed0Prepare for release 5.2.0.acfae32Revert "Add minimal HttpLoggingInterceptor support for streaming request and ...d82e875Put Brotli and Gzip in top-level files (#9116)d4a5be1Fix RequestBody events on upgraded connections (#8970)112a19dAdd RequestBody.sha256() (#9109)d41a755Start publishing dispatcher queue events (#9111)c06ff31Get Content-Type from the request body (#9113)fdac86bMake Request.toCurl work more like Chrome's 'copy as cURL' (#9112)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.