Releases: elastic/go-elasticsearch
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 !
8.5.0
API
ML.StartTrainedModelDeployment
: Description ofNumberOfAllocations
has been changed in "The total number of allocations this model is assigned across machine learning nodes".Security.GetAPIKey
: AddedWithLimitedBy
boolean parameter. Flag to show the limited-by role descriptors of API Keys.Security.GetUser
: AddedWithProfileUID
boolean parameter. Flag to retrieve profile uid (if exists) associated to the user.Security.GetUserProfile
: Changed the description of uid parameter, a comma-separated list of unique identifier for user profiles.Security.QueryAPIKeys
: AddedWithLimitedBy
boolean parameter. Flag to show the limited-by role descriptors of API Keys.TextStructureFindStructure
: AddedEcsCompatibility
string parameter. Optional parameter to specify the compatibility mode with ECS Grok patterns - may be either 'v1' or 'disabled'.
Promoted to stable
ML.InferTrainedModel
ML.PutTrainedModelDefinitionPart
ML.PutTrainedModelVocabulary
ML.StartTrainedModelDeployment
ML.StopTrainedModelDeployment
Security.activateUserProfile
Security.DisableUserProfile
Security.EnableUserProfile
Security.GetUserProfile
Security.HasPrivilegesUserProfile
Security.SuggestUserProfiles
Security.UpdateUserProfileData
New APIs
ML.ClearTrainedModelDeploymentCache
documentation.Security.BulkUpdateAPIKeys
documentation.Indices.Downsample
(Experimental API) documentation
Typed API
Following multiple feedbacks we decided to remove the builder API for the type tree.
In its place, work has started to further simplify the type tree by removing redundant type aliases. The API also now comes with a helper package named some
that allows to call for inline pointers on primitive types.
In addition, a bug was fixed preventing the use of wildcards in index names, and enums are now extensible by default.
The Typed API remains in alpha
stage while its development continues.