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

build(deps): bump reqwest from 0.11.24 to 0.12.4 #477

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 19, 2024

Bumps reqwest from 0.11.24 to 0.12.4.

Release notes

Sourced from reqwest's releases.

v0.12.4

What's Changed

  • Add zstd support, enabled with zstd Cargo feature (thanks @​paolobarbolini!)
  • Add ClientBuilder::read_timeout(Duration), which applies the duration for each read operation. The timeout resets after a successful read.

New Contributors

v0.12.3

What's Changed

  • Add FromStr for dns::Name.
  • Add ClientBuilder::built_in_webpki_certs(bool) to enable them separately.
  • Add ClientBuilder::built_in_native_certs(bool) to enable them separately.
  • Fix sending content-length: 0 for GET requests.
  • Fix response body content_length() to return value when timeout is configured.
  • Fix ClientBuilder::resolve() to use lowercase domain names.

New Contributors

Full Changelog: seanmonstar/reqwest@v0.12.2...v0.12.3

v0.12.2

What's Changed

  • Fix missing ALPN when connecting to socks5 proxy with rustls.
  • Fix TLS version limits with rustls.
  • Fix not detected ALPN h2 from server with native-tls.

New Contributors

Full Changelog: seanmonstar/reqwest@v0.12.1...v0.12.2

v0.12.1

What's Changed

  • Fix ClientBuilder::interface() when no TLS is enabled.
  • Fix TlsInfo::peer_certificate() being truncated with rustls.
  • Fix panic if http2 feature disabled but TLS negotiated h2 in ALPN.
  • Fix Display for Error to not include its source error.

New Contributors

Full Changelog: seanmonstar/reqwest@v0.12.0...v0.12.1

... (truncated)

Changelog

Sourced from reqwest's changelog.

v0.12.4

  • Add zstd support, enabled with zstd Cargo feature.
  • Add ClientBuilder::read_timeout(Duration), which applies the duration for each read operation. The timeout resets after a successful read.

v0.12.3

  • Add FromStr for dns::Name.
  • Add ClientBuilder::built_in_webpki_certs(bool) to enable them separately.
  • Add ClientBuilder::built_in_native_certs(bool) to enable them separately.
  • Fix sending content-length: 0 for GET requests.
  • Fix response body content_length() to return value when timeout is configured.
  • Fix ClientBuilder::resolve() to use lowercase domain names.

v0.12.2

  • Fix missing ALPN when connecting to socks5 proxy with rustls.
  • Fix TLS version limits with rustls.
  • Fix not detected ALPN h2 from server with native-tls.

v0.12.1

  • Fix ClientBuilder::interface() when no TLS is enabled.
  • Fix TlsInfo::peer_certificate() being truncated with rustls.
  • Fix panic if http2 feature disabled but TLS negotiated h2 in ALPN.
  • Fix Display for Error to not include its source error.

v0.12.0

  • Upgrade to hyper, http, and http-body v1.
  • Add better support for converting to and from http::Request and http::Response.
  • Add http2 optional cargo feature, default on.
  • Add charset optional cargo feature, default on.
  • Add macos-system-configuration cargo feature, default on.
  • Change all optional dependencies to no longer be exposed as implicit features.
  • Add ClientBuilder::interface(str) to specify the local interface to bind to.
  • Experimental: disables the http3 feature temporarily.

v0.11.27

  • Add hickory-dns feature, deprecating trust-dns.
  • (wasm) Fix Form::text() to not set octet-stream for plain text fields.

v0.11.26

  • Revert system-configuration upgrade, which broke MSRV on macOS.

v0.11.25

  • Fix Certificate::from_pem_bundle() parsing.

... (truncated)

Commits
  • de5dbb1 v0.12.4
  • 0f126f5 tests: fix blocking test about empty bodies and content-length
  • 1073881 feat: add zstd support (#1866)
  • 1af8945 feat: add ClientBuilder::read_timeout(dur) (#2241)
  • e99da85 refactor: fix warnings related to mutability of self (#2245)
  • 0720159 v0.12.3
  • 9209695 Remove duplicate example for ClientBuilder::default_headers (#2236)
  • e3a1565 fix: use lower case domain string when using resolve and resolve_to_addrs...
  • b4c491a feat: allow fine-grained root certs for rustls (#2232)
  • cf4295d chore: update winreg to 0.52.0 (#2226)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @mdn-bot.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from mdn-bot as a code owner April 19, 2024 19:56
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 19, 2024
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 19, 2024

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from e9d1040 to f8d5288 Compare April 19, 2024 20:11
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from f8d5288 to 2eb4a4d Compare April 19, 2024 20:12
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 2eb4a4d to 646db80 Compare April 19, 2024 20:21
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 646db80 to 9a278d9 Compare April 19, 2024 20:30
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 9a278d9 to b269ec6 Compare April 22, 2024 00:48
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from b269ec6 to f0060c5 Compare April 22, 2024 01:10
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from f0060c5 to 03caff7 Compare April 22, 2024 01:21
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 03caff7 to a7eba32 Compare April 22, 2024 01:35
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from a7eba32 to 511b234 Compare April 23, 2024 01:09
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 511b234 to ac60ca7 Compare April 23, 2024 01:17
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from ac60ca7 to 9c14f2f Compare April 23, 2024 01:27
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 9c14f2f to 80a89c7 Compare April 23, 2024 01:34
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 80a89c7 to 77bd603 Compare April 24, 2024 00:32
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 35268e2 to de743a3 Compare May 1, 2024 00:35
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from de743a3 to 59d342a Compare May 1, 2024 00:43
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 59d342a to a0f6419 Compare May 2, 2024 00:36
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from a0f6419 to 15700bc Compare May 8, 2024 01:09
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 15700bc to e952959 Compare May 8, 2024 01:17
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from e952959 to ed2127b Compare May 8, 2024 01:25
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from ed2127b to 20a9fe3 Compare May 15, 2024 20:50
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from 20a9fe3 to bd192f2 Compare May 16, 2024 00:43
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from bd192f2 to d106f85 Compare May 17, 2024 00:27
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.24 to 0.12.4.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](seanmonstar/reqwest@v0.11.24...v0.12.4)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/reqwest-0.12.4 branch from d106f85 to 94d1884 Compare May 17, 2024 17:26
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@caugner caugner requested a review from a team as a code owner May 17, 2024 17:39
@caugner
Copy link
Contributor

caugner commented May 17, 2024

I was unable to resolve the remaining issue:

error[E0277]: `?` couldn't convert the error to `FxaError`
   --> src/fxa/mod.rs:178:57
    |
178 |         let http_response = async_http_client(req).await?;
    |                                                         ^ the trait `std::convert::From<openidconnect::reqwest::Error<reqwest::error::Error>>` is not implemented for `FxaError`
    |
    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
    = help: the following other types implement trait `std::convert::From<T>`:
              <FxaError as std::convert::From<r2d2::Error>>
              <FxaError as std::convert::From<serde_json::Error>>
              <FxaError as std::convert::From<anyhow::Error>>
              <FxaError as std::convert::From<url::ParseError>>
              <FxaError as std::convert::From<openidconnect::reqwest::Error<reqwest::Error>>>
              <FxaError as std::convert::From<BlockingError>>
              <FxaError as std::convert::From<diesel::result::Error>>
    = note: required for `Result<FxAUser, FxaError>` to implement `FromResidual<Result<Infallible, openidconnect::reqwest::Error<reqwest::error::Error>>>`

I came across ramosbugs/oauth2-rs#238, which might explain this, and will be available in oauth2 v5.

@argl
Copy link
Contributor

argl commented May 27, 2024

Indeed, it will all come together with openidconnect-rs version 4 it seems, still in alpha.

@argl
Copy link
Contributor

argl commented May 27, 2024

openidconnect-rs is still dependent on reqwest 0.11, which does not play nicely with the bump to 0.12 here. When openidconnect-rs gets to major version 4.x, this should be resolved (barring other code changes because of changes in reqwest 0.12)

@argl argl closed this May 27, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 27, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/reqwest-0.12.4 branch May 27, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants