Skip to content

Commit 23352b3

Browse files
Generator: Update SDK /services/intake (#5889)
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@stackit.cloud>
1 parent 99179ea commit 23352b3

File tree

84 files changed

+105
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+105
-102
lines changed

CHANGELOG.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,17 @@
9393
- `v1api`: New package which should be used for communication with the STACKIT dns API in the future
9494
- **Deprecation:** The contents in the root of this SDK module including the `wait` package are marked as deprecated and will be removed after 2026-09-30. Switch to the new `v1api` package instead.
9595
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
96-
- `intake`: [v0.5.0](services/intake/CHANGELOG.md#v050)
97-
- **Feature:** Introduction of multi API version support for the intake SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
98-
- `v1betaapi`: New package which can be used for communication with the intake v1 beta API
99-
- **Deprecation:** The contents in the root of this SDK module including the `wait` package are marked as deprecated and will be removed after 2026-09-30. Switch to the new packages for the available API versions instead.
100-
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
96+
- `intake`:
97+
- [v0.5.0](services/intake/CHANGELOG.md#v050)
98+
- **Feature:** Introduction of multi API version support for the intake SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
99+
- `v1betaapi`: New package which can be used for communication with the intake v1 beta API
100+
- **Deprecation:** The contents in the root of this SDK module including the `wait` package are marked as deprecated and will be removed after 2026-09-30. Switch to the new packages for the available API versions instead.
101+
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
102+
- [v0.6.0](services/intake/CHANGELOG.md#v060)
103+
- Deprecated SDK layer in root of the module:
104+
- **Breaking Change**: Switch from regional to global API server URL (`config.WithRegion(...)` must not be used anymore).
105+
- `v1betaapi`:
106+
- **Breaking Change**: Switch from regional to global API server URL (`config.WithRegion(...)` must not be used anymore).
101107
- `cdn`: [v1.11.0](services/cdn/CHANGELOG.md#v1110)
102108
- **Feature:** Introduction of multi API version support for the cdn SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
103109
- `v1api`: New package which can be used for communication with the cdn v1 API

examples/intake/intake.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-
sdkConfig "github.com/stackitcloud/stackit-sdk-go/core/config"
98
"github.com/stackitcloud/stackit-sdk-go/core/utils"
109
intake "github.com/stackitcloud/stackit-sdk-go/services/intake/v1betaapi"
1110
)
@@ -23,9 +22,7 @@ func main() {
2322

2423
ctx := context.Background()
2524

26-
intakeClient, err := intake.NewAPIClient(
27-
sdkConfig.WithRegion(region),
28-
)
25+
intakeClient, err := intake.NewAPIClient()
2926
if err != nil {
3027
fmt.Fprintf(os.Stderr, "Creating API client: %v\n", err)
3128
os.Exit(1)

services/intake/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v0.6.0
2+
- Deprecated SDK layer in root of the module:
3+
- **Breaking Change**: Switch from regional to global API server URL (`config.WithRegion(...)` must not be used anymore).
4+
- `v1betaapi`:
5+
- **Breaking Change**: Switch from regional to global API server URL (`config.WithRegion(...)` must not be used anymore).
6+
17
## v0.5.0
28
- **Feature:** Introduction of multi API version support for the intake SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
39
- `v1betaapi`: New package which can be used for communication with the intake v1 beta API

services/intake/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.5.0
1+
v0.6.0

services/intake/api_default.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/intake/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/intake/configuration.go

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/intake/model_catalog_auth.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/intake/model_catalog_auth_patch.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/intake/model_catalog_auth_patch_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)