mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
13 KiB
13 KiB
Changelog
0.5.2 (2024-06-24)
Bug Fixes
- auth: Fetch initial token when CachedTokenProviderOptions.DisableAutoRefresh is true (#10415) (3266763), refs #10414
0.5.1 (2024-05-31)
Bug Fixes
0.5.0 (2024-05-28)
Features
0.4.2 (2024-05-16)
Bug Fixes
- auth: Enable client certificates by default only for GDU (#10151) (7c52978)
- auth: Handle non-Transport DefaultTransport (#10162) (fa3bfdb), refs #10159
- auth: Have refresh time match docs (#10147) (bcb5568)
- auth: Update compute token fetching error with named prefix (#10180) (4573504)
0.4.1 (2024-05-09)
Bug Fixes
0.4.0 (2024-05-07)
Features
Bug Fixes
0.3.0 (2024-04-23)
Features
Bug Fixes
0.2.2 (2024-04-19)
Bug Fixes
- auth: Add internal opt to skip validation on transports (#9999) (9e20ef8), refs #9823
- auth: Set secure flag for gRPC conn pools (#10002) (14e3956), refs #9833
0.2.1 (2024-04-18)
Bug Fixes
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 a
TokenProvider
now returnCredentials
. Similarly, these functions have been renamed to be more specific. - Most places that used to take an optional
TokenProvider
now acceptCredentials
. 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)
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
- auth: Add base auth package (#8465) (6a45f26)
- auth: Add cert support to httptransport (#8569) (37e3435)
- auth: Add Credentials.UniverseDomain() (#8654) (af0aa1e)
- auth: Add detect package (#8491) (d977419)
- auth: Add downscope package (#8532) (dda9bff)
- auth: Add grpctransport package (#8625) (69a8347)
- auth: Add httptransport package (#8567) (6898597)
- auth: Add idtoken package (#8580) (a79e693)
- auth: Add impersonate package (#8578) (e29ba0c)
- auth: Add support for external accounts in detect (#8508) (62210d5)
- auth: Port external account changes (#8697) (5823db5)