Title: Bump com.squareup.okhttp3:mockwebserver from 3.14.9 to 5.0.0 by dependabot[bot] · Pull Request #2472 · docker-java/docker-java · GitHub
Open Graph Title: Bump com.squareup.okhttp3:mockwebserver from 3.14.9 to 5.0.0 by dependabot[bot] · Pull Request #2472 · docker-java/docker-java
X Title: Bump com.squareup.okhttp3:mockwebserver from 3.14.9 to 5.0.0 by dependabot[bot] · Pull Request #2472 · docker-java/docker-java
Description: Bumps com.squareup.okhttp3:mockwebserver from 3.14.9 to 5.0.0.
Changelog
Sourced from com.squareup.okhttp3:mockwebserver's changelog.
Version 5.0.0
2025-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.mockwebserver artifact so there’s no urgency to
migrate.)
Coordinate
Package Name
Description
com.squareup.okhttp3:mockwebserver3:5.0.0
mockwebserver3
Core module. No JUnit dependency!
com.squareup.okhttp3:mockwebserver3-junit4:5.0.0
mockwebserver3.junit4
Optional JUnit 4 integration.
com.squareup.okhttp3:mockwebserver3-junit5:5.0.0
mockwebserver3.junit5
Optional JUnit 5 integration.
com.squareup.okhttp3:mockwebserver:5.0.0
okhttp3.mockwebserver
Obsolete. Depends on JUnit 4.
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:
val request = Request(
url = "https://cash.app/".toHttpUrl(),
)
OkHttp now supports [GraalVM].
Here’s what has changed since 5.0.0-alpha.17:
Upgrade: [Okio 3.15.0][okio_3_15_0].
Upgrade: [Kotlin 2.2.0][kotlin_2_2_0].
Fix: Don't crash with a NoSuchMethodError when using OkHttp with the Sentry SDK.
Fix: Retain the query data in the old okhttp3.mockwebserver.RecordedRequest.path property. We
inadvertently changed this behavior when we introduced the mockwebserver3 API.
Version 5.0.0-alpha.17
2025-06-29
This release stabilizes many APIs for the imminent OkHttp 5.0.0 release.
... (truncated)
Commits
1b703d5 Prepare for release 5.0.0.
dcb640c Fix breaking change from alpha.17 release (#8899)
75661d4 Fix a NoSuchMethodError loading OkHttp on Android (#8898)
a84a09f Update com.squareup.okio to v3.15.0 (#8896)
06a88ad Update dependency com.gradleup.shadow:shadow-gradle-plugin to v8.3.8 (#8895)
9ba8962 Document change of RecordedRequest.path
2864541 Update dependency com.puppycrawl.tools:checkstyle to v10.26.1 (#8894)
4309b55 Prepare next development version.
ae1145c Prepare for release 5.0.0-alpha.17.
dba12fc Update dependency de.mannodermaus.gradle.plugins:android-junit5 to v1.13.1.0 ...
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 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:mockwebserver from 3.14.9 to 5.0.0. Changelog Sourced from com.squareup.okhttp3:mockwebserver's changelog. Version 5.0.0 2025-07-02 This is our first stable release...
X Description: Bumps com.squareup.okhttp3:mockwebserver from 3.14.9 to 5.0.0. Changelog Sourced from com.squareup.okhttp3:mockwebserver's changelog. Version 5.0.0 2025-07-02 This is our first stable rel...
Opengraph URL: https://github.com/docker-java/docker-java/pull/2472
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6f39d5f8-8af3-cebd-efa7-c5828940be53 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BAB2:1494FD:6BDF8B:923C38:6973BE8E |
| html-safe-nonce | 9425f501852b229c26b767ff4e8da0e11b5fe99cb8e43bd45f22671aac85dec2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUIyOjE0OTRGRDo2QkRGOEI6OTIzQzM4OjY5NzNCRThFIiwidmlzaXRvcl9pZCI6IjU1NDEzOTMzNTg1NTYyMTY5NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6a3382bf30e6cf4c546a262cb3440ae72be20daf3f11a22ddc1759c0b3323364 |
| hovercard-subject-tag | pull_request:2647458284 |
| 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/docker-java/docker-java/pull/2472/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:mockwebserver from 3.14.9 to 5.0.0. Changelog Sourced from com.squareup.okhttp3:mockwebserver's changelog. Version 5.0.0 2025-07-02 This is our first stable release... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8a5768a9eafedc74cf703ff010fe962e646e4a535c2902a44121cb0383fa06f6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/docker-java/docker-java git https://github.com/docker-java/docker-java.git |
| octolytics-dimension-user_id | 7772003 |
| octolytics-dimension-user_login | docker-java |
| octolytics-dimension-repository_id | 20415251 |
| octolytics-dimension-repository_nwo | docker-java/docker-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20415251 |
| octolytics-dimension-repository_network_root_nwo | docker-java/docker-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 | 299568c301abffbdd27fc1309827c44836361f11 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width