New: Enable fast fallback by default. It's our implementation of Happy Eyeballs,
[RFC 8305][rfc_8305]. Disable with OkHttpClient.Builder.fastFallback(false).
Fix: Don't log response bodies for server-sent events.
Fix: Skip early hints (status code 103) responses.
Fix: Don't log sensitive headers in Request.toString().
Fix: Don't crash when the dispatcher's ExecutorService is shutdown with many
calls still enqueued.
Upgrade: [GraalVM 22][graalvm_22].
Upgrade: [Kotlin 1.7.10][kotlin_1_7_10].
Version 5.0.0-alpha.10
2022-06-26
Fix: Configure the multiplatform artifact (com.squareup.okhttp3:okhttp:3.x.x) to depend on the
JVM artifact (com.squareup.okhttp3:okhttp-jvm:3.x.x) for Maven builds. This should work-around
an issue where Maven doesn't interpret Gradle metadata.
Fix: Make another attempt at supporting Kotlin 1.5.31 at runtime. We were crashing on
DurationUnit which was a typealias in 1.5.x.
Upgrade: [Okio 3.2.0][okio_3_2_0].
Version 5.0.0-alpha.9
2022-06-16
New: Enforce label length limits in URLs. HttpUrl now rejects URLs whose domains aren't valid.
This includes overly-long domain names (longer than 253 characters), overly-long labels (more
than 63 characters between dots), and empty labels.
New: Don't include the Content-Length header in multipart bodies. Servers must delimit
OkHttp's request bodies using the boundary only. (This change makes OkHttp more consistent with
browsers and other HTTP clients.)
New: Drop the tunnelProxy argument in MockWebServer.useHttps(). This change only impacts
the OkHttp 5.x API which uses the mockwebserver3 package.
Fix: Don't call toDuration() which isn't available in kotlin-stdlib 1.4.
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 com.squareup.okhttp3:okhttp from 3.14.9 to 4.11.0.
Changelog
Sourced from com.squareup.okhttp3:okhttp's changelog.
... (truncated)
Commits
68a106d
Prepare for release 4.11.0.19c634f
Build the 4x branch like it's master (#7780)40cb043
[4.x] Public suffix import (#7701)cbcf4f3
Add a Kotlin dependency to work around CVE-2022-24329 (#7660)8eddd1d
[4.x] Cherry pick: fix DoH error when using ip address as hostname (#7648)949262e
[4.x] Backport 1XX handling from master (#7634)81d3411
[4.x] Update Okio to 3.2.0 (#7591)e46a200
Read the response even if writing the request fails (#6295) (#7453)cf088f8
Extend Proguard Rules (#6792) (#7471)d2d251c
Reinstane builds on 4.10.x (#7454)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