Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

⬆️ Update reqwest requirement from 0.9 to 0.10 #16

Merged
merged 2 commits into from
Jan 4, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Dec 31, 2019

Updates the requirements on reqwest to permit the latest version.

Release notes

Sourced from reqwest's releases.

v0.10.0

  • Add std::future::Future support.

  • Add wasm32-unknown-unknown support (with fewer features).

  • Add ability to pass async Response as the body of another Request.

  • Add Body::as_bytes() method.

  • Add Response::bytes_stream() method to get body as an impl Stream.

  • Add Request::try_clone() method.

  • Change default Client API to async. The previous blocking client API is avaialble at reqwest::blocking.

  • Change to no longer send a default User-Agent header. Add one via ClientBuilder::user_agent().

  • Change to enable system/environment proxy detection by default.

  • Change default-tls feature to only include ClientBuilder options that both native-tls and rustls support.

  • Change default feature set to reduce unnecessary dependencies. Most features are disabled by default:

    • blocking: The reqwest::blocking (synchronous) client API.
    • cookies: Cookie store support.
    • gzip: Automatic response body decompression.
    • json: Request and response JSON body methods.
    • stream: futures::Stream support.
  • Change Error internal design, removing several Error::is_* inspector methods.

  • Change Redirect API:

    • Renamed types to be part of the redirect module (for example, reqwest::RedirectPolicy is now reqwest::redirect::Policy).
    • Removed loop_detected and too_many_redirect methods from redirect::Attempt, replaced with a generic error method.
    • The default policy no longer specifically looks for redirect loops (but they should be caught by the maximum limit).
  • Fix checking HTTP_PROXY environment variable if it the environment is from a CGI script.

  • Fix removal of username/password of parsed proxy URL.

  • Update url to v2.0.

  • Update hyper to v0.13.

  • Update http to v0.2.

Changelog

Sourced from reqwest's changelog.

v0.10.0

  • Add std::future::Future support.

  • Add wasm32-unknown-unknown support (with fewer features).

  • Add ability to pass async Response as the body of another Request.

  • Add Body::as_bytes() method.

  • Add Response::bytes_stream() method to get body as an impl Stream.

  • Add Request::try_clone() method.

  • Change default Client API to async. The previous blocking client API is avaialble at reqwest::blocking.

  • Change to no longer send a default User-Agent header. Add one via ClientBuilder::user_agent().

  • Change to enable system/environment proxy detection by default.

  • Change default-tls feature to only include ClientBuilder options that both native-tls and rustls support.

  • Change default feature set to reduce unnecessary dependencies. Most features are disabled by default:

    • blocking: The reqwest::blocking (synchronous) client API.
    • cookies: Cookie store support.
    • gzip: Automatic response body decompression.
    • json: Request and response JSON body methods.
    • stream: futures::Stream support.
  • Change Error internal design, removing several Error::is_* inspector methods.

  • Change Redirect API:

    • Renamed types to be part of the redirect module (for example, reqwest::RedirectPolicy is now reqwest::redirect::Policy).
    • Removed loop_detected and too_many_redirect methods from redirect::Attempt, replaced with a generic error method.
    • The default policy no longer specifically looks for redirect loops (but they should be caught by the maximum limit).
  • Fix checking HTTP_PROXY environment variable if it the environment is from a CGI script.

  • Fix removal of username/password of parsed proxy URL.

  • Update url to v2.0.

  • Update hyper to v0.13.

  • Update http to v0.2.

v0.9.19

  • Add ClientBuilder::use_sys_proxy() to enable automatic detect of HTTP proxies configured on the system.
  • Add ClientBuilder::no_proxy() to disable system proxies. This is the default for 0.9, but will change to detecting system proxies by default in 0.10.
  • Add support for streaming request bodies in the async client.
  • Add async::Response::text() that returns a Future of the full body decoded to a String.
  • Add Clone for Certificate.

v0.9.18

  • Fix Cookie headers to no longer send as percent-encoded (instead, exactly as sent by the server).

v0.9.17

  • Fix Cookie headers so as to not include attributes from the Set-Cookie (like HttpOnly, Secure, etc).

v0.9.16

... (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 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:

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

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 31, 2019
@mockersf
Copy link
Owner

mockersf commented Jan 4, 2020

@dependabot-bot rebase

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](seanmonstar/reqwest@v0.9.0...v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@mergify mergify bot merged commit 14c76b5 into master Jan 4, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/reqwest-0.10 branch January 4, 2020 10:33
mockersf pushed a commit that referenced this pull request Jan 4, 2020
Merge pull request #16 from mockersf/dependabot/cargo/reqwest-0.10

⬆️ Update reqwest requirement from 0.9 to 0.10
mockersf pushed a commit that referenced this pull request Jan 9, 2020
Merge pull request #16 from mockersf/dependabot/cargo/reqwest-0.10

⬆️ Update reqwest requirement from 0.9 to 0.10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant