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 3.10.0 to 3.12.1 in /core #1080

Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps okhttp from 3.10.0 to 3.12.1.

Changelog

Sourced from okhttp's changelog.

Version 3.12.1

2018-12-23

  • Fix: Remove overlapping package-info.java. This caused issues with some build tools.

Version 3.12.0

2018-11-16

  • OkHttp now supports TLS 1.3. This requires either Conscrypt or Java 11+.

  • Proxy authenticators are now asked for preemptive authentication. OkHttp will now request
    authentication credentials before creating TLS tunnels through HTTP proxies (HTTP CONNECT).
    Authenticators should identify preemptive authentications by the presence of a challenge whose
    scheme is "OkHttp-Preemptive".

  • OkHttp now offers full-operation timeouts. This sets a limit on how long the entire call may
    take and covers resolving DNS, connecting, writing the request body, server processing, and
    reading the full response body. If a call requires redirects or retries all must complete within
    one timeout period.

    Use OkHttpClient.Builder.callTimeout() to specify the default duration and Call.timeout() to
    specify the timeout of an individual call.

  • New: Return values and fields are now non-null unless otherwise annotated.

  • New: LoggingEventListener makes it easy to get basic visibility into a call's performance.
    This class is in the logging-interceptor artifact.

  • New: Headers.Builder.addUnsafeNonAscii() allows non-ASCII values to be added without an
    immediate exception.

  • New: Headers can be redacted in HttpLoggingInterceptor.

  • New: Headers.Builder now accepts dates.

  • New: OkHttp now accepts java.time.Duration for timeouts on Java 8+ and Android 26+.

  • New: Challenge includes all authentication parameters.

  • New: Upgrade to BouncyCastle 1.60, Conscrypt 1.4.0, and Okio 1.15.0. We don't yet require
    Kotlin-friendly Okio 2.x but OkHttp works fine with that series.

    implementation("org.bouncycastle:bcprov-jdk15on:1.60")
    implementation("org.conscrypt:conscrypt-openjdk-uber:1.4.0")
    implementation("com.squareup.okio:okio:1.15.0")
  • Fix: Handle dispatcher executor shutdowns gracefully. When there aren't any threads to carry a
    call its callback now gets a RejectedExecutionException.

  • Fix: Don't permanently cache responses with Cache-Control: immutable. We misunderstood the
    original immutable proposal!

  • Fix: Change Authenticator's Route parameter to be nullable. This was marked as non-null but
    could be called with null in some cases.

... (truncated)
Commits
  • 875bfa3 [maven-release-plugin] prepare release parent-3.12.1
  • de42250 Prepare for 3.12.1 development
  • 8809028 Merge pull request #4438 from yschimke/remove_dupe_package_info
  • 7f63a35 [maven-release-plugin] prepare release parent-3.12.0
  • 9e195fa Update changelog for OkHttp 3.12.
  • 2198975 Merge pull request #4388 from square/jwilson.1114.use_ec_not_ecdsa
  • d062472 Specify "EC" to generate eliptic curve keys, not ECDSA
  • 1f7e796 Cleanup HttpLoggingInterceptor (#4346)
  • ef34a41 Add a LoggingEventListener and use it in okcurl (#4353)
  • 8a01554 Merge pull request #4376 from square/jwilson.1107.preemptive_auth
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @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 the .dependabot/config.yml file in this repo:

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

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file java labels Dec 24, 2018
@bsideup bsideup self-assigned this Dec 24, 2018
@bsideup bsideup added this to the next milestone Dec 25, 2018
@bsideup bsideup merged commit b840c5d into master Dec 25, 2018
@delete-merged-branch delete-merged-branch bot deleted the dependabot/gradle/core/com.squareup.okhttp3-okhttp-3.12.1 branch December 25, 2018 21:23
@rnorth rnorth removed this from the next milestone Dec 28, 2018
@bsideup bsideup added this to the 1.10.4 milestone Dec 28, 2018
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants