Releases: elastic/go-elasticsearch
8.9.0
API
New API
Cluster.InfoDocumentation
Experimental APIs
QueryRulesetGetDocumentationQueryRulesetDeleteDocumentationQueryRulesetPutDocumentationSearchApplicationRenderQueryDocumentationSecurity.CreateCrossClusterAPIKeyDocumentationSecurity.UpdateCrossClusterAPIKeyDocumentation
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.GetSettingsDocumentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/watcher-api-get-settings.htmlWatcher.UpdateSettingsDocumentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/watcher-api-update-settings.html
Experimental APIs
-
ML.DeleteDataLifecycleDocumentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-delete-lifecycle.html -
ML.ExplainDataLifecycleDocumentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-explain-lifecycle.html -
ML.GetDataLifecycleDocumentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-get-lifecycle.html -
ML.PutDataLifecycleDocumentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-put-lifecycle.html -
SearchApplicationshttps://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
Domethod on endpoints now return a typed response, one per endpoint.Performmethod added on endpoints, returnshttp.Responseas didDo.- Elasticsearch exceptions are now handled as
types.ElasticsearchErrorwith.Asand.Ismethods. .Rawnow takes a reader as input.- User defined values such as
_sourceinHitsare nowjson.RawMessageto 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 ofNumberOfAllocationshas been changed in "The total number of allocations this model is assigned across machine learning nodes".Security.GetAPIKey: AddedWithLimitedByboolean parameter. Flag to show the limited-by role descriptors of API Keys.Security.GetUser: AddedWithProfileUIDboolean 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: AddedWithLimitedByboolean parameter. Flag to show the limited-by role descriptors of API Keys.TextStructureFindStructure: AddedEcsCompatibilitystring parameter. Optional parameter to specify the compatibility mode with ECS Grok patterns - may be either 'v1' or 'disabled'.
Promoted to stable
ML.InferTrainedModelML.PutTrainedModelDefinitionPartML.PutTrainedModelVocabularyML.StartTrainedModelDeploymentML.StopTrainedModelDeploymentSecurity.activateUserProfileSecurity.DisableUserProfileSecurity.EnableUserProfileSecurity.GetUserProfileSecurity.HasPrivilegesUserProfileSecurity.SuggestUserProfilesSecurity.UpdateUserProfileData
New APIs
ML.ClearTrainedModelDeploymentCachedocumentation.Security.BulkUpdateAPIKeysdocumentation.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,mgetandsearchaddedforce_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.StartTrainedModelDeploymentaddedcache_size: A byte-size value for configuring the inference cache size. For example, 20mb.Snapshot.Getaddedsort,size,order,from_sort_value,after,offsetandslm_policy_filter. More on these in the documentation.
New API
Security.UpdateAPIKeydocumentation.
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.