Skip to content

Releases: elastic/go-elasticsearch

8.11.0

09 Nov 16:20
574564f
Compare
Choose a tag to compare

API

Experimental APIs

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

12 Oct 17:21
76f8e83
Compare
Choose a tag to compare

Typed API

Update APIs to latest elasticsearch-specification 8.10

8.10.0

13 Sep 14:38
3dc9c0d
Compare
Choose a tag to compare

API

Experimental APIs for internal use

  • FleetDeleteSecret
  • FleetGetSecret
  • FleetPostSecret

Exprimental APIs

QueryRulesetList

Stable APIs

Security.GetSettings
Security.UpdateSettings

Typed API

Exprimental APIs

QueryRuleset.List

Technical Preview

Beta

8.9.0

27 Jul 15:57
a3a9de7
Compare
Choose a tag to compare

API

New API

Experimental APIs

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

05 Jul 12:11
d7c2dd8
Compare
Choose a tag to compare

Typed API

  • Fixed deserialization for Suggest in search responses.
  • Fixed double-quoted strings in deserialization for unions normalized as string. #684
  • Fixed handling of core.Get response when the index did not exist. #678

8.8.0

25 May 17:20
6b959bf
Compare
Choose a tag to compare

7.17.10

03 May 15:20
559ea47
Compare
Choose a tag to compare

Transport

  • Fixed an issue with subdirectory in url during retry. (#657)
  • Fixed a deadlock in transport (#603 & #640)

8.7.1

02 May 15:35
d3392de
Compare
Choose a tag to compare

Typed API

  • This release include fixes for responses deserialization. #654 #655

8.7.0

30 Mar 15:57
d28715c
Compare
Choose a tag to compare

API

  • ML.DeleteJob: Added WithDeleteUserAnnotations. Should annotations added by the user be deleted.
  • ML.ResetJob: Added WithDeleteUserAnnotations. Should annotations added by the user be deleted.
  • ML.StartTrainedModelDeployment: Added WithPriority. The deployment priority.
  • TransformGetTransformStats: Added WithTimeout. Controls the time to wait for the stats.
  • TransformStartTransform: Added WithFrom. 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, returns http.Response as did Do.
  • 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 in Hits are now json.RawMessage to highlight they later deserializable nature.

AdditionalProperties, like the ones found in multi-bucket aggregations, are not yet supported.

8.6.0

11 Jan 15:15
3804ea7
Compare
Choose a tag to compare

API

  • ML.StartTrainedModelDeployment: Added WithPriority

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 !