Title: chore(deps): bump com.squareup.okhttp3:okhttp from 5.1.0 to 5.2.0 by dependabot[bot] · Pull Request #146 · SiftScience/sift-java · GitHub
Open Graph Title: chore(deps): bump com.squareup.okhttp3:okhttp from 5.1.0 to 5.2.0 by dependabot[bot] · Pull Request #146 · SiftScience/sift-java
X Title: chore(deps): bump com.squareup.okhttp3:okhttp from 5.1.0 to 5.2.0 by dependabot[bot] · Pull Request #146 · SiftScience/sift-java
Description: Bumps com.squareup.okhttp3:okhttp from 5.1.0 to 5.2.0.
Changelog
Sourced from com.squareup.okhttp3:okhttp's changelog.
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-zstd 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:
val client = OkHttpClient.Builder()
.addInterceptor(CompressionInterceptor(Zstd, Gzip))
.build()
New: Support the QUERY HTTP method. You will need to set the Request.cacheUrlOverride
property 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 and
Firefox’s ‘copy as cURL’ features.
New: Support [JPMS]. We replaced our Automatic-Module-Name metadata with proper
module-info.java files.
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].
Commits
2a95ed0 Prepare for release 5.2.0.
acfae32 Revert "Add minimal HttpLoggingInterceptor support for streaming request and ...
d82e875 Put Brotli and Gzip in top-level files (#9116)
d4a5be1 Fix RequestBody events on upgraded connections (#8970)
112a19d Add RequestBody.sha256() (#9109)
d41a755 Start publishing dispatcher queue events (#9111)
c06ff31 Get Content-Type from the request body (#9113)
fdac86b Make Request.toCurl work more like Chrome's 'copy as cURL' (#9112)
fa84a6e feat: add curl() method to Request for generating cURL commands (#8897)
e3e9960 Use a single synchronized block in Dispatcher (#9110)
Additional commits viewable in compare view
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 commands and options
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
Open Graph Description: Bumps com.squareup.okhttp3:okhttp from 5.1.0 to 5.2.0. Changelog Sourced from com.squareup.okhttp3:okhttp's changelog. Version 5.2.0 2025-10-07 New: Support [HTTP 101] responses with Respon...
X Description: Bumps com.squareup.okhttp3:okhttp from 5.1.0 to 5.2.0. Changelog Sourced from com.squareup.okhttp3:okhttp's changelog. Version 5.2.0 2025-10-07 New: Support [HTTP 101] responses with Re...
Opengraph URL: https://github.com/SiftScience/sift-java/pull/146
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:12e79f8e-da0d-d9f4-7fa3-070c661d1b79 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC38:116DC3:4AFC42:66984A:698E1058 |
| html-safe-nonce | 87f665de78ec111684e423ce3c66254f02d7aa9d148cf08c470e1ff2ffcce274 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzM4OjExNkRDMzo0QUZDNDI6NjY5ODRBOjY5OEUxMDU4IiwidmlzaXRvcl9pZCI6Ijc0MjczMTExMTg4MTk2NTk4NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 09f5341981de1e988d4f9f23f4c7ebce4acf397fc6f2c55c23ffbe07a4ae5a89 |
| hovercard-subject-tag | pull_request:2897089076 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/SiftScience/sift-java/pull/146/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps com.squareup.okhttp3:okhttp from 5.1.0 to 5.2.0. Changelog Sourced from com.squareup.okhttp3:okhttp's changelog. Version 5.2.0 2025-10-07 New: Support [HTTP 101] responses with Respon... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdf74c91c9ac187cc5cd7b14d4af2d6ef3e18136d002f5d36253f8538e97ee4c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/SiftScience/sift-java git https://github.com/SiftScience/sift-java.git |
| octolytics-dimension-user_id | 836132 |
| octolytics-dimension-user_login | SiftScience |
| octolytics-dimension-repository_id | 69907865 |
| octolytics-dimension-repository_nwo | SiftScience/sift-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 69907865 |
| octolytics-dimension-repository_network_root_nwo | SiftScience/sift-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1a5a3e7bbfb3486980e340c242368684156fba87 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width