Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 8, 2025

Bumps the okhttp3 group with 3 updates: com.squareup.okhttp3:mockwebserver, com.squareup.okhttp3:okhttp-tls and com.squareup.okhttp3:logging-interceptor.

Updates com.squareup.okhttp3:mockwebserver from 5.1.0 to 5.2.0

Changelog

Sourced from com.squareup.okhttp3:mockwebserver'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

Updates com.squareup.okhttp3:okhttp-tls from 5.1.0 to 5.2.0

Changelog

Sourced from com.squareup.okhttp3:okhttp-tls'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

Updates com.squareup.okhttp3:logging-interceptor from 5.1.0 to 5.2.0

Changelog

Sourced from com.squareup.okhttp3:logging-interceptor'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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the okhttp3 group with 3 updates: [com.squareup.okhttp3:mockwebserver](https://github.com/square/okhttp), [com.squareup.okhttp3:okhttp-tls](https://github.com/square/okhttp) and [com.squareup.okhttp3:logging-interceptor](https://github.com/square/okhttp).


Updates `com.squareup.okhttp3:mockwebserver` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](square/okhttp@parent-5.1.0...parent-5.2.0)

Updates `com.squareup.okhttp3:okhttp-tls` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](square/okhttp@parent-5.1.0...parent-5.2.0)

Updates `com.squareup.okhttp3:logging-interceptor` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](square/okhttp@parent-5.1.0...parent-5.2.0)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:mockwebserver
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: okhttp3
- dependency-name: com.squareup.okhttp3:okhttp-tls
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: okhttp3
- dependency-name: com.squareup.okhttp3:logging-interceptor
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: okhttp3
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Oct 8, 2025
@FlowCryptRobot FlowCryptRobot enabled auto-merge (squash) October 8, 2025 15:14
@FlowCryptRobot FlowCryptRobot merged commit 47b5a36 into master Oct 8, 2025
6 checks passed
@FlowCryptRobot FlowCryptRobot deleted the dependabot/gradle/okhttp3-253bb82bbc branch October 8, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants