File tree Expand file tree Collapse file tree 2 files changed +25
-5
lines changed Expand file tree Collapse file tree 2 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 1
- # v1.0.1
1
+ # v1.0.3 (2025-05-30)
2
+
3
+ ## Introduction
4
+
5
+ ClientID in CredentialsProviderOptions is not used and will be removed in a future version.
6
+ The correct one to use is the one in the identity provider options (e.g. ConfidentialIdentityProviderOptions).
7
+
8
+ ## Changes
9
+
10
+ ## 🧰 Maintenance
11
+
12
+ - refactor(provider): Mark ClientID as deprecated, use correct one in examples. ([ #8 ] ( https://github.com/redis/go-redis-entraid/pull/8 ) )
13
+
14
+ ## Compatibility
15
+
16
+ - Go: 1.23+
17
+ - go-redis: v9.9.0+
18
+
19
+ # v1.0.2 (2025-05-29)
2
20
3
21
## Changes
4
22
5
- - fix(manager): optimize durationToRenewal @ ndyakov ( # 6 )
6
- - chore(documentation): add release notes, add badges in readme (# 7 )
23
+ - fix(manager): optimize durationToRenewal ( [ # 6 ] ( https://github.com/redis/go-redis-entraid/pull/6 ) )
24
+ - chore(documentation): add release notes, add badges in readme ([ # 7 ] ( https://github.com/redis/go-redis-entraid/pull/7 ) )
7
25
- chore(dependencies): update dependencies
8
26
9
27
## Compatibility
10
28
11
29
- Go: 1.23+
12
30
- go-redis: v9.9.0+
13
31
14
- # v1.0.0
32
+ # v1.0.0 (2025-05-27)
15
33
16
34
## Introduction
17
35
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ type CredentialsProviderOptions struct {
17
17
//
18
18
// Deprecated: This field is not used and will be removed in a future version.
19
19
// The ClientID should be part of the IdentityProvider options (e.g. ConfidentialIdentityProviderOptions, not the CredentialsProviderOptions)
20
- // There is a ClientID in the ConfidentialIdentityProviderOptions and ManagedIdentityProviderOptions.
20
+ // There is a ClientID in the ConfidentialIdentityProviderOptions that is a required field and should be set by the user.
21
+ // TODO(ndyakov): Remove this in v2.0.0
21
22
ClientID string
22
23
23
24
// TokenManagerOptions is the options for the token manager.
@@ -102,6 +103,7 @@ type ConfidentialCredentialsProviderOptions struct {
102
103
func NewConfidentialCredentialsProvider (options ConfidentialCredentialsProviderOptions ) (auth.StreamingCredentialsProvider , error ) {
103
104
// If the client ID is not provided in the confidential identity provider options, use the one from the credentials provider options.
104
105
// Those are duplicated and should be the same and the one in the credentials provider options is deprecated.
106
+ // TODO(ndyakov): Remove this in a version v2.0.0 when ClientID is removed from CredentialsProviderOptions.
105
107
if options .ConfidentialIdentityProviderOptions .ClientID == "" {
106
108
options .ConfidentialIdentityProviderOptions .ClientID = options .CredentialsProviderOptions .ClientID
107
109
}
You can’t perform that action at this time.
0 commit comments