Skip to content

Commit bc519f0

Browse files
committed
Add changelog file
1 parent 42c5d57 commit bc519f0

File tree

1 file changed

+274
-0
lines changed

1 file changed

+274
-0
lines changed

CHANGELOG.md

Lines changed: 274 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,274 @@
1+
#v7.17.0
2+
3+
## Client
4+
5+
* Fixed a race condition on metrics in transport [#397](https://github.com/elastic/go-elasticsearch/pull/397), thanks @mainliufeng !
6+
* The client will now return an error if a required arguments is passed as a nil value. [#201](https://github.com/elastic/go-elasticsearch/issues/201)
7+
* API is compatible with Elasticsearch 7.17.0
8+
9+
#v8.0.0-alpha
10+
11+
## Client
12+
13+
### Elastic Transport
14+
* This is the first release using the all new `elastictransport` which now lives in the [elastic-transport-go](https://github.com/elastic/elastic-transport-go/) repository. The goal is to allow for reuse between this and future Go clients.
15+
### API
16+
* Changed the `Body` parameter for `BulkIndexerItem` in favor of `io.ReadSeeker` to lower memory consumption when using the `esutil.BulkIndexer`.
17+
* Replaced the `Config` option `RetryOnTimeout` in favor of a new `RetryOnError` function which allows to dynamically chose what error should be retried."
18+
19+
#v7.16.0
20+
21+
# Client
22+
* Adds versioning and routing options to the `BulkIndexer`. Thanks to @mehran-prs and @munkyboy !
23+
24+
* Adds CA fingerprinting. You can configure the client to only trust certificates that are signed by a specific CA certificate (CA certificate pinning) by providing a ca_fingerprint option. This will verify that the fingerprint of the CA certificate that has signed the certificate of the server matches the supplied value:
25+
```go
26+
elasticsearch.NewClient(Config{
27+
Addresses: []string{\"https://elastic:changeme@localhost:9200\"},
28+
CertificateFingerprint: \"A6FB224A4386...\"
29+
})
30+
```
31+
# API
32+
33+
* New APIs:
34+
* ModifyDataStream, [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html)
35+
* TransformUpgradeTransforms, [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/upgrade-transforms.html)
36+
* Migration.GetFeatureUpgradeStatus, [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-feature-upgrade.html)
37+
* Migration.PostFeatureUpgrade, [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-feature-upgrade.html)
38+
39+
40+
* New **Experimental** API:
41+
42+
* FleetSearch, [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/7.16/fleet-search.html)
43+
* FleetMsearch, [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/7.16/fleet-multi-search.html)
44+
45+
46+
* Changes:
47+
* DeleteByQuery
48+
* Removed _source, _source_excludes, _source_includes parameters.
49+
* UpdateByQuery
50+
* Removed _source, _source_excludes, _source_includes parameters.
51+
* OpenPointInTime
52+
* The parameter keep_alive is now required.
53+
* SearchMvt
54+
* Added TrackTotalHits, Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.
55+
* IngestPutPipeline
56+
* Added WithIfVersion, required version for optimistic concurrency control for pipeline updates.
57+
* IndicesGetIndexTemplate
58+
* WithName, a pattern that returned template names must match.
59+
* NodesHotThreads
60+
* WithSort, the sort order for 'cpu' type (default: total).
61+
* MLPutTrainedModel
62+
* WithDeferDefinitionDecompression, if set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.
63+
* TransformDeleteTransform
64+
* WithTimeout, controls the time to wait for the transform deletion.
65+
* TransformPutTransform
66+
* WithTimeout, controls the time to wait for the transform to start.
67+
* TransformUpdateTransform
68+
* WithTimeout, controls the time to wait for the update.
69+
70+
* Promoted to stable:
71+
* FleetGlobalCheckpoints
72+
* GetScriptContext
73+
* GetScriptLanguages
74+
* IndicesResolveIndex
75+
* MonitoringBulk
76+
* RankEval
77+
* SearchableSnapshotsMount
78+
* SearchableSnapshotsStats
79+
* SecurityClearCachedServiceTokens
80+
* SecurityCreateServiceToken
81+
* SecurityDeleteServiceToken
82+
* SecurityGetServiceAccounts
83+
* SecurityGetServiceCredentials
84+
* ShutdownDeleteNode
85+
* ShutdownGetNode
86+
* ShutdownPutNode
87+
* TermsEnum"
88+
89+
#v7.15.1
90+
91+
# Client
92+
* Allow User-Agent override via the `userAgentHeader` header. Credit goes to @aleksmaus! "
93+
94+
#v7.15.0
95+
96+
# Client
97+
* Body compression can now be enabled in the client via the `CompressRequestBody` config option. Thank you @bschofield for this contribution !
98+
* # API
99+
100+
* New APIs:
101+
* Security
102+
* QueryAPIKeys [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-api-query-api-key.html)
103+
104+
* New **Experimental** API:
105+
* Indices
106+
* DiskUsage [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-disk-usage.html)
107+
* FieldUsageStats [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/field-usage-stats.html)
108+
* Nodes
109+
* ClearRepositoriesMeteringArchive [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/clear-repositories-metering-archive-api.html)
110+
* GetRepositoriesMeteringInfo [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/get-repositories-metering-api.html)
111+
* SearchMvt [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html)"
112+
113+
#v7.14.0
114+
115+
# Client
116+
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.
117+
118+
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.
119+
120+
# API
121+
* New APIs:
122+
* ILM
123+
* MigrateToDataTiers
124+
* ML
125+
* ResetJob
126+
* SAML
127+
* SamlAuthenticate
128+
* SamlCompleteLogout
129+
* SamlInvalidate
130+
* SamlLogout
131+
* SamlPrepareAuthentication
132+
* SamlServiceProviderMetadata
133+
* SQL
134+
* DeleteAsync
135+
* GetAsync
136+
* GetAsyncStatus
137+
138+
* New **Beta** API:
139+
* TermsEnum, [see documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html)
140+
141+
142+
#v7.13.1
143+
144+
# X-Pack
145+
* New API:
146+
* `SnapshotRepositoryAnalyze`"
147+
148+
#v7.13.0
149+
150+
# Client
151+
* 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.
152+
* Favor `POST` method when only `GET` & `POST` method are available to prevent goroutine leak. https://github.com/elastic/go-elasticsearch/issues/250
153+
* Filter master only nodes in discovery. https://github.com/elastic/go-elasticsearch/issues/256
154+
155+
# API
156+
157+
* New APIs:
158+
* `FeaturesResetFeatures`
159+
* `IngestGeoIPStats`
160+
161+
* New experimental APIs:
162+
* `ShutdownGetNode`
163+
* `ShutdownPutNode`
164+
* `ShutdownDeleteNode`
165+
166+
# X-Pack
167+
168+
* New APIs:
169+
* `MLDeleteTrainedModelAlias`
170+
* `MLPreviewDataFrameAnalytics`
171+
* `MLPutTrainedModelAlias`
172+
173+
* APIs promoted to stable:
174+
* `TextStructureFindStructure`
175+
* `MLDeleteDataFrameAnalytics`
176+
* `MLDeleteTrainedModel`
177+
* `MLEvaluateDataFrame`
178+
* `MLExplainDataFrameAnalytics`
179+
* `MLGetDataFrameAnalytics`
180+
* `MLGetDataFrameAnalyticsStats`
181+
* `MLGetTrainedModels`
182+
* `MLGetTrainedModelsStats`
183+
* `MLPutDataFrameAnalytics`
184+
* `MLPutTrainedModel`
185+
* `MLStartDataFrameAnalytics`
186+
* `MLStopDataFrameAnalytics`
187+
* `MLUpdateDataFrameAnalytics`
188+
189+
* New Beta APIs:
190+
* `SecurityCreateServiceToken`
191+
* `SecurityClearCachedServiceTokens`
192+
* `SecurityDeleteServiceToken`
193+
* `SecurityGetServiceAccounts`
194+
* `SecurityGetServiceCredentials`
195+
196+
* New experimental APIs:
197+
* `SearchableSnapshotsCacheStats`
198+
199+
#v7.12.0
200+
201+
# Transport
202+
* Added the `X-Elastic-Client-Meta` HTTP header (#240)
203+
* Fixed of by one error in the retry mechanism of the client (#242)
204+
205+
# API
206+
## New
207+
* `GetFeatures` within `Snapshot.GetFeatures` & `FeaturesGetFeatures`
208+
209+
## Added
210+
* `Search` with `MinCompatibleShardNode` - the minimum compatible version that all shards involved in search should have for this request to be successful.
211+
212+
# X-Pack
213+
## New
214+
* `EqlGetStatus` - Returns the status of a previously submitted async or stored Event Query Language (EQL) search
215+
* `Logstash` with `LogstashGetPipeline` `LogstashPutPipeline` and `LogstashDeletePipeline` [More info](https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-apis.html)
216+
* `TextStructureFindStructure` - Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.
217+
* `AutoscalingGetAutoscalingPolicy`, `AutoscalingPutAutoscalingPolicy`, `AutoscalingDeleteAutoscalingPolicy` and `AutoscalingGetAutoscalingCapacity` are promoted `stable`
218+
219+
## Added
220+
* `SearchableSnapshotsStats` with `WithLevel` - return stats aggregated at cluster, index or shard level.
221+
* `SearchableSnapshotsMount` with `WithStorage` - selects the kind of local storage used to accelerate searches. experimental, and defaults to `full_copy`.
222+
223+
224+
#v7.11.0
225+
226+
* Updated APIs for Elasticsearch 7.11"
227+
228+
#v7.10.0
229+
230+
* Updated APIs for Elasticsearch 7.10
231+
* Fixed capitalization of UUID values"
232+
233+
#v7.9.0
234+
235+
* Updated APIs for Elasticsearch 7.9
236+
* Util: Reinstate item.Body after it is consumed in BulkIndexer
237+
* Transport: Fix memory leak when retrying 5xx responses
238+
* Fixes and improvements to the test generator
239+
240+
#v7.8.0
241+
242+
* Updated APIs for Elasticsearch 7.8.0
243+
244+
#v7.7.0
245+
246+
* API: Add convenience method for accessing the deprecation warnings in the response headers
247+
* Transport: Add the CACert global configuration option
248+
* Transport: Add support for global request headers
249+
* Util: Add the BulkIndexer helper; see [example](https://github.com/elastic/go-elasticsearch/tree/master/_examples/bulk#indexergo)
250+
* Examples: Add examples and benchmarks for the BulkIndexer helper
251+
* CI: Add workflows for Github Actions
252+
* CI: Remove Travis CI
253+
* Generator: Tests: Fixes and improvements
254+
* Generator: Source: Updates and improvements"
255+
256+
#v7.6.0
257+
258+
* Ignore the ELASTICSEARCH_URL variable when address is passed in configuration
259+
* Retry on EOF errors"
260+
261+
#v6.8.5
262+
263+
* Support for Elasticsearch 6.8.5 APIs
264+
* Add support for request retries
265+
* Add connection state management
266+
* Add support for node discovery in client
267+
268+
#v7.5.0
269+
270+
* Support for Elasticsearch 7.5 APIs
271+
* Add support for request retries
272+
* Add connection state management
273+
* Add support for node discovery in client
274+

0 commit comments

Comments
 (0)