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

Update reqwest requirement from 0.8 to 0.9 #4

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link

@dependabot-preview dependabot-preview bot commented Sep 18, 2018

Updates the requirements on reqwest to permit the latest version.

Release notes

Sourced from reqwest's 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:

    // 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.

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:

    // 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

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:

  • 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.

Updates the requirements on [reqwest](https://github.com/seanmonstar/reqwest) to permit the latest version.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/commits/v0.9.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview
Copy link
Author

Looks like reqwest is up-to-date now, so this is no longer needed.

@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/reqwest-0.9 branch June 12, 2019 17:10
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.

None yet

1 participant