Skip to content

Releases: ramosbugs/openidconnect-rs

4.0.0-alpha.2

01 Jun 20:58
Compare
Choose a tag to compare
4.0.0-alpha.2 Pre-release
Pre-release

Bug Fixes

  • Return impl Future instead of Pin<Box<dyn Future>> (#158)

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

4.0.0-alpha.1

13 Apr 02:33
Compare
Choose a tag to compare
4.0.0-alpha.1 Pre-release
Pre-release

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

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

Breaking Changes

  • Bump oauth2 to 5.0.0-alpha.4 (19043b1)
  • Fix EdDSA signature verification (1d97e0e)
  • Replace JWT-related generic traits with associated types (5f039ee)
  • Bump oauth2 to 5.0.0-alpha.3 along with http, reqwest, and base64 (7efc894)
  • Remove unused nightly feature (c67ffe9)
  • Update oauth2 to 5.0.0-alpha.2 (fd40498)
  • Remove jwk-alg Cargo feature (73ee82f)

New Features

  • Implement From<> for unwrapping newtypes
  • Derive Eq for types that already derive PartialEq (898ead2)

Bug Fixes

  • Propagate timing-resistant-secret-traits feature flag to oauth2 (1c9f770)
  • Fix doc comment URL (1131afa)

Other Changes

  • Add upgrade guide (6852dcc)
  • Address clippy lints from Rust 1.77 (29aad1c)
  • Update list of example OIDC providers (fcada17)
  • Update README (fd077bd)
  • Remove private JsonCurveType trait (ffde16a)
  • Refactor crate into smaller private modules (e87580c)
  • Remove empty leading and trailing lines from doc comments (38baa1a)
  • Improve Display output of ClientRegistrationError (3a801c9)
  • Address clippy lints and clean up examples (9aadf67)
  • Add keywords to Cargo.toml (06e9d6c

Full Changelog: 3.5.0...4.0.0-alpha.1

3.5.0

17 Feb 22:36
Compare
Choose a tag to compare

New Features

Bug Fixes

  • Remove #[non_exhaustive] from LogoutProviderMetadata (#150)
  • Include the full discovery url on invalid HTTP response by @Timshel in #142

Full Changelog: 3.4.0...3.5.0

3.4.0

12 Oct 20:37
Compare
Choose a tag to compare

New Features

  • Take JSON Web Key alg field into account during key selection (#131). This change is gated by a non-default jwk-alg feature flag, which was added to avoid introducing breaking changes. During a future major version, this feature flag will be removed and the functionality will be included unconditionally.
  • Support EdDSA signatures (#130)

Full Changelog: 3.3.1...3.4.0

3.3.1

07 Sep 05:32
Compare
Choose a tag to compare

Bug Fixes

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

3.3.0

11 Jul 22:21
414eb35
Compare
Choose a tag to compare

This release increases the Minimum Supported Rust Version (MSRV) of this crate to 1.65.

Bug Fixes

  • Support standard OIDC birthdate claim (#119). This crate supports a typo'ed birthday claim, which continues to work as before. In addition, it now supports the standardized birthdate claim.

Other Changes

  • Update rsa, p256, p384, serde_with, and url dependencies to their latest versions (#117)
  • Implement Eq trait on structs and enums already implementing PartialEq to address Clippy lint

Full Changelog: 3.2.0...3.3.0

3.2.0

05 Jun 02:56
Compare
Choose a tag to compare

New Features

Bug Fixes

  • Fix various cargo doc warnings and rustdoc links

3.1.1

28 May 03:18
Compare
Choose a tag to compare

Bug Fixes

  • Export PostLogoutRedirectUrl and LogoutHint

3.1.0

27 May 23:12
Compare
Choose a tag to compare

New Features

3.0.0

15 Apr 21:35
Compare
Choose a tag to compare

πŸš€ WASM is now supported! πŸš€

Changes since 3.0.0-alpha.1

Bug Fixes

  • Don't set empty JWK signing algorithms in Client::new() (#104). This fixes a bug introduced in 3.0.0-alpha.1/2.5.0 (#87) that caused clients constructed via Client::new() not to allow any signature algorithms for ID tokens and user info JWTs unless they manually set the allowed algorithms on the IdTokenVerifier. This patch restores the original behavior of defaulting to accepting only RS256 for clients constructed via Client::new(), as indicated in the spec.

    Clients constructed via Client::from_provider_metadata() will continue to receive the signing algorithms specified in the provider metadata during OpenID Connect Discovery (as introduced in 3.0.0-alpha.1/2.5.0 via #87).

New Features

  • Add AuthorizationRequest::add_scopes (#105)

Other Changes

  • Remove unnecessary 'static bound from ProviderMetadata::discover_async (#107)

Summary of changes since 2.5.1

Breaking Changes

  • Replace ring with RustCrypto crates (#96). This change increases the minimum supported Rust version (MSRV) to 1.57 and adds support for WASM targets.

    Special thanks to @sbihel for contributing this change!

  • Establish new MSRV policy: this crate will maintain a policy of supporting Rust releases going back at least 6 months. Changes that break compatibility with Rust releases older than 6 months will no longer be considered SemVer breaking changes and will not result in a new major version number for this crate (f3dedb3).

Other Changes

  • Make CoreRsaPrivateSigningKey Send and Sync (bc09d22).