Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2025

Bumps okhttp.version from 3.14.9 to 4.12.0.
Updates com.squareup.okhttp3:mockwebserver from 3.14.9 to 4.12.0

Changelog

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

Change Log

Version 4.x

See 4.x Change log for the stable version changelogs.

Version 5.0.0-alpha.17

2025-06-29

This release stabilizes many APIs for the imminent OkHttp 5.0.0 release.

  • New: TrailersSource, a public API for HTTP trailers. Production callers shouldn't need this as the API to read response trailers is unchanged. Testers may use this new stable API to supply trailers for a Response.

  • New: Path.asRequestBody() is now a non-experimental API.

  • New: FileDescriptor.toRequestBody() is now a non-experimental API.

  • New: Stop using experimental coroutines APIs in our okhttp-coroutines artifact.

  • Breaking: Move gzip from RequestBody to Request.Builder. This new API handles both compressing the request body and also adding the corresponding Content-Encoding header. Note that this function is sensitive to when it is called: the response body must be supplied before it can be compressed.

  • Breaking: Remove AddressPolicy, AsyncDns, and ConnectionListener from the public API. We intend to ship a public API for these features, but we don't want to hold OkHttp 5.0.0 until those APIs are stable.

  • Fix: Change MockWebServer.close() to cancel ongoing calls that are blocked on a delay.

  • Upgrade: [Okio 3.13.0][okio_3_13_0].

This release also stabilizes many APIs in the mockwebserver3 artifact that's new in 5.0.

  • Breaking: RecordedRequest.body is now nullable. Null is used when the request does not have a body.

  • Breaking: RecordedRequest.chunkSizes is now nullable. Null is used when the request does not use chunked encoding. This is different from an empty list - that indicates the request is chunked but has no data.

  • Breaking: Replace SocketPolicy with a new type, SocketEffect. It splits triggers (request start, response body, etc.) from effects (closing the socket, closing the stream, etc.).

  • Breaking: Rename RecordedRequest.sequenceNumber to exchangeIndex and introduce connectionIndex on that type. These properties may be useful when testing features like

... (truncated)

Commits

Updates com.squareup.okhttp3:okhttp-tls from 3.14.9 to 4.12.0

Changelog

Sourced from com.squareup.okhttp3:okhttp-tls's changelog.

Change Log

Version 4.x

See 4.x Change log for the stable version changelogs.

Version 5.0.0-alpha.17

2025-06-29

This release stabilizes many APIs for the imminent OkHttp 5.0.0 release.

  • New: TrailersSource, a public API for HTTP trailers. Production callers shouldn't need this as the API to read response trailers is unchanged. Testers may use this new stable API to supply trailers for a Response.

  • New: Path.asRequestBody() is now a non-experimental API.

  • New: FileDescriptor.toRequestBody() is now a non-experimental API.

  • New: Stop using experimental coroutines APIs in our okhttp-coroutines artifact.

  • Breaking: Move gzip from RequestBody to Request.Builder. This new API handles both compressing the request body and also adding the corresponding Content-Encoding header. Note that this function is sensitive to when it is called: the response body must be supplied before it can be compressed.

  • Breaking: Remove AddressPolicy, AsyncDns, and ConnectionListener from the public API. We intend to ship a public API for these features, but we don't want to hold OkHttp 5.0.0 until those APIs are stable.

  • Fix: Change MockWebServer.close() to cancel ongoing calls that are blocked on a delay.

  • Upgrade: [Okio 3.13.0][okio_3_13_0].

This release also stabilizes many APIs in the mockwebserver3 artifact that's new in 5.0.

  • Breaking: RecordedRequest.body is now nullable. Null is used when the request does not have a body.

  • Breaking: RecordedRequest.chunkSizes is now nullable. Null is used when the request does not use chunked encoding. This is different from an empty list - that indicates the request is chunked but has no data.

  • Breaking: Replace SocketPolicy with a new type, SocketEffect. It splits triggers (request start, response body, etc.) from effects (closing the socket, closing the stream, etc.).

  • Breaking: Rename RecordedRequest.sequenceNumber to exchangeIndex and introduce connectionIndex on that type. These properties may be useful when testing features like

... (truncated)

Commits

Updates com.squareup.okhttp3:okhttp from 3.14.9 to 4.12.0

Changelog

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

Change Log

Version 4.x

See 4.x Change log for the stable version changelogs.

Version 5.0.0-alpha.17

2025-06-29

This release stabilizes many APIs for the imminent OkHttp 5.0.0 release.

  • New: TrailersSource, a public API for HTTP trailers. Production callers shouldn't need this as the API to read response trailers is unchanged. Testers may use this new stable API to supply trailers for a Response.

  • New: Path.asRequestBody() is now a non-experimental API.

  • New: FileDescriptor.toRequestBody() is now a non-experimental API.

  • New: Stop using experimental coroutines APIs in our okhttp-coroutines artifact.

  • Breaking: Move gzip from RequestBody to Request.Builder. This new API handles both compressing the request body and also adding the corresponding Content-Encoding header. Note that this function is sensitive to when it is called: the response body must be supplied before it can be compressed.

  • Breaking: Remove AddressPolicy, AsyncDns, and ConnectionListener from the public API. We intend to ship a public API for these features, but we don't want to hold OkHttp 5.0.0 until those APIs are stable.

  • Fix: Change MockWebServer.close() to cancel ongoing calls that are blocked on a delay.

  • Upgrade: [Okio 3.13.0][okio_3_13_0].

This release also stabilizes many APIs in the mockwebserver3 artifact that's new in 5.0.

  • Breaking: RecordedRequest.body is now nullable. Null is used when the request does not have a body.

  • Breaking: RecordedRequest.chunkSizes is now nullable. Null is used when the request does not use chunked encoding. This is different from an empty list - that indicates the request is chunked but has no data.

  • Breaking: Replace SocketPolicy with a new type, SocketEffect. It splits triggers (request start, response body, etc.) from effects (closing the socket, closing the stream, etc.).

  • Breaking: Rename RecordedRequest.sequenceNumber to exchangeIndex and introduce connectionIndex on that type. These properties may be useful when testing features like

... (truncated)

Commits

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 `okhttp.version` from 3.14.9 to 4.12.0.

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

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

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

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:mockwebserver
  dependency-version: 4.12.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: com.squareup.okhttp3:okhttp-tls
  dependency-version: 4.12.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: com.squareup.okhttp3:okhttp
  dependency-version: 4.12.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jul 1, 2025
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.

0 participants