Releases: elastic/go-elasticsearch
8.11.0
API
Experimental APIs
EsqlQuery
documentationInferenceDeleteModel
documentationInferenceGetModel
documentationInferenceInference
documentationInferencePutModel
documentation
Typed API
- Mandatory URL parameters are not exposed as functions anymore as they already exist in the constructor.
New Compatibility Policy
Starting from version 8.12.0
, this library follow the Go language policy. Each major Go release is supported until there are two newer major releases. For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported until the Go 1.8 release.
If you have any questions or concerns, please do not hesitate to reach out to us.
8.10.1
Typed API
Update APIs to latest elasticsearch-specification 8.10
8.10.0
API
Experimental APIs for internal use
FleetDeleteSecret
FleetGetSecret
FleetPostSecret
Exprimental APIs
QueryRulesetList
Stable APIs
Security.GetSettings
Security.UpdateSettings
Typed API
Exprimental APIs
QueryRuleset.List
Technical Preview
Beta
8.9.0
API
New API
Cluster.Info
Documentation
Experimental APIs
QueryRulesetGet
DocumentationQueryRulesetDelete
DocumentationQueryRulesetPut
DocumentationSearchApplicationRenderQuery
DocumentationSecurity.CreateCrossClusterAPIKey
DocumentationSecurity.UpdateCrossClusterAPIKey
Documentation
Typed API
- Propagated request fields towards the endpoint for ease of access, taking priority over same-name query string fields.
- Added a stub for Do methods on endpoints that only support a boolean response such as
core.exists
. - NDJSON endpoints support with custom serialization like
core.bulk
. - Link to endpoints documentation in API index to better display and ease of use.
fixes
- Fixed a deserialization issue for
Property
&Analyzer
#696
8.8.2
8.8.0
API
New APIs
Watcher.GetSettings
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/watcher-api-get-settings.htmlWatcher.UpdateSettings
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/watcher-api-update-settings.html
Experimental APIs
-
ML.DeleteDataLifecycle
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-delete-lifecycle.html -
ML.ExplainDataLifecycle
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-explain-lifecycle.html -
ML.GetDataLifecycle
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-get-lifecycle.html -
ML.PutDataLifecycle
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-put-lifecycle.html -
SearchApplications
https://www.elastic.co/guide/en/elasticsearch/reference/8.8/search-application-apis.html
7.17.10
8.7.1
8.7.0
API
ML.DeleteJob
: AddedWithDeleteUserAnnotations
. Should annotations added by the user be deleted.ML.ResetJob
: AddedWithDeleteUserAnnotations
. Should annotations added by the user be deleted.ML.StartTrainedModelDeployment
: AddedWithPriority
. The deployment priority.TransformGetTransformStats
: AddedWithTimeout
. Controls the time to wait for the stats.TransformStartTransform
: AddedWithFrom
. Restricts the set of transformed entities to those changed after this time.
New APIs
TransformScheduleNowTransform
documentation.
HealthReport
documentation.
Typed API
- Inclusion of responses structures.
Changes
Do
method on endpoints now return a typed response, one per endpoint.Perform
method added on endpoints, returnshttp.Response
as didDo
.- Elasticsearch exceptions are now handled as
types.ElasticsearchError
with.As
and.Is
methods. .Raw
now takes a reader as input.- User defined values such as
_source
inHits
are nowjson.RawMessage
to highlight they later deserializable nature.
AdditionalProperties, like the ones found in multi-bucket aggregations, are not yet supported.
8.6.0
API
ML.StartTrainedModelDeployment
: AddedWithPriority
New APIs
ML.UpdateTrainedModelDeployment
: Updates certain properties of trained model deployment.
Client
BulkIndexer
Improvements were made to the BulkIndexer memory usage to allow better handling under burst use cases. Thanks to @christos68k and @rockdaboot !