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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,11 @@
- [v0.8.0](services/vpn/CHANGELOG.md#v080)
- `v1api`:
- **Feature:** Add new wait handlers for gateway creation (`CreateGatewayWaitHandler`), update (`UpdateGatewayWaitHandler`), and deletion (`DeleteGatewayWaitHandler`)
- [v0.9.0](services/vpn/CHANGELOG.md#v090)
- `v1api`:
- **Breaking change:** Switch from regional to global API server URL. `config.WithRegion(...)` should not be used during client initialization anymore.
- `v1beta1api`: Align package to latest API specification
- `v1alpha1api`: Align package to latest API specification

## Release (2026-04-07)
- `alb`: [v0.13.1](services/alb/CHANGELOG.md#v0131)
Expand Down
6 changes: 2 additions & 4 deletions examples/vpn/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ go 1.25
// 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/vpn => ../../services/vpn

require (
github.com/stackitcloud/stackit-sdk-go/core v0.26.0
github.com/stackitcloud/stackit-sdk-go/services/vpn v0.8.0
)
require github.com/stackitcloud/stackit-sdk-go/services/vpn v0.8.0

require (
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/stackitcloud/stackit-sdk-go/core v0.26.0 // indirect
)
5 changes: 1 addition & 4 deletions examples/vpn/vpn.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"os"

"github.com/stackitcloud/stackit-sdk-go/core/config"
vpn "github.com/stackitcloud/stackit-sdk-go/services/vpn/v1api"
)

Expand All @@ -23,9 +22,7 @@ func main() {
psk := "Super.$ecret_Shared3Key12345"

// Create a new API client, that uses default authentication and configuration
vpnClient, err := vpn.NewAPIClient(
config.WithRegion(region),
)
vpnClient, err := vpn.NewAPIClient()
if err != nil {
fmt.Fprintf(os.Stderr, "Creating API client: %v\n", err)
os.Exit(1)
Expand Down
6 changes: 6 additions & 0 deletions services/vpn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v0.9.0
- `v1api`:
- **Breaking change:** Switch from regional to global API server URL. `config.WithRegion(...)` should not be used during client initialization anymore.
- `v1beta1api`: Align package to latest API specification
- `v1alpha1api`: Align package to latest API specification

## v0.8.0
- `v1api`:
- **Feature:** Add new wait handlers for gateway creation (`CreateGatewayWaitHandler`), update (`UpdateGatewayWaitHandler`), and deletion (`DeleteGatewayWaitHandler`)
Expand Down
2 changes: 1 addition & 1 deletion services/vpn/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.8.0
v0.9.0
2 changes: 1 addition & 1 deletion services/vpn/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0867dbbb09a8032415dc6debe18bc392bd58ba42
8b46fbdf489c4455ccb1e0a9615ba7270ae260e8
7 changes: 2 additions & 5 deletions services/vpn/v1alpha1api/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions services/vpn/v1api/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions services/vpn/v1beta1api/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading