- Bump STACKIT SDK core module from
v0.20.0tov0.20.1
- Bump STACKIT SDK core module from
v0.19.0tov0.20.0
- Breaking Change: The attribute type for
PartialUpdateInstancePayloadandUpdateInstancePayloadchanged fromStoragetoStorageUpdate. - Deprecation:
StorageUpdate: updating the performance class field is not possible.
- Dependencies: Bump
github.com/golang-jwt/jwt/v5fromv5.2.2tov5.2.3
- Add
required:"true"tags to model structs
- Breaking change: Introduce interfaces for
APIClientand the request structs
- Feature: Update user-agent header
- Bugfix: Correctly handle empty payload in body
- Internal: Backwards compatible change to generated code
- Bugfix:
DeleteUserWaitHandleris now also using the region as parameter.
- 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.
- New: Minimal go version is now Go 1.21
- Breaking change: Delete endpoint made private.
- Bugfix: Correctly handle nullable attributes in model types
- Feature: Add support for nullable models
- Feature: New API methods
CreateDatabase,DeleteDatabase,ListDatabase,ListDatabaseParametersto manage PostgreSQL Flex databases - Feature: New API method
UpdateInstanceto update the instance - Feature: New API method
ListMetricsto list metrics of an instance - Feature: New API method
DisableServiceto terminate the whole project
- Breaking change: Remove unused model data types.
- Set config.ContextHTTPRequest in Execute method
- Support WithMiddleware configuration option in the client
- Update
coretov0.12.0
- Improvement: Update
DeleteInstanceWaitHandlerto support new deletion method. - Feature: New waiter
ForceDeleteInstanceWaitHandlerfor async operationForceDeleteInstance
- Feature: New API method
ForceDeleteInstancethat forces the deletion of a delayed deleted instance
- Feature: New API method
CloneInstanceto clone the instance
- Update
coretov0.10.0
- Bug fix: Fix
CreateInstanceWaitHandlerfailing when instance isn't shown right after creation request
- Feature: New API method
UpdateUserto update user - Feature: New API method
PartialUpdateUserto patch update user - Feature: New API method
ResetUserto reset a user's password
- Improvement: Required fields in
CreateInstancePayloadandUpdateBackupSchedulePayloadare now labelled as such - Update
coretov0.7.7. Thehttp.requestcontext is now passed in the clientDocall.
- Bug fix:
NewAPIClientnow initializes a new client instead of usinghttp.DefaultClient(#236)
- Add license and notice files
- Dependency updates
- Dependency updates
API methods, structs and waiters were renamed to have the same look and feel across all services and according to user feedback.
- Changed methods:
GetBackupsrenamed toListBackupsGetFlavorsrenamed toListFlavorsGetInstancesrenamed toListInstancesGetStoragesrenamed toListStoragesGetUsersrenamed toListUsersGetVersionsrenamed toListVersionsUpdateInstancerenamed toPartialUpdateInstance
- Changed structs:
BackupResponserenamed toGetBackupResponseBackupsResponserenamed toListBackupsResponseFlavorsResponserenamed toListFlavorsResponseGetUsersResponserenamed toListUsersResponseInstanceAclrenamed toACLInstanceBackuprenamed toBackupInstanceErrorrenamed toErrorInstanceFlavorrenamed toFlavorInstanceListUserrenamed toListUsersResponseItemInstanceResetUserResponserenamed toResetUserResponseInstanceSingleInstancerenamed toInstanceInstanceStoragerenamed toStorageInstanceStorageRangerenamed toStorageRangeInstanceUserrenamed toUserInstancesResponserenamed toListInstancesResponseStoragesResponserenamed toListStoragesResponseUpdateInstancePayloadrenamed toPartialUpdateInstancePayloadUpdateInstanceResponserenamed toPartialUpdateInstanceResponseUserResponserenamed toGetUserResponseUsersResponserenamed toListUsersResponseVersionsResponserenamed toListVersionsResponseChanged waiters:UpdateInstanceWaitHandlerrenamed toPartialUpdateInstanceWaitHandler
- Manage your STACKIT PostgreSQL Flex resources:
Instance,Versions,Flavors,User,Storages - Waiters for async operations:
CreateInstanceWaitHandler,UpdateInstanceWaitHandler,DeleteInstanceWaitHandler,DeleteUserWaitHandler - Usage example