Releases: ramosbugs/oauth2-rs
4.0.0-alpha.6
Breaking Changes
- Fix URI/URL naming inconsistencies (#128). For context, see ramosbugs/openidconnect-rs#39.
set_introspection_url->set_introspection_uriset_redirect_url->set_redirect_uriset_revocation_url->set_revocation_uri
4.0.0-alpha.5
Breaking Changes
- Have
Client::exchange_device_code,Client::introspect, andClient::revoke_tokenfail fast with a newConfigurationErrorenum when the relevant OAuth2 endpoint hasn't been configured by callingset_device_authorization_url,set_introspection_url, orset_revocation_url, respectively. Previously, an error would not be returned until a call torequest/request_async(#127).
Other Changes
4.0.0-alpha.4
Breaking Changes
- Fix inconsistent naming of types related to RFC 7662 Token Introspection (fdab640/#123). This renames the following:
IntrospectRequesttoIntrospectionRequest*TokenInspectionResponseto*TokenIntrospectionResponseIntrospectUrltoIntrospectionUrlintrospect_urltointrospection_url.
New Features
-
Add support for OAuth 2.0 Token Revocation (RFC 7009) (#122).
Special thanks to @ximon18 for contributing this feature.
-
Add ureq http_client (#119)
Other Changes
- Support wasm32 targets (#120)
4.0.0-alpha.3
Breaking Changes
- Raise minimum supported Rust version (MSRV) to 1.45
- Upgrade
reqwestto 0.11 and rename feature flag fromreqwest-010toreqwest. This upgradestokioto 1.0. - Add
#[non_exhaustive]attribute toAuthTypeto support non-breaking additions in the future
New Features
-
Add support for the
plain(plaintext) PKCE verifier when the (non-default)pkce-plainfeature flag is enabled. Use of this feature is discouraged for security reasons. -
Add support for OAuth 2.0 Token Introspection.
Special thanks to @jeroenvervaeke for contributing this feature.
4.0.0-alpha.2
New Features
-
Add support for OAuth 2.0 Device Authorization Grant.
Special thanks to @maxdymond for contributing this feature.
4.0.0-alpha.1
Breaking changes
- Raise minimum supported Rust version to 1.41
- Drop support for
reqwest0.9 (previously enabled via thereqwest-09feature flag); only the (default)reqwest-010feature flag is now supported - Migrate public API from
http0.1 to 0.2 - Drop support for
futures0.1 and remove thefutures-01andfutures-03feature flags; only async/await is now supported (without requiring any feature flags) - Eliminate
Async*traits and move therequest_asyncmethods to the underlying*Requeststructs - Return error types that implement
std::error::Errorinstead offailure::Fail
Other changes
- Remove
SendandSynctrait bounds on error types to improve compatibility withactix - Have
reqwestclient userustls-tlsinstead of the default native TLS - Enable
serdefeature flag onurlcrate dependency - Upgrade
sha2dependency - RUSTSEC-2016-0005: replace
rust-cryptowithhmacin dev-dependencies - Remove unused
unicode-normalizationdependency - Rename
masterbranch tomain
3.0.0
3.0.0-alpha.10
- Add
AuthorizationRequest::set_redirect_urlmethod - Update
sha2,rand, andbase64dependencies - Pin to
hex0.4.0 to maintain Rust 1.34 compatibility
3.0.0-alpha.9
Breaking changes
- Add
Extensionvariants toBasicTokenTypeandBasicErrorResponseTypeenums
Other changes
- Update
reqwest-010feature flag to usereqwest0.10 - Add re-export of
httpandurlcrates
3.0.0-alpha.8
This release is identical to 3.0.0-alpha.7 except that it pins specifically
to reqwest version 0.10.0-alpha.2 when the request-010 feature
is enabled. This prevents Cargo's SemVer functionality from automatically
using reqwest 0.10, with which this crate is not yet compatible.