Skip to content

Commit 5bf5df7

Browse files
committed
fix: applied review findings
1 parent 6e404a1 commit 5bf5df7

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Release (2025-XX-XX)
1+
## Release (2025-02-27)
22

33
- `core`: [v0.16.1](core/CHANGELOG.md#v0161-2025-02-25)
44
- **Bugfix:** STACKIT_PRIVATE_KEY and STACKIT_SERVICE_ACCOUNT_KEY can be set via environment variable or via credentials file.
@@ -17,6 +17,9 @@
1717
- **Feature:** Add method to list all public ip ranges: `ListPublicIpRanges`
1818
- Add size attribute to image model
1919
- Add CPU architecture attribute to image config model
20+
- `serviceenablement: [v0.6.0](services/serviceenablement/CHANGELOG.md#v060-2025-02-27)
21+
- **Breaking Change:** The region is no longer specified within the client configuration. Instead, the region must be passed as a parameter to any region-specific request.
22+
2023

2124
## Release (2025-02-21)
2225
> [!WARNING]

examples/serviceenablement/serviceenablement.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"fmt"
66
"os"
77

8-
"github.com/stackitcloud/stackit-sdk-go/core/config"
98
"github.com/stackitcloud/stackit-sdk-go/services/serviceenablement"
109
"github.com/stackitcloud/stackit-sdk-go/services/serviceenablement/wait"
1110
)
@@ -15,9 +14,7 @@ func main() {
1514
projectId := "PROJECT_ID"
1615

1716
// Create a new API client, that uses default authentication and configuration
18-
client, err := serviceenablement.NewAPIClient(
19-
config.WithRegion("eu01"),
20-
)
17+
client, err := serviceenablement.NewAPIClient()
2118
if err != nil {
2219
fmt.Fprintf(os.Stderr, "Creating API client: %v\n", err)
2320
os.Exit(1)

services/serviceenablement/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.6.0 (2025-02-27)
2+
- **Breaking Change:** The region is no longer specified within the client configuration. Instead, the region must be passed as a parameter to any region-specific request.
3+
14
## v0.5.0 (2025-02-21)
25
- **New:** Minimal go version is now Go 1.21
36

0 commit comments

Comments
 (0)