Skip to content

Commit d806e71

Browse files
committed
feat: auto minor version upgrade
1 parent d622259 commit d806e71

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/).
44

5+
## 0.39.0 (21st October 2025)
6+
7+
### Added:
8+
* Added `AutoMinorVersionUpgrade` to Pro and Active Active models, for both upgrade and create endpoints.
59

610
## 0.38.0 (15th October 2025)
711

service/databases/model.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ type CreateDatabase struct {
3333
EnableTls *bool `json:"enableTls,omitempty"`
3434
PortNumber *int `json:"port,omitempty"`
3535
RemoteBackup *DatabaseBackupConfig `json:"remoteBackup,omitempty"`
36-
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
37-
RedisVersion *string `json:"redisVersion,omitempty"`
36+
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
37+
RedisVersion *string `json:"redisVersion,omitempty"`
38+
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
3839
}
3940

4041
func (o CreateDatabase) String() string {
@@ -82,6 +83,7 @@ type Database struct {
8283
Backup *Backup `json:"backup,omitempty"`
8384
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
8485
RedisVersion *string `json:"redisVersion,omitempty"`
86+
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
8587
}
8688

8789
func (o Database) String() string {
@@ -178,6 +180,7 @@ type UpdateDatabase struct {
178180
RemoteBackup *DatabaseBackupConfig `json:"remoteBackup,omitempty"`
179181
EnableDefaultUser *bool `json:"enableDefaultUser,omitempty"`
180182
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
183+
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
181184
}
182185

183186
func (o UpdateDatabase) String() string {

service/databases/model_active_active.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ type CreateActiveActiveDatabase struct {
8181
PortNumber *int `json:"port,omitempty"`
8282
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
8383
RedisVersion *string `json:"redisVersion,omitempty"`
84+
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
8485
}
8586

8687
func (o CreateActiveActiveDatabase) String() string {
@@ -115,6 +116,7 @@ type UpdateActiveActiveDatabase struct {
115116
Regions []*LocalRegionProperties `json:"regions,omitempty"`
116117
DataEvictionPolicy *string `json:"dataEvictionPolicy,omitempty"`
117118
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
119+
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
118120
}
119121

120122
func (o UpdateActiveActiveDatabase) String() string {

0 commit comments

Comments
 (0)