0.2.0 (2024-04-15)
Breaking Changes
In the below mentioned commits there were a few large breaking changes since the
last release of the module.
- The
Credentials
type has been moved to the root of the module as it is
becoming the core abstraction for the whole module. - Because of the above mentioned change many functions that previously
returned aTokenProvider
now returnCredentials
. Similarly, these
functions have been renamed to be more specific. - Most places that used to take an optional
TokenProvider
now accept
Credentials
. You can make aCredentials
from aTokenProvider
using the
constructor found in theauth
package. - The
detect
package has been renamed tocredentials
. With this change some
function signatures were also updated for better readability. - Derivative auth flows like
impersonate
anddownscope
have been moved to
be under the newcredentials
package.
Although these changes are disruptive we think that they are for the best of the
long-term health of the module. We do not expect any more large breaking changes
like these in future revisions, even before 1.0.0. This version will be the
first version of the auth library that our client libraries start to use and
depend on.
Features
- auth/credentials/externalaccount: Add default TokenURL (#9700) (81830e6)
- auth: Add downscope.Options.UniverseDomain (#9634) (52cf7d7)
- auth: Add universe domain to grpctransport and httptransport (#9663) (67d353b), refs #9670
- auth: Add UniverseDomain to DetectOptions (#9536) (3618d3f)
- auth: Make package externalaccount public (#9633) (a0978d8)
- auth: Move credentials to base auth package (#9590) (1a04baf)
- auth: Refactor public sigs to use Credentials (#9603) (69cb240)
Bug Fixes
- auth/oauth2adapt: Update protobuf dep to v1.33.0 (30b038d)
- auth: Fix uint32 conversion (9221c7f)
- auth: Port sts expires fix (#9618) (7bec97b)
- auth: Read universe_domain from all credentials files (#9632) (16efbb5)
- auth: Remove content-type header from idms get requests (#9508) (8589f41)
- auth: Update protobuf dep to v1.33.0 (30b038d)