From a94cc78966747a0fb8d06c75fdb4afc84f33a849 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:21:11 +0000 Subject: [PATCH 01/10] Generate iaasalpha (cherry picked from commit 05d8dcda929cd9014819513021ff1444719310a4) --- services/iaasalpha/client.go | 5 +---- services/iaasalpha/go.mod | 2 +- services/iaasalpha/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/services/iaasalpha/client.go b/services/iaasalpha/client.go index f994a6575..ecb8c6bca 100644 --- a/services/iaasalpha/client.go +++ b/services/iaasalpha/client.go @@ -501,10 +501,7 @@ func addFile(w *multipart.Writer, fieldName, path string) error { if err != nil { return err } - err = file.Close() - if err != nil { - return err - } + defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { diff --git a/services/iaasalpha/go.mod b/services/iaasalpha/go.mod index 124f81cad..84032b1b7 100644 --- a/services/iaasalpha/go.mod +++ b/services/iaasalpha/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/google/go-cmp v0.7.0 - github.com/stackitcloud/stackit-sdk-go/core v0.20.1 + github.com/stackitcloud/stackit-sdk-go/core v0.21.0 ) require ( diff --git a/services/iaasalpha/go.sum b/services/iaasalpha/go.sum index 6eca79590..9be45a73d 100644 --- a/services/iaasalpha/go.sum +++ b/services/iaasalpha/go.sum @@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1 h1:odiuhhRXmxvEvnVTeZSN9u98edvw2Cd3DcnkepncP3M= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0 h1:QXZqiaO7U/4IpTkJfzt4dt6QxJzG2uUS12mBnHpYNik= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= From 7c6c8345f4bd7820a5acba59874da22ea9431d2c Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:21:08 +0000 Subject: [PATCH 02/10] Generate iaas (cherry picked from commit 634d4502d6798a590d2d4a186470a438bf7fc06e) --- services/iaas/client.go | 5 +---- services/iaas/go.mod | 2 +- services/iaas/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/services/iaas/client.go b/services/iaas/client.go index 6491278db..3311006ab 100644 --- a/services/iaas/client.go +++ b/services/iaas/client.go @@ -501,10 +501,7 @@ func addFile(w *multipart.Writer, fieldName, path string) error { if err != nil { return err } - err = file.Close() - if err != nil { - return err - } + defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { diff --git a/services/iaas/go.mod b/services/iaas/go.mod index 4b9b684c0..c632d4baf 100644 --- a/services/iaas/go.mod +++ b/services/iaas/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/google/go-cmp v0.7.0 - github.com/stackitcloud/stackit-sdk-go/core v0.20.1 + github.com/stackitcloud/stackit-sdk-go/core v0.21.0 github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.18.2 ) diff --git a/services/iaas/go.sum b/services/iaas/go.sum index 15ab42c5b..1debadd4c 100644 --- a/services/iaas/go.sum +++ b/services/iaas/go.sum @@ -4,7 +4,7 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1 h1:odiuhhRXmxvEvnVTeZSN9u98edvw2Cd3DcnkepncP3M= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0 h1:QXZqiaO7U/4IpTkJfzt4dt6QxJzG2uUS12mBnHpYNik= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.18.2 h1:VDIXOvRNmSYMeF0qQ2+w4/ez04YutVDz73hSMuuOJ54= github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.18.2/go.mod h1:9zyEzPL4DnmU/SHq+SuMWTSO5BPxM1Z4g8Fp28n00ds= From ab4c5797dc0eb6fd2bd69f968c4f79855573c734 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:21:03 +0000 Subject: [PATCH 03/10] Generate edge (cherry picked from commit 4930824743697356459d4d6f2df318df6b01d07c) --- services/edge/client.go | 5 +---- services/edge/go.mod | 2 +- services/edge/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/services/edge/client.go b/services/edge/client.go index 58c2f86ba..c4cc299d2 100644 --- a/services/edge/client.go +++ b/services/edge/client.go @@ -501,10 +501,7 @@ func addFile(w *multipart.Writer, fieldName, path string) error { if err != nil { return err } - err = file.Close() - if err != nil { - return err - } + defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { diff --git a/services/edge/go.mod b/services/edge/go.mod index 333e9889e..5c78b420f 100644 --- a/services/edge/go.mod +++ b/services/edge/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/google/uuid v1.6.0 - github.com/stackitcloud/stackit-sdk-go/core v0.20.1 + github.com/stackitcloud/stackit-sdk-go/core v0.21.0 ) require github.com/golang-jwt/jwt/v5 v5.3.0 // indirect diff --git a/services/edge/go.sum b/services/edge/go.sum index 6eca79590..9be45a73d 100644 --- a/services/edge/go.sum +++ b/services/edge/go.sum @@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1 h1:odiuhhRXmxvEvnVTeZSN9u98edvw2Cd3DcnkepncP3M= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0 h1:QXZqiaO7U/4IpTkJfzt4dt6QxJzG2uUS12mBnHpYNik= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= From 8a4ef99162312b725be5657ad57888a17c286854 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:21:00 +0000 Subject: [PATCH 04/10] Generate dns (cherry picked from commit e7af84a9c07391de88a5c10436217100ba49c581) --- services/dns/client.go | 5 +---- services/dns/go.mod | 2 +- services/dns/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/services/dns/client.go b/services/dns/client.go index 24c3c2b2b..589191ffe 100644 --- a/services/dns/client.go +++ b/services/dns/client.go @@ -501,10 +501,7 @@ func addFile(w *multipart.Writer, fieldName, path string) error { if err != nil { return err } - err = file.Close() - if err != nil { - return err - } + defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { diff --git a/services/dns/go.mod b/services/dns/go.mod index ed5571309..e843e3afe 100644 --- a/services/dns/go.mod +++ b/services/dns/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/google/go-cmp v0.7.0 - github.com/stackitcloud/stackit-sdk-go/core v0.20.1 + github.com/stackitcloud/stackit-sdk-go/core v0.21.0 ) require ( diff --git a/services/dns/go.sum b/services/dns/go.sum index 6eca79590..9be45a73d 100644 --- a/services/dns/go.sum +++ b/services/dns/go.sum @@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1 h1:odiuhhRXmxvEvnVTeZSN9u98edvw2Cd3DcnkepncP3M= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0 h1:QXZqiaO7U/4IpTkJfzt4dt6QxJzG2uUS12mBnHpYNik= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= From 167fdbb2fa3899450b10e4e49cb66b1711bc432f Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:20:58 +0000 Subject: [PATCH 05/10] Generate certificates (cherry picked from commit a98246f9456da6e3fe1e4d4db694417cd573d0b4) --- services/certificates/client.go | 5 +---- services/certificates/go.mod | 2 +- services/certificates/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/services/certificates/client.go b/services/certificates/client.go index 8785dab8c..3041c495a 100644 --- a/services/certificates/client.go +++ b/services/certificates/client.go @@ -498,10 +498,7 @@ func addFile(w *multipart.Writer, fieldName, path string) error { if err != nil { return err } - err = file.Close() - if err != nil { - return err - } + defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { diff --git a/services/certificates/go.mod b/services/certificates/go.mod index 353d67c66..c00193e2e 100644 --- a/services/certificates/go.mod +++ b/services/certificates/go.mod @@ -2,7 +2,7 @@ module github.com/stackitcloud/stackit-sdk-go/services/certificates go 1.21 -require github.com/stackitcloud/stackit-sdk-go/core v0.20.1 +require github.com/stackitcloud/stackit-sdk-go/core v0.21.0 require ( github.com/golang-jwt/jwt/v5 v5.3.0 // indirect diff --git a/services/certificates/go.sum b/services/certificates/go.sum index 6eca79590..9be45a73d 100644 --- a/services/certificates/go.sum +++ b/services/certificates/go.sum @@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1 h1:odiuhhRXmxvEvnVTeZSN9u98edvw2Cd3DcnkepncP3M= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0 h1:QXZqiaO7U/4IpTkJfzt4dt6QxJzG2uUS12mBnHpYNik= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= From 32f1d0c9b951c35531ea63fc9ccd5f2de8f4faef Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:20:55 +0000 Subject: [PATCH 06/10] Generate cdn (cherry picked from commit 484ba00292c953748a6c83bc0a9721955a26cd9c) --- services/cdn/client.go | 5 +---- services/cdn/go.mod | 2 +- services/cdn/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/services/cdn/client.go b/services/cdn/client.go index 99cbd65fa..e55ca5c74 100644 --- a/services/cdn/client.go +++ b/services/cdn/client.go @@ -498,10 +498,7 @@ func addFile(w *multipart.Writer, fieldName, path string) error { if err != nil { return err } - err = file.Close() - if err != nil { - return err - } + defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { diff --git a/services/cdn/go.mod b/services/cdn/go.mod index b1560cb68..ddd1de607 100644 --- a/services/cdn/go.mod +++ b/services/cdn/go.mod @@ -5,7 +5,7 @@ go 1.21 require ( github.com/google/go-cmp v0.7.0 github.com/google/uuid v1.6.0 - github.com/stackitcloud/stackit-sdk-go/core v0.20.1 + github.com/stackitcloud/stackit-sdk-go/core v0.21.0 ) require github.com/golang-jwt/jwt/v5 v5.3.0 // indirect diff --git a/services/cdn/go.sum b/services/cdn/go.sum index 6eca79590..9be45a73d 100644 --- a/services/cdn/go.sum +++ b/services/cdn/go.sum @@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1 h1:odiuhhRXmxvEvnVTeZSN9u98edvw2Cd3DcnkepncP3M= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0 h1:QXZqiaO7U/4IpTkJfzt4dt6QxJzG2uUS12mBnHpYNik= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= From f1607d07f9d3868e7308c48cd973398289b05915 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:20:52 +0000 Subject: [PATCH 07/10] Generate authorization (cherry picked from commit 28aaa8bd29082b133590b018d4579b9f761ff524) --- services/authorization/client.go | 5 +---- services/authorization/go.mod | 2 +- services/authorization/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/services/authorization/client.go b/services/authorization/client.go index d718b2bbb..2b5181592 100644 --- a/services/authorization/client.go +++ b/services/authorization/client.go @@ -501,10 +501,7 @@ func addFile(w *multipart.Writer, fieldName, path string) error { if err != nil { return err } - err = file.Close() - if err != nil { - return err - } + defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { diff --git a/services/authorization/go.mod b/services/authorization/go.mod index fe83f8408..bfd10bb20 100644 --- a/services/authorization/go.mod +++ b/services/authorization/go.mod @@ -2,7 +2,7 @@ module github.com/stackitcloud/stackit-sdk-go/services/authorization go 1.21 -require github.com/stackitcloud/stackit-sdk-go/core v0.20.1 +require github.com/stackitcloud/stackit-sdk-go/core v0.21.0 require ( github.com/golang-jwt/jwt/v5 v5.3.0 // indirect diff --git a/services/authorization/go.sum b/services/authorization/go.sum index 6eca79590..9be45a73d 100644 --- a/services/authorization/go.sum +++ b/services/authorization/go.sum @@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1 h1:odiuhhRXmxvEvnVTeZSN9u98edvw2Cd3DcnkepncP3M= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0 h1:QXZqiaO7U/4IpTkJfzt4dt6QxJzG2uUS12mBnHpYNik= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= From f012d0c894e4042cd5439b6a70c17e94f998e5b2 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:20:50 +0000 Subject: [PATCH 08/10] Generate auditlog (cherry picked from commit a33410760c0b95fc33b816d6ee18e309e797ee1a) --- services/auditlog/client.go | 5 +---- services/auditlog/go.mod | 2 +- services/auditlog/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/services/auditlog/client.go b/services/auditlog/client.go index f5e276637..bb03ffdfa 100644 --- a/services/auditlog/client.go +++ b/services/auditlog/client.go @@ -501,10 +501,7 @@ func addFile(w *multipart.Writer, fieldName, path string) error { if err != nil { return err } - err = file.Close() - if err != nil { - return err - } + defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { diff --git a/services/auditlog/go.mod b/services/auditlog/go.mod index b3a951f47..609f82b21 100644 --- a/services/auditlog/go.mod +++ b/services/auditlog/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/google/uuid v1.6.0 - github.com/stackitcloud/stackit-sdk-go/core v0.20.1 + github.com/stackitcloud/stackit-sdk-go/core v0.21.0 ) require github.com/golang-jwt/jwt/v5 v5.3.0 // indirect diff --git a/services/auditlog/go.sum b/services/auditlog/go.sum index 6eca79590..9be45a73d 100644 --- a/services/auditlog/go.sum +++ b/services/auditlog/go.sum @@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1 h1:odiuhhRXmxvEvnVTeZSN9u98edvw2Cd3DcnkepncP3M= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0 h1:QXZqiaO7U/4IpTkJfzt4dt6QxJzG2uUS12mBnHpYNik= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= From bcb38a4b9f4d183000f352986c2ff81970a527b1 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:20:47 +0000 Subject: [PATCH 09/10] Generate alb (cherry picked from commit 433eff28450b19cec8a7bf42cad308570c19c50a) --- services/alb/client.go | 5 +---- services/alb/go.mod | 2 +- services/alb/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/services/alb/client.go b/services/alb/client.go index 8ca6551c8..08719515b 100644 --- a/services/alb/client.go +++ b/services/alb/client.go @@ -498,10 +498,7 @@ func addFile(w *multipart.Writer, fieldName, path string) error { if err != nil { return err } - err = file.Close() - if err != nil { - return err - } + defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { diff --git a/services/alb/go.mod b/services/alb/go.mod index fd35ad6eb..9dc0d174b 100644 --- a/services/alb/go.mod +++ b/services/alb/go.mod @@ -5,7 +5,7 @@ go 1.21 require ( github.com/google/go-cmp v0.7.0 github.com/google/uuid v1.6.0 - github.com/stackitcloud/stackit-sdk-go/core v0.20.1 + github.com/stackitcloud/stackit-sdk-go/core v0.21.0 ) require github.com/golang-jwt/jwt/v5 v5.3.0 // indirect diff --git a/services/alb/go.sum b/services/alb/go.sum index 6eca79590..9be45a73d 100644 --- a/services/alb/go.sum +++ b/services/alb/go.sum @@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1 h1:odiuhhRXmxvEvnVTeZSN9u98edvw2Cd3DcnkepncP3M= -github.com/stackitcloud/stackit-sdk-go/core v0.20.1/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0 h1:QXZqiaO7U/4IpTkJfzt4dt6QxJzG2uUS12mBnHpYNik= +github.com/stackitcloud/stackit-sdk-go/core v0.21.0/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ= From 24dfc9dc7d94218f0afa287f1f9dcbb907fc8ab0 Mon Sep 17 00:00:00 2001 From: Carlo Goetz Date: Thu, 22 Jan 2026 11:37:37 +0100 Subject: [PATCH 10/10] chore(services) add version and changelog changes for generated updates --- CHANGELOG.md | 36 +++++++++++++++++++++++++---- services/alb/CHANGELOG.md | 4 ++++ services/alb/VERSION | 2 +- services/auditlog/CHANGELOG.md | 4 ++++ services/auditlog/VERSION | 2 +- services/authorization/CHANGELOG.md | 4 ++++ services/authorization/VERSION | 2 +- services/cdn/CHANGELOG.md | 4 ++++ services/cdn/VERSION | 2 +- services/certificates/CHANGELOG.md | 4 ++++ services/certificates/VERSION | 2 +- services/dns/CHANGELOG.md | 4 ++++ services/dns/VERSION | 2 +- services/edge/CHANGELOG.md | 4 ++++ services/edge/VERSION | 2 +- services/iaas/CHANGELOG.md | 4 ++++ services/iaas/VERSION | 2 +- 17 files changed, 71 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b43be2c36..c7b3fd30c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,9 @@ - **Feature:** added KmsKey model - **Feature:** added KmsKey to Instance, CreateInstancePayload and UpdateInstancePayload - `edge`: + - [v0.4.1](services/edge/CHANGELOG.md#v041) + - **Bugfix:** Correctly handle file closing for file uploads + - Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` - [v0.4.0](services/edge/CHANGELOG.md#v040) - **Deprecation:** Deprecated API method `ListPlansGlobal` - [v0.3.0](services/edge/CHANGELOG.md#v030) @@ -44,6 +47,9 @@ - [v0.1.0](services/edge/CHANGELOG.md#v010) - **New:** STACKIT Edge Cloud service - `alb`: + - [v0.9.1](services/alb/CHANGELOG.md#v091) + - **Bugfix:** Correctly handle file closing for file uploads + - Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` - [v0.9.0](services/alb/CHANGELOG.md#v090) - **Feature:** Add new fields `UsedCredentials` and `UsedLoadBalancers` in `GetQuotaResponse` model - [v0.8.0](services/alb/CHANGELOG.md#v080) @@ -52,9 +58,13 @@ - **Breaking change:** added `version` to LoadBalancer constructor - **Breaking change:** renamed `exact` to `exactMatch` in Path model - **Breaking change:** removed `pathPrefix` from Rule model -- `certificates`: [v1.2.0](services/certificates/CHANGELOG.md#v120) - - **Feature:** Switch from `v2beta` API version to `v2` version. - - **Breaking change:** Rename `CreateCertificateResponse` to `GetCertificateResponse` +- `certificates`: + - [v1.2.1](services/certificates/CHANGELOG.md#v121) + - **Bugfix:** Correctly handle file closing for file uploads + - Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` + - [v1.2.0](services/certificates/CHANGELOG.md#v120) + - **Feature:** Switch from `v2beta` API version to `v2` version. + - **Breaking change:** Rename `CreateCertificateResponse` to `GetCertificateResponse` - `core`: - [v0.21.0](core/CHANGELOG.md#v0210) - **Deprecation:** KeyFlow `SetToken` and `GetToken` will be removed after 2026-07-01. Use GetAccessToken instead and rely on client refresh. @@ -76,6 +86,9 @@ - [v0.3.0](services/scf/CHANGELOG.md#v030) - **Feature:** Add new model `IsolationSegment` and `IsolationSegmentsList` - `iaas`: + - [v1.3.1](services/iaas/CHANGELOG.md#v131) + - **Bugfix:** Correctly handle file closing for file uploads + - Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` - [v1.3.0](services/iaas/CHANGELOG.md#v130) - **Feature:** Add `CreateIsolatedNetwork` functionality - **Feature:** Add `ImageFromVolumePayload` functionality @@ -122,8 +135,12 @@ - Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` - [v1.5.5](services/mongodbflex/CHANGELOG.md#v155) - **Docs:** Extend description of `Roles` field in `CreateUserPayload`, `PartialUpdateUserPayload`, `UpdateUserPayload` and `User` model -- `authorization`: [v0.11.0](services/authorization/CHANGELOG.md#v0110) - - **Feature:** Add new methods for managing roles: `AddRole`, `DeleteRole`, `GetRole`, `UpdateRole` +- `authorization`: + - [v0.11.1](services/authorization/CHANGELOG.md#v0111) + - **Bugfix:** Correctly handle file closing for file uploads + - Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` + - [v0.11.0](services/authorization/CHANGELOG.md#v0110) + - **Feature:** Add new methods for managing roles: `AddRole`, `DeleteRole`, `GetRole`, `UpdateRole` - `serverbackup`: - [v1.3.6](services/serverbackup/CHANGELOG.md#v136) - **Bugfix:** Correctly handle file closing for file uploads @@ -175,6 +192,15 @@ - `intake`: [v0.4.2](services/intake/CHANGELOG.md#v042) - **Bugfix:** Correctly handle file closing for file uploads - Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` +- `dns`: [v0.17.4](services/dns/CHANGELOG.md#v0174) + - **Bugfix:** Correctly handle file closing for file uploads + - Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` +- `cdn`: [v1.9.2](services/cdn/CHANGELOG.md#v192) + - **Bugfix:** Correctly handle file closing for file uploads + - Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` +- `auditlog`: [v0.1.3](services/auditlog/CHANGELOG.md#v013) + - **Bugfix:** Correctly handle file closing for file uploads + - Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` ## Release (2025-12-05) - `alb`: diff --git a/services/alb/CHANGELOG.md b/services/alb/CHANGELOG.md index 75ef0865d..5b25ccb1f 100644 --- a/services/alb/CHANGELOG.md +++ b/services/alb/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.9.1 +- **Bugfix:** Correctly handle file closing for file uploads +- Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` + ## v0.9.0 - **Feature:** Add new fields `UsedCredentials` and `UsedLoadBalancers` in `GetQuotaResponse` model diff --git a/services/alb/VERSION b/services/alb/VERSION index 7965b36d6..7f7306b3c 100644 --- a/services/alb/VERSION +++ b/services/alb/VERSION @@ -1 +1 @@ -v0.9.0 \ No newline at end of file +v0.9.1 \ No newline at end of file diff --git a/services/auditlog/CHANGELOG.md b/services/auditlog/CHANGELOG.md index 8197249a3..788260df9 100644 --- a/services/auditlog/CHANGELOG.md +++ b/services/auditlog/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.1.3 +- **Bugfix:** Correctly handle file closing for file uploads +- Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` + ## v0.1.2 - Bump STACKIT SDK core module from `v0.20.0` to `v0.20.1` diff --git a/services/auditlog/VERSION b/services/auditlog/VERSION index f4cacccee..d34dcac16 100644 --- a/services/auditlog/VERSION +++ b/services/auditlog/VERSION @@ -1 +1 @@ -v0.1.2 \ No newline at end of file +v0.1.3 \ No newline at end of file diff --git a/services/authorization/CHANGELOG.md b/services/authorization/CHANGELOG.md index 6d3e73d4e..6d63db5b2 100644 --- a/services/authorization/CHANGELOG.md +++ b/services/authorization/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.11.1 +- **Bugfix:** Correctly handle file closing for file uploads +- Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` + ## v0.11.0 - **Feature:** Add new methods for managing roles: `AddRole`, `DeleteRole`, `GetRole`, `UpdateRole` diff --git a/services/authorization/VERSION b/services/authorization/VERSION index fd2726c91..4f7638fd9 100644 --- a/services/authorization/VERSION +++ b/services/authorization/VERSION @@ -1 +1 @@ -v0.11.0 +v0.11.1 diff --git a/services/cdn/CHANGELOG.md b/services/cdn/CHANGELOG.md index fa18adebb..59667bfac 100644 --- a/services/cdn/CHANGELOG.md +++ b/services/cdn/CHANGELOG.md @@ -1,3 +1,7 @@ +## v1.9.2 +- **Bugfix:** Correctly handle file closing for file uploads +- Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` + ## v1.9.1 - Bump STACKIT SDK core module from `v0.20.0` to `v0.20.1` diff --git a/services/cdn/VERSION b/services/cdn/VERSION index ba1e8bf0b..b95e90dc7 100644 --- a/services/cdn/VERSION +++ b/services/cdn/VERSION @@ -1 +1 @@ -v1.9.1 +v1.9.2 diff --git a/services/certificates/CHANGELOG.md b/services/certificates/CHANGELOG.md index 606c75fcb..24888e2df 100644 --- a/services/certificates/CHANGELOG.md +++ b/services/certificates/CHANGELOG.md @@ -1,3 +1,7 @@ +## v1.2.1 +- **Bugfix:** Correctly handle file closing for file uploads +- Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` + ## v1.2.0 - **Feature:** Switch from `v2beta` API version to `v2` version. - **Breaking change:** Rename `CreateCertificateResponse` to `GetCertificateResponse` diff --git a/services/certificates/VERSION b/services/certificates/VERSION index 0408c30b4..24e56e03c 100644 --- a/services/certificates/VERSION +++ b/services/certificates/VERSION @@ -1 +1 @@ -v1.2.0 \ No newline at end of file +v1.2.1 \ No newline at end of file diff --git a/services/dns/CHANGELOG.md b/services/dns/CHANGELOG.md index 2d730e91d..500e34ce6 100644 --- a/services/dns/CHANGELOG.md +++ b/services/dns/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.17.4 +- **Bugfix:** Correctly handle file closing for file uploads +- Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` + ## v0.17.3 - Bump STACKIT SDK core module from `v0.20.0` to `v0.20.1` diff --git a/services/dns/VERSION b/services/dns/VERSION index 38654f22d..1c29999c8 100644 --- a/services/dns/VERSION +++ b/services/dns/VERSION @@ -1 +1 @@ -v0.17.3 \ No newline at end of file +v0.17.4 \ No newline at end of file diff --git a/services/edge/CHANGELOG.md b/services/edge/CHANGELOG.md index 584726138..9723414bb 100644 --- a/services/edge/CHANGELOG.md +++ b/services/edge/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.4.1 +- **Bugfix:** Correctly handle file closing for file uploads +- Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` + ## v0.4.0 - **Deprecation:** Deprecated API method `ListPlansGlobal` diff --git a/services/edge/VERSION b/services/edge/VERSION index fb7a04cff..5aff472dd 100644 --- a/services/edge/VERSION +++ b/services/edge/VERSION @@ -1 +1 @@ -v0.4.0 +v0.4.1 diff --git a/services/iaas/CHANGELOG.md b/services/iaas/CHANGELOG.md index f9290cf7f..be90305a5 100644 --- a/services/iaas/CHANGELOG.md +++ b/services/iaas/CHANGELOG.md @@ -1,3 +1,7 @@ +## v1.3.1 +- **Bugfix:** Correctly handle file closing for file uploads +- Bump STACKIT SDK core module from `v0.20.1` to `v0.21.0` + ## v1.3.0 - **Feature:** Add `CreateIsolatedNetwork` functionality - **Feature:** Add `ImageFromVolumePayload` functionality diff --git a/services/iaas/VERSION b/services/iaas/VERSION index 18fa8e74f..757407982 100644 --- a/services/iaas/VERSION +++ b/services/iaas/VERSION @@ -1 +1 @@ -v1.3.0 +v1.3.1