Skip to content

Commit e4df648

Browse files
authored
chore(documentation): add release notes, add badges in readme (#7)
add release notes for next version add badges to readme gofmt -s test file
1 parent 8a4b7e1 commit e4df648

File tree

4 files changed

+23
-7
lines changed

4 files changed

+23
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Go Test & Coverage
1+
name: go test & coverage
22
on:
33
push:
44
branches:

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# go-redis-entraid
22
Entra ID extension for go-redis
33

4+
[![build workflow](https://github.com/redis/go-redis-entraid/actions/workflows/build.yml/badge.svg)](https://github.com/redis/go-redis-entraid/actions)
5+
[![PkgGoDev](https://pkg.go.dev/badge/github.com/redis/go-redis-entraid)](https://pkg.go.dev/github.com/redis/go-redis-entraid?tab=doc)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/redis/go-redis-entraid)](https://goreportcard.com/report/github.com/redis/go-redis-entraid)
7+
48
## Table of Contents
59
- [Introduction](#introduction)
610
- [Quick Start](#quick-start)
@@ -17,9 +21,8 @@ Entra ID extension for go-redis
1721
go-redis-entraid is a Go library that provides Entra ID (formerly Azure AD) authentication support for Redis Enterprise Cloud. It enables secure authentication using various Entra ID identity types and manages token lifecycle automatically.
1822

1923
### Version Compatibility
20-
- Go: 1.16+
21-
- Redis: 6.0+
22-
- Azure Entra ID: Latest
24+
- Go: 1.23+
25+
- go-redis: v9.9.0+
2326

2427
### Key Features
2528
- Support for multiple Entra ID identity types

RELEASE_NOTES.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# v1.0.1
2+
3+
## Changes
4+
5+
- fix(manager): optimize durationToRenewal @ndyakov (#6)
6+
- chore(documentation): add release notes, add badges in readme (#7)
7+
- chore(dependencies): update dependencies
8+
9+
## Compatibility
10+
11+
- Go: 1.23+
12+
- go-redis: v9.9.0+
13+
114
# v1.0.0
215

316
## Introduction

identity/confidential_identity_provider_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func TestNewConfidentialIdentityProvider(t *testing.T) {
4040
opts := ConfidentialIdentityProviderOptions{
4141
ClientID: "client-id",
4242
CredentialsType: "ClientCertificate",
43-
ClientCert: []*x509.Certificate{&x509.Certificate{}},
43+
ClientCert: []*x509.Certificate{{}},
4444
ClientPrivateKey: "private-key",
4545
Scopes: []string{"scope1", "scope2"},
4646
Authority: AuthorityConfiguration{},
@@ -58,7 +58,7 @@ func TestNewConfidentialIdentityProvider(t *testing.T) {
5858
opts := ConfidentialIdentityProviderOptions{
5959
ClientID: "client-id",
6060
CredentialsType: "ClientCertificate",
61-
ClientCert: []*x509.Certificate{&x509.Certificate{}},
61+
ClientCert: []*x509.Certificate{{}},
6262
ClientPrivateKey: "private-key",
6363
Scopes: []string{"scope1", "scope2"},
6464
Authority: AuthorityConfiguration{},
@@ -192,7 +192,7 @@ func TestNewConfidentialIdentityProvider(t *testing.T) {
192192
opts := ConfidentialIdentityProviderOptions{
193193
ClientID: "client-id",
194194
CredentialsType: "ClientCertificate",
195-
ClientCert: []*x509.Certificate{&x509.Certificate{}},
195+
ClientCert: []*x509.Certificate{{}},
196196
ClientPrivateKey: nil,
197197
Scopes: []string{"scope1", "scope2"},
198198
Authority: AuthorityConfiguration{},

0 commit comments

Comments
 (0)