Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
- `dns`: [v0.18.0](services/dns/CHANGELOG.md#v0180)
- **Feature:** Introduction of multi API version support for the dns SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
- `v1api`: New package which should be used for communication with the STACKIT dns API in the future
- **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 `v0api` package instead.
- **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.
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
- `intake`: [v0.5.0](services/intake/CHANGELOG.md#v050)
- **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
Expand All @@ -90,22 +90,22 @@
- `logme`: [v0.26.0](services/logme/CHANGELOG.md#v0260)
- **Feature:** Introduction of multi API version support for the logme SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
- `v1api`: New package which should be used for communication with the STACKIT logme API in the future
- **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 `v0api` package instead.
- **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.
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
- `modelserving`: [v0.7.0](services/modelserving/CHANGELOG.md#v070)
- **Feature:** Introduction of multi API version support for the modelserving SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
- `v1api`: New package which should be used for communication with the STACKIT modelserving API in the future
- **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 `v0api` package instead.
- **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.
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
- `rabbitmq`: [v0.27.0](services/rabbitmq/CHANGELOG.md#v0270)
- **Feature:** Introduction of multi API version support for the rabbitmq SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
- `v1api`: New package which should be used for communication with the STACKIT rabbitmq API in the future
- **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 `v0api` package instead.
- **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.
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
- `redis`: [v0.26.0](services/redis/CHANGELOG.md#v0260)
- **Feature:** Introduction of multi API version support for the redis SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
- `v1api`: New package which should be used for communication with the STACKIT redis API in the future
- **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 `v0api` package instead.
- **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.
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
- `kms`: [v1.4.0](services/kms/CHANGELOG.md#v140)
- **Feature:** Introduction of multi API version support for the kms SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
Expand All @@ -116,7 +116,7 @@
- `mariadb`: [v0.26.0](services/mariadb/CHANGELOG.md#v0260)
- **Feature:** Introduction of multi API version support for the mariadb SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
- `v1api`: New package which should be used for communication with the STACKIT mariadb API in the future
- **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 `v0api` package instead.
- **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.
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
- `authorization`: [v0.13.0](services/authorization/CHANGELOG.md#v0130)
- **Feature:** Introduction of multi API version support for the authorization SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
Expand All @@ -128,6 +128,11 @@
- `v1api`: New package which should be used for communication with the STACKIT opensearch API in the future
- **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.
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`
- `auditlog`: [v0.2.0](services/auditlog/CHANGELOG.md#v020)
- **Feature:** Introduction of multi API version support for the auditlog SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
- `v2api`: New package which should be used for communication with the STACKIT auditlog API in the future
- **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 `v2api` package instead.
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`

## Release (2026-02-20)
- `core`: [v0.21.1](core/CHANGELOG.md#v0211)
Expand Down
8 changes: 4 additions & 4 deletions examples/auditlog/auditlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/stackitcloud/stackit-sdk-go/core/oapierror"
"github.com/stackitcloud/stackit-sdk-go/services/auditlog"
auditlog "github.com/stackitcloud/stackit-sdk-go/services/auditlog/v2api"
)

func main() {
Expand All @@ -26,7 +26,7 @@ func main() {
}

// List all audit logs of a project
listProjectLogsReq := auditlogClient.ListProjectAuditLogEntries(context.Background(), projectId).
listProjectLogsReq := auditlogClient.DefaultAPI.ListProjectAuditLogEntries(context.Background(), projectId).
StartTimeRange(startTime).
EndTimeRange(endTime).
Limit(limit)
Expand Down Expand Up @@ -54,12 +54,12 @@ func main() {
os.Exit(1)
}
// Break loop when response has no items
if result == nil || result.Items == nil || len(*result.Items) == 0 {
if result == nil || result.Items == nil || len(result.Items) == 0 {
break
}

// Append items to allItems
allItems = append(allItems, *result.Items...)
allItems = append(allItems, result.Items...)

// If cursor is not set, end of logs is reached
if result.Cursor == nil {
Expand Down
5 changes: 4 additions & 1 deletion examples/auditlog/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ module auditlog

go 1.21

// This is not needed in production. This is only here to point the golangci linter to the local version instead of the last release on GitHub.
replace github.com/stackitcloud/stackit-sdk-go/services/auditlog => ../../services/auditlog

require (
github.com/stackitcloud/stackit-sdk-go/core v0.21.1
github.com/stackitcloud/stackit-sdk-go/core v0.22.0
github.com/stackitcloud/stackit-sdk-go/services/auditlog v0.1.5
)

Expand Down
6 changes: 2 additions & 4 deletions examples/auditlog/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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.21.1 h1:Y/PcAgM7DPYMNqum0MLv4n1mF9ieuevzcCIZYQfm3Ts=
github.com/stackitcloud/stackit-sdk-go/core v0.21.1/go.mod h1:osMglDby4csGZ5sIfhNyYq1bS1TxIdPY88+skE/kkmI=
github.com/stackitcloud/stackit-sdk-go/services/auditlog v0.1.5 h1:sxky48lXBtdq6nKH6OyrMSG3JeYb69eXoP6rAQyH+Gs=
github.com/stackitcloud/stackit-sdk-go/services/auditlog v0.1.5/go.mod h1:zHZ0kX8YE235wwKo9xGFUGmv4WhMvVHPdu2Cc+g7m90=
github.com/stackitcloud/stackit-sdk-go/core v0.22.0 h1:6rViz7GnNwXSh51Lur5xuDzO8EWSZfN9J0HvEkBKq6c=
github.com/stackitcloud/stackit-sdk-go/core v0.22.0/go.mod h1:osMglDby4csGZ5sIfhNyYq1bS1TxIdPY88+skE/kkmI=
13 changes: 9 additions & 4 deletions services/auditlog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v0.2.0
- **Feature:** Introduction of multi API version support for the auditlog SDK module. For more details please see the announcement on GitHub: https://github.com/stackitcloud/stackit-sdk-go/discussions/5062
- `v2api`: New package which should be used for communication with the STACKIT auditlog API in the future
- **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 `v2api` package instead.
- **Dependencies:** Bump STACKIT SDK core module from `v0.21.1` to `v0.22.0`

## v0.1.5
- Bump STACKIT SDK core module from `v0.21.0` to `v0.21.1`

Expand All @@ -9,11 +15,10 @@
- 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`
- Bump STACKIT SDK core module from `v0.20.0` to `v0.20.1`

## v0.1.1
- Bump STACKIT SDK core module from `v0.19.0` to `v0.20.0`
- Bump STACKIT SDK core module from `v0.19.0` to `v0.20.0`

## v0.1.0

- **New**: STACKIT Audit Log module for retrieving recorded actions and system changes. Download audit log entries for folders, organizations, and projects with time range filtering, pagination, and configurable result limits.
- **New**: STACKIT Audit Log module for retrieving recorded actions and system changes. Download audit log entries for folders, organizations, and projects with time range filtering, pagination, and configurable result limits.
2 changes: 1 addition & 1 deletion services/auditlog/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.5
v0.2.0
Loading
Loading