PackageTrack
Sign in Get early access

oauth2

An extensible, strongly-typed implementation of OAuth2

5.0.0 46M downloads/mo #1283 most downloaded on crates.io ramosbugs/oauth2-rs

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 3 weeks to 10 months

Rarely documented

notes for 2 of 34 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

64 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

64 releases · Dec 2014 to Jan 2025
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 64
  1. 5.0.0 21 Jan 2025
    Release notes

    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: 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: 4.4.2...5.0.0

    Open source →
    Release notes

    5.0.0 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 5.0.0-rc.1 16 Sep 2024 pre-release
    Release notes

    This is the first release candidate for the 5.0 major version. No further breaking changes are expected until the next major version.

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

    New Features

    • Implement SecretType::into_secret (#272)

    Bug Fixes

    • Accept null device code interval (#278)
    • Ignore async token revocation response body (#282)

    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

    Full Changelog: 5.0.0-alpha.4...5.0.0-beta.1

    Open source →
    Release notes

    5.0.0-rc.1 Pre-release

    Pre-release

    Compare

    Choose a tag to compare

    Open source →
  3. 5.0.0-alpha.4 12 Apr 2024 pre-release
    Release notes

    This is an API-unstable release intended for gathering feedback about breaking API changes in 5.0. It should be safe to use in applications, but further breaking API changes MAY occur before stabilizing the API for the 5.0.0 release.

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

    Breaking Changes

    • Replace TokenResponse generic with associated type (30ced32)

    Bug Fixes

    • Derive Clone and Debug for EndpointState types (#263)

    Other Changes

    • Allow base64 0.21 or 0.22 (#261)

    Full Changelog: 5.0.0-alpha.3...5.0.0-alpha.4

    Open source →
    Release notes

    5.0.0-alpha.4 Pre-release

    Pre-release

    Compare

    Choose a tag to compare

    Open source →
  4. 5.0.0-alpha.3 21 Mar 2024 pre-release
    Release notes

    This is an API-unstable release intended for gathering feedback about breaking API changes in 5.0. It should be safe to use in applications, but further breaking API changes MAY occur before stabilizing the API for the 5.0.0 release.

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

    Breaking Changes

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

    Other Changes

    • Bump base64 to 0.21 (db0ea44)
    • Set minimum version of chrono to 0.4.31 (7b667fc)
    • Mention openidconnect crate in README (7b667fc)

    Full Changelog: 5.0.0-alpha.2...5.0.0-alpha.3

    Open source →
    Release notes

    5.0.0-alpha.3 Pre-release

    Pre-release

    Compare

    Choose a tag to compare

    Open source →
  5. 5.0.0-alpha.2 04 Mar 2024 pre-release
    Release notes

    This is an API-unstable release intended for gathering feedback about breaking API changes in 5.0. It should be safe to use in applications, but further breaking API changes are expected before stabilizing the API for the 5.0.0 release (e.g., upgrading http to 1.0; see #237).

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

    Breaking Changes

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

    Other Changes

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

    Full Changelog: 5.0.0-alpha.1...5.0.0-alpha.2

    Open source →
    Release notes

    5.0.0-alpha.2 Pre-release

    Pre-release

    Compare

    Choose a tag to compare

    Open source →
  6. 5.0.0-alpha.1 28 Feb 2024 pre-release
    Release notes

    This is an API-unstable release intended for gathering feedback about breaking API changes in 5.0. It should be safe to use in applications, but further breaking API changes are expected before stabilizing the API for the 5.0.0 release (e.g., upgrading http to 1.0; see #237).

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

    Breaking Changes

    • 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

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

    Other Changes

    • 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: 4.4.2...5.0.0-alpha.1

    Open source →
    Release notes

    5.0.0-alpha.1 Pre-release

    Pre-release

    Compare

    Choose a tag to compare

    Open source →
  7. 4.4.2 08 Sep 2023
    Release notes

    Bug Fixes

    • Enable chrono wasmbind feature to fix panic in WASM environments (#230)

    Other Changes

    • Fix token URL for Microsoft device code flow example (#220)
    • Add Microsoft device code example with tenant ID (#222)
    Open source →
    Release notes

    4.4.2

    Compare

    Choose a tag to compare

    Open source →
  8. 4.4.1 04 Jun 2023

    Nothing published for this version

  9. 4.4.0 17 May 2023

    Nothing published for this version

  10. 4.3.0 08 Nov 2022

    Nothing published for this version

  11. 4.2.3 12 Jul 2022

    Nothing published for this version

  12. 4.2.2 04 Jul 2022

    Nothing published for this version

  13. 4.2.1 04 Jul 2022

    Nothing published for this version

  14. 4.2.0 30 Apr 2022

    Nothing published for this version

  15. 4.1.0 05 Jul 2021

    Nothing published for this version

  16. 4.0.0 19 Apr 2021

    Nothing published for this version

  17. 4.0.0-beta.1 19 Mar 2021 pre-release

    Nothing published for this version

  18. 4.0.0-alpha.6 25 Feb 2021 pre-release

    Nothing published for this version

  19. 4.0.0-alpha.5 20 Feb 2021 pre-release

    Nothing published for this version

  20. 4.0.0-alpha.4 14 Feb 2021 pre-release

    Nothing published for this version

  21. 4.0.0-alpha.3 06 Jan 2021 pre-release

    Nothing published for this version

  22. 4.0.0-alpha.2 23 Sep 2020 pre-release

    Nothing published for this version

  23. 4.0.0-alpha.1 08 Jul 2020 pre-release

    Nothing published for this version

  24. 3.0.0 14 Jun 2020

    Nothing published for this version

  25. 3.0.0-alpha.10 08 Jun 2020 pre-release

    Nothing published for this version

  26. 3.0.0-alpha.9 23 Jan 2020 pre-release

    Nothing published for this version

  27. 3.0.0-alpha.8 15 Jan 2020 pre-release

    Nothing published for this version

  28. 3.0.0-alpha.7 08 Dec 2019 pre-release

    Nothing published for this version

  29. 3.0.0-alpha.6 27 Nov 2019 pre-release

    Nothing published for this version

  30. 3.0.0-alpha.5 20 Nov 2019 pre-release

    Nothing published for this version

  31. 3.0.0-alpha.4 19 Oct 2019 pre-release

    Nothing published for this version

  32. 3.0.0-alpha.3 04 Jul 2019 pre-release

    Nothing published for this version

  33. 3.0.0-alpha.2 13 Jun 2019 pre-release

    Nothing published for this version

  34. 3.0.0-alpha.1 10 Jun 2019 pre-release

    Nothing published for this version

  35. 2.0.0 14 Sep 2019

    Nothing published for this version

  36. 2.0.0-beta.3 22 Jun 2019 pre-release

    Nothing published for this version

  37. 2.0.0-beta.2 16 Apr 2019 pre-release

    Nothing published for this version

  38. 2.0.0-beta.1 30 Mar 2019 pre-release

    Nothing published for this version

  39. 2.0.0-alpha.5 04 Mar 2019 pre-release

    Nothing published for this version

  40. 2.0.0-alpha.4 14 Jan 2019 pre-release

    Nothing published for this version

  41. 2.0.0-alpha.3 09 Dec 2018 pre-release

    Nothing published for this version

  42. 2.0.0-alpha.2 07 Aug 2018 pre-release

    Nothing published for this version

  43. 2.0.0-alpha.1 01 Jun 2018 pre-release

    Nothing published for this version

  44. 1.3.0 10 Mar 2018

    Nothing published for this version

  45. 1.2.1 31 Jan 2018

    Nothing published for this version

  46. 1.2.0 31 Jan 2018

    Nothing published for this version

  47. 1.1.2 10 Aug 2017

    Nothing published for this version

  48. 1.1.1 09 Aug 2017

    Nothing published for this version

  49. 1.0.1 21 Jul 2017

    Nothing published for this version

  50. 1.0.0 16 Jul 2017

    Nothing published for this version

  51. 0.3.0 28 Dec 2016

    Nothing published for this version

  52. 0.2.0 14 Oct 2016

    Nothing published for this version

  53. 0.1.10 30 Mar 2016

    Nothing published for this version

  54. 0.1.9 12 May 2015

    Nothing published for this version

  55. 0.1.8 26 Mar 2015

    Nothing published for this version

  56. 0.1.7 28 Feb 2015

    Nothing published for this version

  57. 0.1.6 03 Feb 2015

    Nothing published for this version

  58. 0.1.5 29 Jan 2015

    Nothing published for this version

  59. 0.1.4 12 Jan 2015

    Nothing published for this version

  60. 0.1.3 08 Jan 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive