Releases: elastic/go-elasticsearch
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.
7.17.7
8.4.0
API
get
,mget
andsearch
addedforce_synthetic_source
: Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.ML.StartTrainedModelDeployment
addedcache_size
: A byte-size value for configuring the inference cache size. For example, 20mb.Snapshot.Get
addedsort
,size
,order
,from_sort_value
,after
,offset
andslm_policy_filter
. More on these in the documentation.
New API
Security.UpdateAPIKey
documentation.
Typed API
As highlighted in the release not for the 8.4.0-alpha.1, this release marks the beginning of the newly arrived TypedClient
.
This new API is still in alpha
stage and will be release alongside the existing esapi
.
A few examples of standard use-cases can be found in the TypedAPI section of the documentation.
8.4.0-alpha.2
This second prerelease of the 8.4.0 updates the API for the client and fixes the serialization for types using additional properties.