Changelog

0.2.2 (2024-04-19)

Bug Fixes

0.2.1 (2024-04-18)

Bug Fixes

  • auth: Default gRPC token type to Bearer if not set (#9800) (5284066)

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.

  1. The Credentials type has been moved to the root of the module as it is becoming the core abstraction for the whole module.
  2. Because of the above mentioned change many functions that previously returned a TokenProvider now return Credentials. Similarly, these functions have been renamed to be more specific.
  3. Most places that used to take an optional TokenProvider now accept Credentials. You can make a Credentials from a TokenProvider using the constructor found in the auth package.
  4. The detect package has been renamed to credentials. With this change some function signatures were also updated for better readability.
  5. Derivative auth flows like impersonate and downscope have been moved to be under the new credentials 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)

0.1.1 (2024-03-10)

Bug Fixes

  • auth/impersonate: Properly send default detect params (#9529) (5b6b8be), refs #9136
  • auth: Update grpc-go to v1.56.3 (343cea8)
  • auth: Update grpc-go to v1.59.0 (81a97b0)

0.1.0 (2023-10-18)

Features

Bug Fixes

  • auth/oauth2adapt: Update golang.org/x/net to v0.17.0 (174da47)
  • auth: Update golang.org/x/net to v0.17.0 (174da47)