github googleapis/google-cloud-go auth/v0.2.0
auth: v0.2.0

latest releases: servicehealth/v1.1.3, run/v1.7.0, recaptchaenterprise/v2.19.0...
7 months ago

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)

Don't miss a new google-cloud-go release

NewReleases is sending notifications on new releases.