Update Rust crate oauth2 to v5 #10427
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
=4.4.2->=5.0.0Release Notes
ramosbugs/oauth2-rs (oauth2)
v5.0.0Compare Source
Refer to the Upgrade Guide for tips on how to upgrade from 4.x.
Changes since 5.0.0-rc.1
Bug Fixes
9a2b746)Full Changelog: ramosbugs/oauth2-rs@5.0.0-rc.1...5.0.0
Summary of changes since 4.4.2
Breaking Changes
TokenResponsegeneric with associated type (30ced32)impl Futureinstead ofPin<Box<dyn Future>>to fixSend/Syncbounds (6e583bd)httpto 1.0 andreqwestto 0.12 (408ecab)85ea470)oauth2::HttpClientErrorand flatten exports (e.g.,oauth2::reqwestinstead ofoauth2::reqwest::reqwest) (4391eed)Errortype and usethiserror'sFromimpl by @MarijnS95 (#238)openidconnectcrate) (576f809)Displayoutput ofRequestTokenError::ServerResponse(96c6f9b)Clientendpoints statically via typestates (1d1f4d1)devicecodeandrevocationmodules private (9d8f11a)reqwest-blockingfeature (da7d1c5)4d55c26)AsyncHttpClientandSyncHttpClienttraits (23b952b)New Features
SecretType::into_secret(#272)timing-resistant-secret-traitsfeature for PartialEq/Hash by @kate-shine (https://github.com/ramosbugs/oauth2-rs/pull/232)Eqfor types that already derivePartialEq(b19ad89)Frominstead ofIntofor newtypes (d9402c4)Displaytrait for URL types (8bd0ff1)Bug Fixes
9a2b746)Other Changes
base64to 0.21 (db0ea44)chronoto 0.4.31 (7b667fc)openidconnectcrate in README (7b667fc)spawn_blockingto docs (1fc8188)curlasoauth2::curlandureqasoauth2::ureqwhen the corresponding Cargo features are enabled (aff7471)map_err()conversions with aFromcall via theTryoperator by @MarijnS95 (#239)csrf_stateby @ikehz (#245)prepare_request()methods infallible (8ef74ac)d675e81)a8b5cf8)92c491a)Full Changelog: ramosbugs/oauth2-rs@4.4.2...5.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.