Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump okhttp from 4.3.1 to 4.4.0 #717

Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps okhttp from 4.3.1 to 4.4.0.

Changelog

Sourced from okhttp's changelog.

Version 4.4.0

2020-02-17

  • New: Support canceled() as an event that can be observed by EventListener. This should be useful for splitting out canceled calls in metrics.

  • New: Publish a [bill of materials (BOM)][bom] for OkHttp. Depend on this from Gradle or Maven to keep all of your OkHttp artifacts on the same version, even if they're declared via transitive dependencies. You can even omit versions when declaring other OkHttp dependencies.

    dependencies {
       api(platform("com.squareup.okhttp3:okhttp-bom:4.4.0"))
       api("com.squareup.okhttp3:okhttp")              // No version!
       api("com.squareup.okhttp3:logging-interceptor") // No version!
    }
  • New: Upgrade to Okio 2.4.3.

    implementation("com.squareup.okio:okio:2.4.3")
  • Fix: Limit retry attempts for HTTP/2 REFUSED_STREAM and CANCEL failures.

  • Fix: Retry automatically when incorrectly sharing a connection among multiple hostnames. OkHttp shares connections when hosts share both IP addresses and certificates, such as squareup.com and www.squareup.com. If a server refuses such sharing it will return HTTP 421 and OkHttp will automatically retry on an unshared connection.

  • Fix: Don't crash if a TLS tunnel's response body is truncated.

  • Fix: Don't track unusable routes beyond their usefulness. We had a bug where we could track certain bad routes indefinitely; now we only track the ones that could be necessary.

  • Fix: Defer proxy selection until a proxy is required. This saves calls to ProxySelector on calls that use a pooled connection.

Commits
  • 44124ba Prepare for release 4.4.0.
  • 3f946d0 Merge pull request #5795 from square/jwilson.0217.change_healthy_check
  • 19cb19a Be smarter about connection health checks
  • 4e6699e Merge pull request #5789 from square/jwilson.0216.give_up
  • 134ac98 Don't do infinite retries on server-canceled calls
  • 1c03efd Merge pull request #5792 from square/jwilson.0216.clear_out_next_route
  • 6bea51a Merge pull request #5790 from square/jwilson.0216.cancel
  • 54a6c66 Merge pull request #5793 from square/jwilson.0216.reliably_release
  • 6da48a5 Use .use() writing metadata to the cache
  • c48e453 Move the code that clears out the next route to try
  • Additional commits viewable in compare view

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@whiskeysierra
Copy link
Collaborator

👍

@whiskeysierra whiskeysierra merged commit f846e3c into master Feb 18, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/maven/com.squareup.okhttp3-okhttp-4.4.0 branch February 18, 2020 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant