Skip to content

fix(deps): update rust crate oauth2 to v5 - #54

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/oauth2-5.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/oauth2-5.x

Conversation

@renovate

@renovate renovate Bot commented Jan 21, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
oauth2 dependencies major 4.4.25.0.0

Release Notes

ramosbugs/oauth2-rs (oauth2)

v5.0.0

Compare Source

Refer to the Upgrade Guide for tips on how to upgrade from 4.x.

Changes since 5.0.0-rc.1
Bug Fixes
  • Improve HttpClientError::Reqwest error message (9a2b746)

Full Changelog: ramosbugs/oauth2-rs@5.0.0-rc.1...5.0.0

Summary of changes since 4.4.2
Breaking Changes
  • Replace TokenResponse generic with associated type (30ced32)
  • Return impl Future instead of Pin<Box<dyn Future>> to fix Send/Sync bounds (6e583bd)
  • Bump http to 1.0 and reqwest to 0.12 (408ecab)
  • Add conditional typestates (replacing Boolean typestates from 5.0.0-alpha.1) (85ea470)
  • Consolidate HTTP client errors into oauth2::HttpClientError and flatten exports (e.g., oauth2::reqwest instead of oauth2::reqwest::reqwest) (4391eed)
  • reqwest: Migrate to shared Error type and use thiserror's From impl by @​MarijnS95 (#​238)
  • Bump MSRV to 1.65 and institute a policy supporting Rust releases going back at least 6 months (same policy as openidconnect crate) (576f809)
  • Improve Display output of RequestTokenError::ServerResponse (96c6f9b)
  • Track Client endpoints statically via typestates (1d1f4d1)
  • Refactor crate into smaller private modules and make devicecode and revocation modules private (9d8f11a)
  • Add reqwest-blocking feature (da7d1c5)
  • Rename URI/URL getters and setters (4d55c26)
  • Add AsyncHttpClient and SyncHttpClient traits (23b952b)
New Features
  • Implement SecretType::into_secret (#​272)
  • Add timing-resistant-secret-traits feature for PartialEq/Hash by @​kate-shine (#​232)
  • Derive Eq for types that already derive PartialEq (b19ad89)
  • Implement From instead of Into for newtypes (d9402c4)
  • Implement Display trait for URL types (8bd0ff1)
Bug Fixes
  • Improve HttpClientError::Reqwest error message (9a2b746)
  • Accept null device code interval (#​278)
  • Ignore async token revocation response body (#​282)
  • Derive Clone and Debug for EndpointState types (#​263)
Other Changes
  • Inline format args (#​270)
  • Update dev dependencies (#​285)
  • Remove defunct sponsorship from README
  • Remove client secret from implicit flow example (#​286)
  • Use --locked on MSRV build in CI
  • Allow base64 0.21 or 0.22 (#​261)
  • Bump base64 to 0.21 (db0ea44)
  • Set minimum version of chrono to 0.4.31 (7b667fc)
  • Mention openidconnect crate in README (7b667fc)
  • Add note about spawn_blocking to docs (1fc8188)
  • Re-export curl as oauth2::curl and ureq as oauth2::ureq when the corresponding Cargo features are enabled (aff7471)
  • Replace map_err() conversions with a From call via the Try operator by @​MarijnS95 (#​239)
  • Fix comments about csrf_state by @​ikehz (#​245)
  • Add documentation about comparing secrets securely by @​ikehz (#​246)
  • Remove unused imports in examples by @​frewsxcv (#​207)
  • Make private prepare_request() methods infallible (8ef74ac)
  • Address clippy lints and clean up examples (d675e81)
  • Remove empty leading and trailing lines from doc comments (a8b5cf8)
  • Reorder and clean up imports (92c491a)
  • Add Upgrade Guide

Full Changelog: ramosbugs/oauth2-rs@4.4.2...5.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Sunday and Saturday (* * * * 0,6)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from 2a51666 to ff10c8a Compare August 10, 2025 12:56
@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from ff10c8a to e631647 Compare September 25, 2025 19:55
@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from e631647 to 2e69bf6 Compare December 10, 2025 13:44
@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from 2e69bf6 to 4ba0bbf Compare December 31, 2025 15:31
@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from 4ba0bbf to 110775e Compare February 2, 2026 19:40
@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from 110775e to 8a5e06f Compare February 12, 2026 13:58
@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from 8a5e06f to 04a1a68 Compare February 25, 2026 11:57
@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from 04a1a68 to 4c4fc9c Compare March 13, 2026 15:54
@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from 4c4fc9c to d18e2fb Compare May 18, 2026 12:02
@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from d18e2fb to 7f803aa Compare July 20, 2026 19:50
@renovate
renovate Bot force-pushed the renovate/oauth2-5.x branch from 7f803aa to a9d346e Compare August 12, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants