jonathanmorley / oktaws

Apache License 2.0
15 stars 10 forks source link

Update reqwest requirement from 0.8.1 to 0.9.0 #14

Closed dependabot-preview[bot] closed 6 years ago

dependabot-preview[bot] commented 6 years ago

Updates the requirements on reqwest to permit the latest version.

Release notes *Sourced from [reqwest's releases](https://github.com/seanmonstar/reqwest/releases).* > ## v0.9.0 > > ## Features > > - Upgrade to `tokio` 0.1. > - Upgrade to `hyper` 0.12. > - Upgrade to `native-tls` 0.2. > - Add `ClientBuilder::danger_accept_invalid_certs(bool)` to disable > certificate verification. > - Add `RequestBuilder::bearer_auth(token)` to ease sending bearer tokens. > - Add `headers()` and `headers_mut()` to `multipart::Part` to allow sending > extra headers for a specific part. > - Moved `request::unstable::async` to `reqwest::async`. > > ## Fixes > > - Fix panicking when passing a `Url` with a `file://` scheme. Instead, an > `Error` is returned. > > ## Breaking Changes > > - Changed `ClientBuilder::danger_disable_hostname_verification()` > to `ClientBuilder::danger_accept_invalid_hostnames(bool)`. > - Changed `ClientBuilder` to be a by-value builder instead of by-ref. > > For single chains of method calls, this shouldn't affect you. For code that > conditionally uses the builder, this kind of change is needed: > > ```rust > // Old > let mut builder = ClientBuilder::new(); > if some_val { > builder.gzip(false); > } > let client = builder.build()?; > > // New > let mut builder = ClientBuilder::new(); > if some_val { > builder = builder.gzip(false); > } > let client = builder.build()?; > ``` > - Changed `RequestBuilder` to be a by-value builder of by-ref. > > See the previous note about `ClientBuilder` for affected code and > how to change it. > - Removed the `unstable` cargo-feature, and moved `reqwest::unstable::async` > to `reqwest::async`. > - Changed `multipart::Part::mime()` to `mime_str()`. > ... (truncated)
Changelog *Sourced from [reqwest's changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md).* > # v0.9.0 > > ### Features > > - Upgrade to `tokio` 0.1. > - Upgrade to `hyper` 0.12. > - Upgrade to `native-tls` 0.2. > - Add `ClientBuilder::danger_accept_invalid_certs(bool)` to disable > certificate verification. > - Add `RequestBuilder::bearer_auth(token)` to ease sending bearer tokens. > - Add `headers()` and `headers_mut()` to `multipart::Part` to allow sending > extra headers for a specific part. > - Moved `request::unstable::async` to `reqwest::async`. > > ### Fixes > > - Fix panicking when passing a `Url` with a `file://` scheme. Instead, an > `Error` is returned. > > ### Breaking Changes > > - Changed `ClientBuilder::danger_disable_hostname_verification()` > to `ClientBuilder::danger_accept_invalid_hostnames(bool)`. > - Changed `ClientBuilder` to be a by-value builder instead of by-ref. > > For single chains of method calls, this shouldn't affect you. For code that > conditionally uses the builder, this kind of change is needed: > > ```rust > // Old > let mut builder = ClientBuilder::new(); > if some_val { > builder.gzip(false); > } > let client = builder.build()?; > > // New > let mut builder = ClientBuilder::new(); > if some_val { > builder = builder.gzip(false); > } > let client = builder.build()?; > ``` > - Changed `RequestBuilder` to be a by-value builder of by-ref. > > See the previous note about `ClientBuilder` for affected code and > how to change it. > - Removed the `unstable` cargo-feature, and moved `reqwest::unstable::async` > to `reqwest::async`. > - Changed `multipart::Part::mime()` to `mime_str()`. > ... (truncated)
Commits - See full diff in [compare view](https://github.com/seanmonstar/reqwest/commits/v0.9.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 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 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.
dependabot-preview[bot] commented 6 years ago

Superseded by #15.