Breaking: Move coroutines extensions to okhttp3.coroutines. Previously this artifact shared the
okhttp3 package name with our core module, which is incompatible with the Java Platform Module
System.
Fix in okhttp-coroutines: Publish a valid artifact. The coroutines JAR file in 5.0.0-alpha.13
was corrupt and should not be used.
Version 5.0.0-alpha.13
2024-04-16
Breaking: Tag unstable new APIs as @ExperimentalOkHttpApi. We intend to release OkHttp 5.0
without stabilizing these new APIs first.
Do not use these experimental APIs in modules that may be executed using a version of OkHttp
different from the version that the module was compiled with. Do not use them in published
libraries. Do not use them if you aren't willing to track changes to them.
Breaking: Drop support for Kotlin Multiplatform.
We planned to support multiplatform in OkHttp 5.0, but after building it, we weren't happy with
the implementation trade-offs. We can't use our HTTP client engine on Kotlin/JS, and we weren't
prepared to build a TLS API for Kotlin/Native.
We'd prefer a multiplatform HTTP client API that's backed by OkHttp on Android and JVM, and
other engines on other platforms. [Ktor] does this pretty well today!
Breaking: Use kotlin.time.Duration in APIs like OkHttpClient.Builder.callTimeout(). This
update also drops support for the DurationUnit functions introduced in earlier alpha releases
of OkHttp 5.
Breaking: Reorder the parameters in the Cache constructor that was introduced in 5.0.0-alpha.3.
New: Request.Builder.cacheUrlOverride() customizes the cache key used for a request. This can
be used to make canonical URLs for the cache that omit insignificant query parameters or other
irrelevant data.
This feature may be used with POST requests to cache their responses. In such cases the
Breaking: Move coroutines extensions to okhttp3.coroutines. Previously this artifact shared the
okhttp3 package name with our core module, which is incompatible with the Java Platform Module
System.
Fix in okhttp-coroutines: Publish a valid artifact. The coroutines JAR file in 5.0.0-alpha.13
was corrupt and should not be used.
Version 5.0.0-alpha.13
2024-04-16
Breaking: Tag unstable new APIs as @ExperimentalOkHttpApi. We intend to release OkHttp 5.0
without stabilizing these new APIs first.
Do not use these experimental APIs in modules that may be executed using a version of OkHttp
different from the version that the module was compiled with. Do not use them in published
libraries. Do not use them if you aren't willing to track changes to them.
Breaking: Drop support for Kotlin Multiplatform.
We planned to support multiplatform in OkHttp 5.0, but after building it, we weren't happy with
the implementation trade-offs. We can't use our HTTP client engine on Kotlin/JS, and we weren't
prepared to build a TLS API for Kotlin/Native.
We'd prefer a multiplatform HTTP client API that's backed by OkHttp on Android and JVM, and
other engines on other platforms. [Ktor] does this pretty well today!
Breaking: Use kotlin.time.Duration in APIs like OkHttpClient.Builder.callTimeout(). This
update also drops support for the DurationUnit functions introduced in earlier alpha releases
of OkHttp 5.
Breaking: Reorder the parameters in the Cache constructor that was introduced in 5.0.0-alpha.3.
New: Request.Builder.cacheUrlOverride() customizes the cache key used for a request. This can
be used to make canonical URLs for the cache that omit insignificant query parameters or other
irrelevant data.
This feature may be used with POST requests to cache their responses. In such cases the
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 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. Updatescom.squareup.okhttp3:okhttp
from 3.14.9 to 4.12.0Changelog
Sourced from com.squareup.okhttp3:okhttp's changelog.
... (truncated)
Commits
4984568
Prepare for release 4.12.0.ea720d3
[4.x] Add test for 103 handling (#8055)a6e54bf
Avoid hanging on takeHeaders (incorrect 103 handling) when response body is e...4190ca8
[4.x] Bump okio to 3.6 (#8052)9553f6d
[4.x] Fix bad merge (#8053)cd581af
Handle certificate corruption (#7982)708d89b
Make Public Suffix Database failures permanent (#7828)b147d28
Fix for stalled streams (#7801) (#7818)f04809d
[4.x] Fix websocket reconnect race condition (#7815) (#7817)07b5d82
[4.x] Suppress removed (#7953)Updates
com.squareup.okhttp3:mockwebserver
from 3.14.9 to 4.12.0Changelog
Sourced from com.squareup.okhttp3:mockwebserver's changelog.
... (truncated)
Commits
4984568
Prepare for release 4.12.0.ea720d3
[4.x] Add test for 103 handling (#8055)a6e54bf
Avoid hanging on takeHeaders (incorrect 103 handling) when response body is e...4190ca8
[4.x] Bump okio to 3.6 (#8052)9553f6d
[4.x] Fix bad merge (#8053)cd581af
Handle certificate corruption (#7982)708d89b
Make Public Suffix Database failures permanent (#7828)b147d28
Fix for stalled streams (#7801) (#7818)f04809d
[4.x] Fix websocket reconnect race condition (#7815) (#7817)07b5d82
[4.x] Suppress removed (#7953)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