Skip to content

Commit 62a6f6b

Browse files
feat(cdn): add multi API version support (#5464)
relates to STACKITSDK-331 Co-authored-by: Ruben Hoenle <Ruben.Hoenle@stackit.cloud>
1 parent 00d1eb2 commit 62a6f6b

File tree

334 files changed

+65003
-90
lines changed

Some content is hidden

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

334 files changed

+65003
-90
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@
6666
- `v1betaapi`: New package which can be used for communication with the intake v1 beta API
6767
- **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.
6868
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
69+
- `cdn`: [v1.11.0](services/cdn/CHANGELOG.md#v1110)
70+
- **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
71+
- `v1api`: New package which can be used for communication with the cdn v1 API
72+
- `v1betaapi`: New package which can be used for communication with the cdn v1 beta API
73+
- `v1beta2api`: New package which can be used for communication with the cdn v1 beta2 API
74+
- **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.
75+
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
6976

7077
## Release (2026-02-20)
7178
- `core`: [v0.21.1](core/CHANGELOG.md#v0211)

services/cdn/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## v1.11.0
2+
- **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
3+
- `v1api`: New package which can be used for communication with the cdn v1 API
4+
- `v1betaapi`: New package which can be used for communication with the cdn v1 beta API
5+
- `v1beta2api`: New package which can be used for communication with the cdn v1 beta2 API
6+
- **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.
7+
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
8+
19
## v1.10.0
210
- **Feature:** Add support for `RedirectConfig` in `Config`, `ConfigPatch` and `CreateDistributionPayload` models
311
- new related models `RedirectConfig`, `RedirectRule`, `Matcher` and `MatchCondition`

services/cdn/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.10.0
1+
v1.11.0

services/cdn/api_default.go

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

services/cdn/client.go

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

services/cdn/configuration.go

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

services/cdn/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/google/go-cmp v0.7.0
7-
github.com/stackitcloud/stackit-sdk-go/core v0.21.1
7+
github.com/stackitcloud/stackit-sdk-go/core v0.22.0
88
)
99

1010
require (

services/cdn/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
44
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
55
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
66
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
7-
github.com/stackitcloud/stackit-sdk-go/core v0.21.1 h1:Y/PcAgM7DPYMNqum0MLv4n1mF9ieuevzcCIZYQfm3Ts=
8-
github.com/stackitcloud/stackit-sdk-go/core v0.21.1/go.mod h1:osMglDby4csGZ5sIfhNyYq1bS1TxIdPY88+skE/kkmI=
7+
github.com/stackitcloud/stackit-sdk-go/core v0.22.0 h1:6rViz7GnNwXSh51Lur5xuDzO8EWSZfN9J0HvEkBKq6c=
8+
github.com/stackitcloud/stackit-sdk-go/core v0.22.0/go.mod h1:osMglDby4csGZ5sIfhNyYq1bS1TxIdPY88+skE/kkmI=

services/cdn/model_bucket_backend.go

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

0 commit comments

Comments
 (0)