Skip to content

Releases: elastic/go-elasticsearch

v8.17.1

11 Feb 15:55
ef056fb
Compare
Choose a tag to compare
  • Update elastictransport to 8.6.1 fixes #912

Thanks to @AkisAya and @jmfrees for their contributions!

v8.17.0

17 Dec 18:37
0e1af01
Compare
Choose a tag to compare

API

Updated APIs to 8.17.0

Typed API

Update APIs to latest elasticsearch-specification 8.17

v8.16.0

14 Nov 17:23
dc85fa6
Compare
Choose a tag to compare

API

Typed API

Update APIs to latest elasticsearch-specification 8.16

8.15.0

14 Nov 17:22
6ee14eb
Compare
Choose a tag to compare

API

  • API is generated from the Elasticsearch 8.15.0 specification.

Typed API

Update APIs to latest elasticsearch-specification 8.15

8.14.0

06 Jun 15:02
bb39a5b
Compare
Choose a tag to compare

API

New APIs:

Typed API

New APIs:

Transport

8.13.1

11 Apr 15:25
ad2fc50
Compare
Choose a tag to compare

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.PutAutoscalingPolicy
  • Indices.Downsample
  • Indices.PutSettings
  • Indices.SimulateTemplate
  • Inference.PutModel
  • Logstash.PutPipeline
  • Ml.ValidateDetector
  • SearchApplication.Put

8.13.0

27 Mar 14:25
0ce9bb8
Compare
Choose a tag to compare

API

New APIS:

  • ConnectorSecretGet

  • ConnectorSecretPost

  • ConnectorSecretPut

  • ConnectorSecretDelete

  • ConnectorUpdateIndexName

  • ConnectorUpdateNative

  • ConnectorUpdateStatus

  • ConnectorUpdateAPIKeyDocumentID

  • ConnectorUpdateServiceDocumentType

  • EsqlAsyncQuery Documentation

  • EsqlAsyncQueryGet Documentation

  • ProfilingFlamegraph Documentation

  • ProfilingStacktraces Documentation

  • TextStructureTestGrokPattern Documentation

  • Indices.ResolveCluster Documentation

  • Security.QueryUser Documentation

Typed API

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

22 Feb 15:07
bb80ad8
Compare
Choose a tag to compare
  • 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

18 Jan 15:23
4deea2a
Compare
Choose a tag to compare

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

  • SimulateIngest
  • ConnectorCheckIn
  • ConnectorDelete
  • ConnectorGet
  • ConnectorLastSync
  • ConnectorList
  • ConnectorPost
  • ConnectorPut
  • ConnectorSyncJobCancel
  • ConnectorSyncJobCheckIn
  • ConnectorSyncJobDelete
  • ConnectorSyncJobError
  • ConnectorSyncJobGet
  • ConnectorSyncJobList
  • ConnectorSyncJobPost
  • ConnectorSyncJobUpdateStats
  • ConnectorUpdateConfiguration
  • ConnectorUpdateError
  • ConnectorUpdateFiltering
  • ConnectorUpdateName
  • ConnectorUpdatePipeline
  • ConnectorUpdateScheduling

Typed API

8.11.1

27 Nov 17:59
Compare
Choose a tag to compare

Typed API

  • Fix #756 preventing from settings indices in indices.PutSettings