Changelog for 7.10 (#1348)
This commit is contained in:
committed by
GitHub
parent
6e61ae236c
commit
27458b39b1
@ -1,6 +1,62 @@
|
||||
[[changelog-client]]
|
||||
== Changelog
|
||||
|
||||
=== 7.10.0
|
||||
|
||||
==== Features
|
||||
|
||||
===== Support for Elasticsearch `v7.10`.
|
||||
|
||||
You can find all the API changes https://www.elastic.co/guide/en/elasticsearch/reference/7.10/release-notes-7.10.0.html[here].
|
||||
|
||||
===== Added proxy support https://github.com/elastic/elasticsearch-js/pull/1260[#1260]
|
||||
|
||||
If you need to pass through an http(s) proxy for connecting to Elasticsearch, the client offers
|
||||
out of the box a handy configuration for helping you with it. Under the hood it
|
||||
uses the https://github.com/delvedor/hpagent[`hpagent`] module.
|
||||
|
||||
[source,js]
|
||||
----
|
||||
const client = new Client({
|
||||
node: 'http://localhost:9200',
|
||||
proxy: 'http://localhost:8080'
|
||||
})
|
||||
----
|
||||
|
||||
Basic authentication is supported as well:
|
||||
|
||||
[source,js]
|
||||
----
|
||||
const client = new Client({
|
||||
node: 'http://localhost:9200',
|
||||
proxy: 'http://user:pwd@localhost:8080'
|
||||
})
|
||||
----
|
||||
|
||||
==== Fixes
|
||||
|
||||
===== Scroll search should clear the scroll at the end https://github.com/elastic/elasticsearch-js/pull/1331[#1331]
|
||||
|
||||
From now on the scroll search helper will automatically close the scroll on Elasticsearch,
|
||||
by doing so, Elasticsearch will free resources faster.
|
||||
|
||||
===== Handle connectivity issues while reading the body https://github.com/elastic/elasticsearch-js/pull/1343[#1343]
|
||||
|
||||
It might happen that the underlying socket stops working due to an external cause while reading the body.
|
||||
This could lead to an unwanted `DeserialzationError`. From now, this will be handled as a generic `ConnectionError`.
|
||||
|
||||
==== Warnings
|
||||
|
||||
===== Add warning log about nodejs version support https://github.com/elastic/elasticsearch-js/pull/1349[#1349]
|
||||
|
||||
`7.11` will be the last version of the client that will support Node.js v8, while `7.12` will be
|
||||
the last one that supports Node.js v12. If you are eusing this versions you will see a
|
||||
`DeprecationWaring` in your logs. We strongly recommend to upgrade to newer versions of Node.js
|
||||
as usng an EOL version will expose you to securty risks.
|
||||
|
||||
Please refer to https://ela.st/nodejs-support[ela.st/nodejs-support] for additional information.
|
||||
|
||||
|
||||
=== 7.9.1
|
||||
|
||||
==== Fixes
|
||||
|
||||
Reference in New Issue
Block a user