Releases: elastic/go-elasticsearch
Releases · elastic/go-elasticsearch
7.15.1
Client
- Allow User-Agent override via the
userAgentHeaderheader. Credit goes to @aleksmaus!
7.15.0
Client
- Body compression can now be enabled in the client via the
CompressRequestBodyconfig option. Thank you @bschofield for this contribution !
API
-
New APIs:
- Security
- QueryAPIKeys documentation
- Security
-
New Experimental API:
- Indices
- DiskUsage documentation
- FieldUsageStats documentation
- Nodes
- ClearRepositoriesMeteringArchive documentation
- GetRepositoriesMeteringInfo documentation
- SearchMvt documentation
- Indices
7.14.0
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
- ILM
-
New Beta API:
- TermsEnum, see documentation
7.13.1
X-Pack
- New API:
SnapshotRepositoryAnalyze
7.13.0
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
POSTmethod when onlyGET&POSTmethod are available to prevent goroutine leak. #250 - Filter master only nodes in discovery. #256
API
-
New APIs:
FeaturesResetFeaturesIngestGeoIPStats
-
New experimental APIs:
ShutdownGetNodeShutdownPutNodeShutdownDeleteNode
X-Pack
-
New APIs:
MLDeleteTrainedModelAliasMLPreviewDataFrameAnalyticsMLPutTrainedModelAlias
-
APIs promoted to stable:
TextStructureFindStructureMLDeleteDataFrameAnalyticsMLDeleteTrainedModelMLEvaluateDataFrameMLExplainDataFrameAnalyticsMLGetDataFrameAnalyticsMLGetDataFrameAnalyticsStatsMLGetTrainedModelsMLGetTrainedModelsStatsMLPutDataFrameAnalyticsMLPutTrainedModelMLStartDataFrameAnalyticsMLStopDataFrameAnalyticsMLUpdateDataFrameAnalytics
-
New Beta APIs:
SecurityCreateServiceToken,SecurityClearCachedServiceTokensSecurityDeleteServiceToken,SecurityGetServiceAccounts,SecurityGetServiceCredentials,
-
New experimental APIs:
SearchableSnapshotsCacheStats,
7.12.0
Transport
- Added the
X-Elastic-Client-MetaHTTP header (#240) - Fixed of by one error in the retry mechanism of the client (#242)
API
New
GetFeatureswithinSnapshot.GetFeatures&FeaturesGetFeatures
Added
SearchwithMinCompatibleShardNode- 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) searchLogstashwithLogstashGetPipelineLogstashPutPipelineandLogstashDeletePipelineMore infoTextStructureFindStructure- Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.AutoscalingGetAutoscalingPolicy,AutoscalingPutAutoscalingPolicy,AutoscalingDeleteAutoscalingPolicyandAutoscalingGetAutoscalingCapacityare promotedstable
Added
SearchableSnapshotsStatswithWithLevel- return stats aggregated at cluster, index or shard level.SearchableSnapshotsMountwithWithStorage- selects the kind of local storage used to accelerate searches. experimental, and defaults tofull_copy.
7.11.0
- Updated APIs for Elasticsearch 7.11
7.10.0
- Updated APIs for Elasticsearch 7.10
- Fixed capitalization of UUID values