- Breaking change:
InstanceParametersTlsProtocolsis now a string array instead of a single string - Add
required:"true"tags to model structs
- Bugfix: Adjusted
UnmarshalJSONfunction to use enum types and added tests for enums
- Breaking change: Introduce interfaces for
APIClientand the request structs
- Breaking change: Introduce typed enum constants for status attributes
- Feature: Update user-agent header
- Bugfix: Correctly handle empty payload in body
- Feature: Adapt constants to evolved API.
- Bugfix:
PartialUpdateInstanceWaitHandlerdoes not finish when update is succeeded - Deprecation: Deprecated
InstanceStateSuccess,InstanceStateFailed,InstanceTypeCreate,InstanceTypeUpdate,InstanceTypeDeleteand will be removed after 2nd October 2025
- Internal: Backwards compatible change to generated code
- New: Minimal go version is now Go 1.21
- Bugfix: Correctly handle nullable attributes in model types
- Feature: Add support for nullable models
- Breaking changes:
GetMetricsResponsefields have changed data typesCpuLoadPercent,Load1,Load15andLoad5are now*float64ParachuteDiskEphemeralActivatedandParachuteDiskPersistentActivatedare now*bool
- Feature:
Planhas a new fieldSkuName
- Bugfix: Fix marking of deprecated struct fields. Potential breaking change for users with linters that treat deprecations as errors.
- Feature: New methods
CreateBackup,DownloadBackup,ListRestores,UpdateBackupsConfig,TriggerRecreate,TriggerRestart,TriggerRestoreto manage the backup and restoration of an instance. - New fields
Load1,Load5andLoad15inGetMetricsResponsemodel.
- Feature: New method
GetMetricsto get the latest metrics for cpu load, memory and disk usage for an instance - Feature: New method
ListBackupsto list the backups for an instance - Breaking change:
ListMetricsResponsetype (previously unused) renamed toGetMetricsResponse - Breaking change: Deleted unused data types
- Breaking change: Fields removed from
RawCredentials:RouteServiceUrl,SyslogDrainUrl,VolumeMounts. - Breaking change: Fields removed from
Credentials:HttpApiUri,Name,Protocols - Feature:
Credentialshas a new fieldScheme
- Set config.ContextHTTPRequest in Execute method
- Support WithMiddleware configuration option in the client
- Update
coretov0.12.0
- Feature:
InstanceParametershas new fieldsTlsCiphers,TlsProtocols,JavaGarbageCollector,JavaHeapspace, andJavaMaxmetaspace - Feature:
Offeringhas a new fieldLifecycle - Feature:
Instancehas new fieldsOfferingVersion,PlanName, andStatus
- Update
coretov0.10.0
- Feature:
Instancehas a new fieldOfferingName - 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
- Feature:
PartialUpdateInstancecan be used to update the instance's name - Feature:
InstanceParametershas a new settingMaxDiskThreshold - Feature:
ListMetricsResponsehas new fields regarding ephemeral disk - 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:
GetCredentialsIdsrenamed toListCredentialsGetInstancesrenamed toListInstancesGetOfferingsrenamed toListOfferingsUpdateInstancerenamed toPartialUpdateInstance
- Changed structs:
CredentialsIdsResponserenamed toListCredentialsResponseInstanceBackuprenamed toBackupInstanceBackupsListrenamed toListBackupsResponseInstanceIdrenamed toCreateInstanceResponseInstanceListrenamed toListInstancesResponseInstanceMetricsrenamed toListMetricsResponseLastOperationrenamed toInstanceLastOperationOfferingListrenamed toListOfferingsResponseUpdateInstancePayloadrenamed toPartialUpdateInstancePayloadChanged waiters:UpdateInstanceWaitHandlerrenamed toPartialUpdateInstanceWaitHandler
- Manage your STACKIT OpenSearch resources:
Instance,Credentials,Offerings - Waiters for async operations:
CreateInstanceWaitHandler,UpdateInstanceWaitHandler,DeleteInstanceWaitHandler,CreateCredentialsWaitHandler,DeleteCredentialsWaitHandler - Usage example