Changelog
*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).*
> ## Version 4.0.0
>
> _2019-06-26_
>
> **This release upgrades OkHttp to Kotlin.** We tried our best to make fast and safe to upgrade
> from OkHttp 3.x. We wrote an [upgrade guide][upgrading_to_okhttp_4] to help with the migration and a
> [blog post][okhttp4_blog_post] to explain it.
>
> * Fix: Target Java 8 bytecode for Java and Kotlin.
>
>
> ## Version 4.0.0-RC3
>
> _2019-06-24_
>
> * Fix: Retain binary-compatibility in `okhttp3.internal.HttpMethod`. Naughty third party SDKs
> import this and we want to ease upgrades for their users.
>
>
> ## Version 4.0.0-RC2
>
> _2019-06-21_
>
> * New: Require Kotlin 1.3.40.
> * New: Change the Kotlin API from `File.toRequestBody()` to `File.asRequestBody()` and
> `BufferedSource.toResponseBody()` to `BufferedSource.asResponseBody()`. If the returned value
> is a view of what created it, we use _as_.
> * Fix: Permit response codes of zero for compatibility with OkHttp 3.x.
> * Fix: Change the return type of `MockWebServer.takeRequest()` to be nullable.
> * Fix: Make `Call.clone()` public to Kotlin callers.
>
>
> ## Version 4.0.0-RC1
>
> _2019-06-03_
>
> * First stable preview of OkHttp 4.
>
>
> ## Version 3.14.2
>
> _2019-05-19_
>
> * Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two
> calls that failed at the same time could cause OkHttp to crash with a `NoSuchElementException`
> instead of the expected `IOException`.
>
> * Fix: Don't crash with a `NullPointerException` when formatting an error message describing a
> truncated response from an HTTPS proxy.
Commits
- [`911c5bf`](https://github.com/square/okhttp/commit/911c5bf5b27e8378f209861a16a9da4cc54cfff7) Prepare for release 4.0.0.
- [`fafcf4b`](https://github.com/square/okhttp/commit/fafcf4b8228c1df9ec9f29cd993df4bddf1a437d) Merge pull request [#5242](https://github-redirect.dependabot.com/square/okhttp/issues/5242) from yschimke/prefer_jdk11
- [`c88f9a9`](https://github.com/square/okhttp/commit/c88f9a9ed383d68015ed28eb7a93541b84a9e9ec) Prefer JDK 11 for tests
- [`b7e6f4f`](https://github.com/square/okhttp/commit/b7e6f4fc85ac8e2d963a18dc586f908816933b9e) Fix conscrypt tests ([#5241](https://github-redirect.dependabot.com/square/okhttp/issues/5241))
- [`d81ec0f`](https://github.com/square/okhttp/commit/d81ec0f23bf4cc97060a75a0b12e299bd8dfdefc) OkHttpClientTestRule check connectionCount instead of idle ([#5226](https://github-redirect.dependabot.com/square/okhttp/issues/5226))
- [`d1b99e6`](https://github.com/square/okhttp/commit/d1b99e6925e4a70de8bb568fa49c35ac954d13e7) Merge pull request [#5239](https://github-redirect.dependabot.com/square/okhttp/issues/5239) from square/jakew/eleven/2019-06-25
- [`24c0575`](https://github.com/square/okhttp/commit/24c05751d8e4d46361ec36e44de94ce665cc25a4) Merge pull request [#5238](https://github-redirect.dependabot.com/square/okhttp/issues/5238) from square/jakew/eight/2019-06-25
- [`4607fe8`](https://github.com/square/okhttp/commit/4607fe87687d7037847455463c3b066bc94b5472) Run error-prone on JDK 11
- [`0bdd679`](https://github.com/square/okhttp/commit/0bdd6790f49a7b80a6a77866522cb50b66423555) Target Java 8 bytecode for Java and Kotlin
- [`3217919`](https://github.com/square/okhttp/commit/321791908a303b6197831f75f7cf6e10df2e8153) Allow nullable on Util.close ([#5224](https://github-redirect.dependabot.com/square/okhttp/issues/5224))
- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.0.0)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://app.dependabot.com):
- 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.
Bumps okhttp from 3.12.3 to 4.0.0.
Changelog
*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).* > ## Version 4.0.0 > > _2019-06-26_ > > **This release upgrades OkHttp to Kotlin.** We tried our best to make fast and safe to upgrade > from OkHttp 3.x. We wrote an [upgrade guide][upgrading_to_okhttp_4] to help with the migration and a > [blog post][okhttp4_blog_post] to explain it. > > * Fix: Target Java 8 bytecode for Java and Kotlin. > > > ## Version 4.0.0-RC3 > > _2019-06-24_ > > * Fix: Retain binary-compatibility in `okhttp3.internal.HttpMethod`. Naughty third party SDKs > import this and we want to ease upgrades for their users. > > > ## Version 4.0.0-RC2 > > _2019-06-21_ > > * New: Require Kotlin 1.3.40. > * New: Change the Kotlin API from `File.toRequestBody()` to `File.asRequestBody()` and > `BufferedSource.toResponseBody()` to `BufferedSource.asResponseBody()`. If the returned value > is a view of what created it, we use _as_. > * Fix: Permit response codes of zero for compatibility with OkHttp 3.x. > * Fix: Change the return type of `MockWebServer.takeRequest()` to be nullable. > * Fix: Make `Call.clone()` public to Kotlin callers. > > > ## Version 4.0.0-RC1 > > _2019-06-03_ > > * First stable preview of OkHttp 4. > > > ## Version 3.14.2 > > _2019-05-19_ > > * Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two > calls that failed at the same time could cause OkHttp to crash with a `NoSuchElementException` > instead of the expected `IOException`. > > * Fix: Don't crash with a `NullPointerException` when formatting an error message describing a > truncated response from an HTTPS proxy.Commits
- [`911c5bf`](https://github.com/square/okhttp/commit/911c5bf5b27e8378f209861a16a9da4cc54cfff7) Prepare for release 4.0.0. - [`fafcf4b`](https://github.com/square/okhttp/commit/fafcf4b8228c1df9ec9f29cd993df4bddf1a437d) Merge pull request [#5242](https://github-redirect.dependabot.com/square/okhttp/issues/5242) from yschimke/prefer_jdk11 - [`c88f9a9`](https://github.com/square/okhttp/commit/c88f9a9ed383d68015ed28eb7a93541b84a9e9ec) Prefer JDK 11 for tests - [`b7e6f4f`](https://github.com/square/okhttp/commit/b7e6f4fc85ac8e2d963a18dc586f908816933b9e) Fix conscrypt tests ([#5241](https://github-redirect.dependabot.com/square/okhttp/issues/5241)) - [`d81ec0f`](https://github.com/square/okhttp/commit/d81ec0f23bf4cc97060a75a0b12e299bd8dfdefc) OkHttpClientTestRule check connectionCount instead of idle ([#5226](https://github-redirect.dependabot.com/square/okhttp/issues/5226)) - [`d1b99e6`](https://github.com/square/okhttp/commit/d1b99e6925e4a70de8bb568fa49c35ac954d13e7) Merge pull request [#5239](https://github-redirect.dependabot.com/square/okhttp/issues/5239) from square/jakew/eleven/2019-06-25 - [`24c0575`](https://github.com/square/okhttp/commit/24c05751d8e4d46361ec36e44de94ce665cc25a4) Merge pull request [#5238](https://github-redirect.dependabot.com/square/okhttp/issues/5238) from square/jakew/eight/2019-06-25 - [`4607fe8`](https://github.com/square/okhttp/commit/4607fe87687d7037847455463c3b066bc94b5472) Run error-prone on JDK 11 - [`0bdd679`](https://github.com/square/okhttp/commit/0bdd6790f49a7b80a6a77866522cb50b66423555) Target Java 8 bytecode for Java and Kotlin - [`3217919`](https://github.com/square/okhttp/commit/321791908a303b6197831f75f7cf6e10df2e8153) Allow nullable on Util.close ([#5224](https://github-redirect.dependabot.com/square/okhttp/issues/5224)) - Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.0.0)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://app.dependabot.com): - 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.