Releases: elastic/go-elasticsearch
8.15.0
API
- API is generated from the Elasticsearch 8.15.0 specification.
Typed API
Update APIs to latest elasticsearch-specification 8.15
8.14.0
API
New APIs:
- ConnectorUpdateActiveFiltering Documentation
- ConnectorUpdateFilteringValidation Documentation
- TextStructureFindFieldStructure Documentation
- TextStructureFindMessageStructure Documentation
Typed API
New APIs:
- UpdateTrainedModelDeployment Documentation
Transport
- Fixed a deadlock in the connection pool elastic/elastic-transport-go#20
8.13.1
Typed API
Update APIs to latest elasticsearch-specification 8.13
Fixes
This patch release brings a fix to the initialisation of the Request in endpoints which would prevent using the shortcuts for fields.
Canonical.Request() method was unaffected.
Autoscaling.PutAutoscalingPolicyIndices.DownsampleIndices.PutSettingsIndices.SimulateTemplateInference.PutModelLogstash.PutPipelineMl.ValidateDetectorSearchApplication.Put
8.13.0
API
New APIS:
-
ConnectorSecretGet -
ConnectorSecretPost -
ConnectorSecretPut -
ConnectorSecretDelete -
ConnectorUpdateIndexName -
ConnectorUpdateNative -
ConnectorUpdateStatus -
ConnectorUpdateAPIKeyDocumentID -
ConnectorUpdateServiceDocumentType -
EsqlAsyncQueryDocumentation -
EsqlAsyncQueryGetDocumentation -
ProfilingFlamegraphDocumentation -
ProfilingStacktracesDocumentation -
TextStructureTestGrokPatternDocumentation -
Indices.ResolveClusterDocumentation -
Security.QueryUserDocumentation
Typed API
indices.ResolveClusterDocumentationtextstructure.TestGrokPatternDocumentation
Thanks to @pakio, transport now has an optional pool based compression option. elastic/elastic-transport-go#19
And to @tblyler for fixing a very subtle memory leak in the BulkIndexer. #797
8.12.1
- Fix: ticker memory leak in bulk indexer due to internal flush call resetting the ticker. #797
- Fix: Scroll now uses the body to pass the scroll_id. #785
- Add: generated UnmarshalJSON for Requests to allow injecting payloads using aliases.
Many thanks to @tblyler, @frkntplglu and @HaraldNordgren for their contribution!
8.12.0
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 context will 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_term are now supported thanks to @benjyiw #783
API
SimulateIngestConnectorCheckInConnectorDeleteConnectorGetConnectorLastSyncConnectorListConnectorPostConnectorPutConnectorSyncJobCancelConnectorSyncJobCheckInConnectorSyncJobDeleteConnectorSyncJobErrorConnectorSyncJobGetConnectorSyncJobListConnectorSyncJobPostConnectorSyncJobUpdateStatsConnectorUpdateConfigurationConnectorUpdateErrorConnectorUpdateFilteringConnectorUpdateNameConnectorUpdatePipelineConnectorUpdateScheduling
Typed API
Esql.QuerydocumentationFleet.PostSecretInferencedocumentationDeleteModeldocumentationGetModeldocumentationInferencedocumentationPutModeldocumentation
SearchApplicationGetSettingsdocumentationUpdateSettingsdocumentation
8.11.1
8.11.0
API
Experimental APIs
EsqlQuerydocumentationInferenceDeleteModeldocumentationInferenceGetModeldocumentationInferenceInferencedocumentationInferencePutModeldocumentation
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
FleetDeleteSecretFleetGetSecretFleetPostSecret
Exprimental APIs
QueryRulesetList
Stable APIs
Security.GetSettings
Security.UpdateSettings
Typed API
Exprimental APIs
QueryRuleset.List
Technical Preview
Beta