Update module github.com/elastic/go-elasticsearch/v8 to v8.19.0 #88
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v8.1.0->v8.19.0Release Notes
elastic/go-elasticsearch (github.com/elastic/go-elasticsearch/v8)
v8.19.0: 8.19.0Compare Source
API
Typed API
v8.18.1: 8.18.1Compare Source
TypedClient, you should update to this version.v8.18.0: 8.18.0Compare Source
elastictransportto8.7.0.TypedClientcan now be used in theBulkIndexer.New
BaseClientconstructor with no attached APIs, allowing it to be used purely as a transport layer instead of a full-featured API client.API
Typed API
v8.17.1Compare Source
Thanks to @AkisAya and @jmfrees for their contributions!
v8.17.0Compare Source
API
Updated APIs to 8.17.0
Typed API
Update APIs to latest elasticsearch-specification 8.17
v8.16.0Compare Source
API
InferenceStreamInferenceDocumentationQueryRulesTestDocumentationIngest.DeleteIPLocationDatabaseDocumentationIngest.GetIPLocationDatabaseDocumentationIngest.PutIPLocationDatabaseDocumentationTyped API
Update APIs to latest elasticsearch-specification 8.16
v8.15.0: 8.15.0Compare Source
API
Typed API
Update APIs to latest elasticsearch-specification 8.15
v8.14.0: 8.14.0Compare Source
API
New APIs:
Typed API
New APIs:
Transport
v8.13.1: 8.13.1Compare Source
Typed API
Update APIs to latest elasticsearch-specification 8.13
Fixes
This patch release brings a fix to the initialisation of the
Requestin endpoints which would prevent using the shortcuts for fields.Canonical
.Request()method was unaffected.Autoscaling.PutAutoscalingPolicyIndices.DownsampleIndices.PutSettingsIndices.SimulateTemplateInference.PutModelLogstash.PutPipelineMl.ValidateDetectorSearchApplication.Putv8.13.0: 8.13.0Compare Source
API
New APIS:
ConnectorSecretGetConnectorSecretPostConnectorSecretPutConnectorSecretDeleteConnectorUpdateIndexNameConnectorUpdateNativeConnectorUpdateStatusConnectorUpdateAPIKeyDocumentIDConnectorUpdateServiceDocumentTypeEsqlAsyncQueryDocumentationEsqlAsyncQueryGetDocumentationProfilingFlamegraphDocumentationProfilingStacktracesDocumentationTextStructureTestGrokPatternDocumentationIndices.ResolveClusterDocumentationSecurity.QueryUserDocumentationTyped API
indices.ResolveClusterDocumentationtextstructure.TestGrokPatternDocumentationThanks to @pakio, transport now has an optional pool based compression option. https://github.com/elastic/elastic-transport-go/pull/19
And to @tblyler for fixing a very subtle memory leak in the
BulkIndexer. #797v8.12.1: 8.12.1Compare Source
Many thanks to @tblyler, @frkntplglu and @HaraldNordgren for their contribution!
v8.12.0: 8.12.0Compare Source
Client
Golang version
The client now requires Golang version 1.20
OpenTelemetry
The client now provides OpenTelemetry integration. This integration can be enabled in the config using the
elasticsearch.NewOpenTelemetryInstrumentation.Once set up, the provided
contextwill be used to record spans with useful information about the request being made to the server.More about what you can expect in the Semantic Conventions for Elasticsearch.
BulkIndexer
if_seq_no&if_primary_termare now supported thanks to @benjyiw #783API
SimulateIngestConnectorCheckInConnectorDeleteConnectorGetConnectorLastSyncConnectorListConnectorPostConnectorPutConnectorSyncJobCancelConnectorSyncJobCheckInConnectorSyncJobDeleteConnectorSyncJobErrorConnectorSyncJobGetConnectorSyncJobListConnectorSyncJobPostConnectorSyncJobUpdateStatsConnectorUpdateConfigurationConnectorUpdateErrorConnectorUpdateFilteringConnectorUpdateNameConnectorUpdatePipelineConnectorUpdateSchedulingTyped API
Esql.QuerydocumentationFleet.PostSecretInferencedocumentationDeleteModeldocumentationGetModeldocumentationInferencedocumentationPutModeldocumentationSearchApplicationGetSettingsdocumentationUpdateSettingsdocumentationv8.11.1: 8.11.1Compare Source
Typed API
indices.PutSettingsv8.11.0: 8.11.0Compare Source
API
Experimental APIs
EsqlQuerydocumentationInferenceDeleteModeldocumentationInferenceGetModeldocumentationInferenceInferencedocumentationInferencePutModeldocumentationTyped API
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.
v8.10.1: 8.10.1Compare Source
Typed API
Update APIs to latest elasticsearch-specification 8.10
v8.10.0: 8.10.0Compare Source
API
Experimental APIs for internal use
FleetDeleteSecretFleetGetSecretFleetPostSecretExprimental APIs
QueryRulesetListStable APIs
Security.GetSettingsSecurity.UpdateSettingsTyped API
Exprimental APIs
QueryRuleset.ListTechnical Preview
Beta
v8.9.0: 8.9.0Compare Source
API
New API
Cluster.InfoDocumentationExperimental APIs
QueryRulesetGetDocumentationQueryRulesetDeleteDocumentationQueryRulesetPutDocumentationSearchApplicationRenderQueryDocumentationSecurity.CreateCrossClusterAPIKeyDocumentationSecurity.UpdateCrossClusterAPIKeyDocumentationTyped API
core.exists.core.bulk.fixes
Property&Analyzer#696v8.8.2: 8.8.2Compare Source
Typed API
Suggestin search responses.core.Getresponse when the index did not exist. #678v8.8.1Compare Source
v8.8.0: 8.8.0Compare Source
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.htmlExperimental APIs
ML.DeleteDataLifecycleDocumentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-delete-lifecycle.htmlML.ExplainDataLifecycleDocumentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-explain-lifecycle.htmlML.GetDataLifecycleDocumentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-get-lifecycle.htmlML.PutDataLifecycleDocumentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/dlm-put-lifecycle.htmlSearchApplicationshttps://www.elastic.co/guide/en/elasticsearch/reference/8.8/search-application-apis.htmlv8.7.1: 8.7.1Compare Source
Typed API
v8.7.0: 8.7.0Compare Source
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
TransformScheduleNowTransformdocumentation.HealthReportdocumentation.Typed API
Changes
Domethod on endpoints now return a typed response, one per endpoint.Performmethod added on endpoints, returnshttp.Responseas didDo.types.ElasticsearchErrorwith.Asand.Ismethods..Rawnow takes a reader as input._sourceinHitsare nowjson.RawMessageto highlight they later deserializable nature.AdditionalProperties, like the ones found in multi-bucket aggregations, are not yet supported.
v8.6.0: 8.6.0Compare Source
API
ML.StartTrainedModelDeployment: AddedWithPriorityNew 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 !
v8.5.0: 8.5.0Compare Source
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.UpdateUserProfileDataNew APIs
ML.ClearTrainedModelDeploymentCachedocumentation.Security.BulkUpdateAPIKeysdocumentation.Indices.Downsample(Experimental API) documentationTyped 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
somethat 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
alphastage while its development continues.v8.4.0: 8.4.0Compare Source
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
alphastage and will be release alongside the existingesapi.A few examples of standard use-cases can be found in the TypedAPI section of the documentation.
v8.3.0: 8.3.0Compare Source
API
ML.InferTrainedModelDeploymentrenamed toInferTrainedModelML.PreviewDatafeedhas two new parameters,startandend. DocumentationML.StartTrainedModelDeploymenthas three new parameters,number_of_allocations,threads_per_allocationandqueue_capacity. DocumentationCluster.DeleteVotingConfigExclusionshas a newmaster_timeoutparameter.Cluster.PostVotingConfigExclusionshas a newmaster_timeoutparameter.Snapshot.Gethas a newindex_namesparameters (boolean). Whether to include the name of each index in the snapshot. Defaults to true.New APIs
Security.HasPrivilegesUserProfile(Experimental API) Documentationv8.2.0: 8.2.0Compare Source
Client
retry_on_conflictin the BulkIndexer. Thanks to @lpflpf for the help!API
New APIs
Cat.ComponentTemplatesML.GetMemoryStatsdocumentationSecurity.activateUserProfile(Experimental API) DocumentationSecurity.disableUserProfile(Experimental API) DocumentationSecurity.enableUserProfile(Experimental API) DocumentationSecurity.getUserProfile(Experimental API) DocumentationSecurity.suggestUserProfiles(Experimental API) DocumentationSecurity.updateUserProfileData(Experimental API) DocumentationConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.