Releases: elastic/cloud-sdk-go
v1.23.0
v1.22.0
Changelog
This release of the Elastic Cloud SDK Go should be used for ECE Version 3.8.0
.
Enhancements
Add new mock client to match responses by endpoint (#485)
Adds a new mock client that provides a set of responses per endpoint, by specifying an endpoint regex as the key to a map and a set of responses as the value.
v1.21.0
Changelog
This release of the Elastic Cloud SDK Go should be used for ECE Version 3.8.0
.
Enhancements
Add the ESS-only organizations API. (#477)
Adds support for the organizations API (https://www.elastic.co/guide/en/cloud/current/Organizations.html). This API is currently unavailable in self-hosted ECE and can only be used against the Elastic cloud service.
Update to latest Elastic cloud API (#481)
Updates the generated clients and models to match the API available in Elastic cloud.
v1.20.0
Changelog
This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0
.
Bug fixes
Fix deployment API for updating deployment-alias. (#472)
Fixes the deployment API (DeploymentCreateRequest
, DeploymentUpdateRequest
) so it is possible to remove the deployment-alias. An explicit empty String can now be passed to remove the alias.
v1.19.0
Changelog
This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0
.
Enhancements
Add new parameter for deployment get. (#469)
Adds support for parameters show_instance_configurations
, enrich_with_template
, force_all_plan_history
and clear_transient
when getting deployment info.
v1.18.0
v1.17.0
Changelog
This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0
.
Enhancements
Update to latest ECE 3.7.0 api (#461)
Breaking:
- The notes api is no more. Use the deployment comment api instead.
Other: - The instance configurations can now specify allowed zones.
- The deployment update api can use the ValidateOnly flag
Add show_max_zones
parameter for deployment-templates API. (#462)
This parameter adds the max_zones
field to each instance-configuration. (Left empty by default).
v1.16.0
Changelog
This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0
.
Bug fixes
Fix vacate tracking for integrations-server kind. (#455)
When using the allocator vacate API, the code can now properly handle tracking the vacate process for instances of type integrations-serer.
v1.15.0
Changelog
This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0
.
Enhancements
Update API spec to ESS MS-101 (#451)
Updates the generated clients and models to match the API available in Elastic cloud MS-101.
Bug fixes
Handle empty instance_configuration_version
s in topology elements. (#450)
We couldn't set instance_configuration_version
to 0 because it would be considered as an empty value and it would be omitted during JSON marshalling.
This has now been fixed by updating the instance_configuration_version
type to *int32
.
v1.14.0
Changelog
This release of the Elastic Cloud SDK Go should be used for ECE Version 3.7.0
.
Enhancements
Update API spec to ESS ms-98 (#444)
Updates the generated clients and models to match the latest API available in Elastic cloud.
Bug fixes
Properly support AllocatorDown
parameter for the VacateCluster
command. (#443)
The vacate parameter AllocatorDown
was ignored and not passed through to the actual request.
This has now been fixed and the parameter can be used when calling VacateCluster
.