All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
0.10.0 - 2024-03-21
- PR#72 update
http-> 1.1.0.
0.9.6 - 2023-11-20
- PR#67 upgraded
ringfrom 0.16 -> 0.17.
0.9.4 - 2023-10-04
- PR#66 replaced
base64withdata-encoding.
0.9.3 - 2023-06-09
- PR#65 Use url safe base64 when decoding jwt claims from id tokens.
0.9.2 - 2023-04-25
- PR#63 Use correct base64 padding when decoding jwt claims from id tokens.
0.9.1 - 2023-03-29
- Support for id tokens, a new trait for this was added (
IdTokenProvider) and implemented for all current token providers so both access tokens and id tokens can be fetched. - Added
is_*_providermethods toTokenProviderWrapperfor asserting the inner type. - PR#61 added debug implementations for all the providers (excludes sensitive data in the output).
RequestReason::ScopesChangedwas renamed toRequestReason::ParametersChanged- PR#59 update outdated base64 dependency
- Moved the placement of the
CachedTokenProvideronTokenProviderWrapperso that it wraps the outer type instead of the inner, that way the uncached provider can be accessed via.inner().
- PR#57 Documentation improvements
Release failed and was yanked. Released as 0.9.1 instead.
0.8.1 - 2023-01-10
- PR#54 re-adds
get_account_infoto the outerServiceAccountProviderimplementation. It was accidentally removed in #51.
0.8.0 - 2023-01-10
- PR#51 moved the token cache out of
ServiceAccountProviderinto a public type, and added a cached token provider that can wrap any other token provider. This wrapper now wraps all the current gcp token providers, making them cached by default. - PR#53 changed the cache lock from a Mutex into a RwLock.
0.7.0 - 2022-02-02
- PR#47 removed the dependency upon
chronoas it was overkill and brought in multiple security advisories and is only lightly maintained.
0.6.0 - 2021-08-07
- PR#40 added support for
Metadata Server Authso that you can obtain oauth tokens when running inside GCP. Thanks @boulos! - PR#42 resolved #39 by adding support for the same default credentials flow as the the Go oauth2 implementation for Google oauth. This included adding support for
EndUserCredentials. Thanks @boulos!
0.5.2 - 2021-06-18
- PR#38 added
ServiceAccountAccess::get_token_with_subjectto allow control over the JWTsubjectfield. Thanks @fosskers!
0.5.1 - 2021-06-05
- Removed unused dependency on
lock_api, which was lingering after PR#21.
0.5.0 - 2021-06-05
- Added new field to
Error::InvalidRsaKey - Added
Error::InvalidRsaKeyRejectedvariant - PR#37 Added new feature
wasm-web, which enables additional features inchronoandringto allowtame-oauthto be used in a wasm browser context, as part of a fix for #36.
- Changed name of
Error::AuthErrortoError::Auth - PR#37 replaced the usage of
parking_lot::Mutexwith just regularstd::sync::Mutexas part of the fix for #36, this includes addingError::Poisoned.
- Removed
Error:Ioas it was never actually used.
0.4.7 - 2021-01-18
- Updated
base64to0.13, matching the version used by rustls
0.4.6 - 2021-01-09
- Updated url to 2.2
0.4.5 - 2020-10-30
- Added
ServiceAccountAccess::get_account_info.
0.4.4 - 2020-10-10
- #21 Fixed a rather serious bug #20 due to a terribly implemented spinlock. Thanks for the report @fasterthanlime!
0.4.3 - 2020-06-04
- Updated dependencies
0.4.2 - 2020-01-21
- Updated dependencies
- Made
svc_accountexample async
0.4.1 - 2019-12-20
- Removed
bytesdependency which was only used by the svc_account example
0.4.0 - 2019-12-20
- Upgraded
httpto0.2.0
0.3.1 - 2019-12-05
- Updated several dependencies
0.3.0 - 2019-10-10
- Upgraded
ringto0.16.9
- Removed use of failure
0.2.1 - 2019-07-15
- Updated
parking_lot.
0.2.0 - 2019-07-03
- Fleshed out documentation.
- Added prelude for
gcp
- Correctly used rustls in tests/examples.
0.1.0 - 2019-07-02
- Initial add of
tame-oauth