Skip to content

Releases: elastic/go-elasticsearch

7.15.0

23 Sep 08:48
Compare
Choose a tag to compare

Client

  • Body compression can now be enabled in the client via the CompressRequestBody config option. Thank you @bschofield for this contribution !

API

7.14.0

04 Aug 08:19
Compare
Choose a tag to compare

Client

Starting in v7.14.0 the client performs a required product check before the first API call is executed. This product check allows the client to establish that it’s communicating with a supported Elasticsearch cluster.

The product check requires a single HTTP request to the info API. In most cases this request will succeed quickly and then no further product check HTTP requests will be sent.

API

  • New APIs:

    • ILM
      • MigrateToDataTiers
    • ML
      • ResetJob
    • SAML
      • SamlAuthenticate
      • SamlCompleteLogout
      • SamlInvalidate
      • SamlLogout
      • SamlPrepareAuthentication
      • SamlServiceProviderMetadata
    • SQL
      • DeleteAsync
      • GetAsync
      • GetAsyncStatus
  • New Beta API:

7.13.1

02 Jun 16:45
Compare
Choose a tag to compare

X-Pack

  • New API:
    • SnapshotRepositoryAnalyze

7.13.0

25 May 15:53
Compare
Choose a tag to compare

Client

  • Adds support for compatibility header for Elasticsearch. If the environment variable 'ELASTIC_CLIENT_APIVERSIONING' is set to true or 1, the client will send the headers Accept and Content-Type with the following value: application/vnd.elasticsearch+json;compatible-with=7.
  • Favor POST method when only GET & POST method are available to prevent goroutine leak. #250
  • Filter master only nodes in discovery. #256

API

  • New APIs:

    • FeaturesResetFeatures
    • IngestGeoIPStats
  • New experimental APIs:

    • ShutdownGetNode
    • ShutdownPutNode
    • ShutdownDeleteNode

X-Pack

  • New APIs:

    • MLDeleteTrainedModelAlias
    • MLPreviewDataFrameAnalytics
    • MLPutTrainedModelAlias
  • APIs promoted to stable:

    • TextStructureFindStructure
    • MLDeleteDataFrameAnalytics
    • MLDeleteTrainedModel
    • MLEvaluateDataFrame
    • MLExplainDataFrameAnalytics
    • MLGetDataFrameAnalytics
    • MLGetDataFrameAnalyticsStats
    • MLGetTrainedModels
    • MLGetTrainedModelsStats
    • MLPutDataFrameAnalytics
    • MLPutTrainedModel
    • MLStartDataFrameAnalytics
    • MLStopDataFrameAnalytics
    • MLUpdateDataFrameAnalytics
  • New Beta APIs:

    • SecurityCreateServiceToken,
    • SecurityClearCachedServiceTokens
    • SecurityDeleteServiceToken,
    • SecurityGetServiceAccounts,
    • SecurityGetServiceCredentials,
  • New experimental APIs:

    • SearchableSnapshotsCacheStats,

7.12.0

23 Mar 17:31
Compare
Choose a tag to compare

Transport

  • Added the X-Elastic-Client-Meta HTTP header (#240)
  • Fixed of by one error in the retry mechanism of the client (#242)

API

New

  • GetFeatures within Snapshot.GetFeatures & FeaturesGetFeatures

Added

  • Search with MinCompatibleShardNode - the minimum compatible version that all shards involved in search should have for this request to be successful.

X-Pack

New

  • EqlGetStatus - Returns the status of a previously submitted async or stored Event Query Language (EQL) search
  • Logstash with LogstashGetPipeline LogstashPutPipeline and LogstashDeletePipeline More info
  • TextStructureFindStructure - Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.
  • AutoscalingGetAutoscalingPolicy, AutoscalingPutAutoscalingPolicy, AutoscalingDeleteAutoscalingPolicy and AutoscalingGetAutoscalingCapacity are promoted stable

Added

  • SearchableSnapshotsStats with WithLevel - return stats aggregated at cluster, index or shard level.
  • SearchableSnapshotsMount with WithStorage - selects the kind of local storage used to accelerate searches. experimental, and defaults to full_copy.

7.11.0

16 Feb 09:00
Compare
Choose a tag to compare
  • Updated APIs for Elasticsearch 7.11

7.10.0

12 Nov 14:17
Compare
Choose a tag to compare
  • Updated APIs for Elasticsearch 7.10
  • Fixed capitalization of UUID values

7.9.0

19 Aug 07:45
Compare
Choose a tag to compare
  • Updated APIs for Elasticsearch 7.9
  • Util: Reinstate item.Body after it is consumed in BulkIndexer
  • Transport: Fix memory leak when retrying 5xx responses
  • Fixes and improvements to the test generator

v7.8.0

18 Jun 15:24
Compare
Choose a tag to compare
  • Updated APIs for Elasticsearch 7.8.0

v7.7.0

14 May 10:47
Compare
Choose a tag to compare
  • API: Add convenience method for accessing the deprecation warnings in the response headers
  • Transport: Add the CACert global configuration option
  • Transport: Add support for global request headers
  • Util: Add the BulkIndexer helper; see example
  • Examples: Add examples and benchmarks for the BulkIndexer helper
  • CI: Add workflows for Github Actions
  • CI: Remove Travis CI
  • Generator: Tests: Fixes and improvements
  • Generator: Source: Updates and improvements