Skip to content

chore(deps): bump com.squareup.okhttp3:mockwebserver from 5.1.0 to 5.2.1 - #148

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/com.squareup.okhttp3-mockwebserver-5.2.1
Closed

chore(deps): bump com.squareup.okhttp3:mockwebserver from 5.1.0 to 5.2.1#148
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/com.squareup.okhttp3-mockwebserver-5.2.1

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubOct 10, 2025

Copy link
Copy Markdown
Contributor

Bumps com.squareup.okhttp3:mockwebserver from 5.1.0 to 5.2.1.

Changelog

Sourced from com.squareup.okhttp3:mockwebserver's changelog.

Version 5.2.1

2025-10-09

  • Fix: Don't crash when calling Socket.shutdownOutput() or shutdownInput() on an SSLSocket on Android API 21 through 23. This method throws an UnsupportedOperationException, 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-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

Dependabot compatibility score

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 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)

Bumps [com.squareup.okhttp3:mockwebserver](https://github.com/square/okhttp) from 5.1.0 to 5.2.1.
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](lysine-dev/okhttp@parent-5.1.0...parent-5.2.1)
---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:mockwebserver
dependency-version: 5.2.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Oct 10, 2025
@dependabot@github

dependabotBot commented on behalf of githubOct 31, 2025

Copy link
Copy Markdown
ContributorAuthor

Superseded by #151.

@dependabotdependabotBot closed this Oct 31, 2025
@dependabot
dependabotBot deleted the dependabot/gradle/com.squareup.okhttp3-mockwebserver-5.2.1 branch October 31, 2025 11:22
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filejavaPull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants