Changelog
*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).*
> ## Version 4.0.1
>
> _2019-07-10_
>
> * Fix: Tolerate null-hostile lists in public API. Lists created with `List.of(...)` don't like it
> when you call `contains(null)` on them!
> * Fix: Retain binary-compatibility in `okhttp3.internal.HttpHeaders.hasBody()`. Some unscrupulous
> coders call this and we don't want their users to suffer.
>
>
> ## 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
> ... (truncated)
Commits
- [`1854a7b`](https://github.com/square/okhttp/commit/1854a7b82d1d23309ff9e2aa38064e7fce3b6b2c) Prepare for release 4.0.1.
- [`7883ac9`](https://github.com/square/okhttp/commit/7883ac9dac2df3d15e328e2d791cf966cfa0468c) Merge pull request [#5278](https://github-redirect.dependabot.com/square/okhttp/issues/5278) from square/jwilson.0710.okhttp401
- [`2bf6737`](https://github.com/square/okhttp/commit/2bf673763998122af609018ae3e1a80536032a0d) Java internal compatibility e.g. HttpHeaders.hasBody ([#5251](https://github-redirect.dependabot.com/square/okhttp/issues/5251))
- [`a890681`](https://github.com/square/okhttp/commit/a890681e4304e800d439ff317033910f72d6c117) Tolerate null-hostile lists in public API
- [`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
- Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.0.1)
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](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.1.
Changelog
*Sourced from [okhttp's changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md).* > ## Version 4.0.1 > > _2019-07-10_ > > * Fix: Tolerate null-hostile lists in public API. Lists created with `List.of(...)` don't like it > when you call `contains(null)` on them! > * Fix: Retain binary-compatibility in `okhttp3.internal.HttpHeaders.hasBody()`. Some unscrupulous > coders call this and we don't want their users to suffer. > > > ## 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 > ... (truncated)Commits
- [`1854a7b`](https://github.com/square/okhttp/commit/1854a7b82d1d23309ff9e2aa38064e7fce3b6b2c) Prepare for release 4.0.1. - [`7883ac9`](https://github.com/square/okhttp/commit/7883ac9dac2df3d15e328e2d791cf966cfa0468c) Merge pull request [#5278](https://github-redirect.dependabot.com/square/okhttp/issues/5278) from square/jwilson.0710.okhttp401 - [`2bf6737`](https://github.com/square/okhttp/commit/2bf673763998122af609018ae3e1a80536032a0d) Java internal compatibility e.g. HttpHeaders.hasBody ([#5251](https://github-redirect.dependabot.com/square/okhttp/issues/5251)) - [`a890681`](https://github.com/square/okhttp/commit/a890681e4304e800d439ff317033910f72d6c117) Tolerate null-hostile lists in public API - [`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 - Additional commits viewable in [compare view](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.0.1)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](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.