|
1 | 1 | [[changelog-client]]
|
2 | 2 | == Changelog
|
3 | 3 |
|
| 4 | +=== 7.10.0 |
| 5 | + |
| 6 | +==== Features |
| 7 | + |
| 8 | +===== Support for Elasticsearch `v7.10`. |
| 9 | + |
| 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]. |
| 11 | + |
| 12 | +===== Added proxy support https://github.com/elastic/elasticsearch-js/pull/1260[#1260] |
| 13 | + |
| 14 | +If you need to pass through an http(s) proxy for connecting to Elasticsearch, the client offers |
| 15 | +out of the box a handy configuration for helping you with it. Under the hood it |
| 16 | +uses the https://github.com/delvedor/hpagent[`hpagent`] module. |
| 17 | + |
| 18 | +[source,js] |
| 19 | +---- |
| 20 | +const client = new Client({ |
| 21 | + node: 'http://localhost:9200', |
| 22 | + proxy: 'http://localhost:8080' |
| 23 | +}) |
| 24 | +---- |
| 25 | + |
| 26 | +Basic authentication is supported as well: |
| 27 | + |
| 28 | +[source,js] |
| 29 | +---- |
| 30 | +const client = new Client({ |
| 31 | + node: 'http://localhost:9200', |
| 32 | + proxy: 'http://user:pwd@localhost:8080' |
| 33 | +}) |
| 34 | +---- |
| 35 | + |
| 36 | +==== Fixes |
| 37 | + |
| 38 | +===== Scroll search should clear the scroll at the end https://github.com/elastic/elasticsearch-js/pull/1331[#1331] |
| 39 | + |
| 40 | +From now on the scroll search helper will automatically close the scroll on Elasticsearch, |
| 41 | +by doing so, Elasticsearch will free resources faster. |
| 42 | + |
| 43 | +===== Handle connectivity issues while reading the body https://github.com/elastic/elasticsearch-js/pull/1343[#1343] |
| 44 | + |
| 45 | +It might happen that the underlying socket stops working due to an external cause while reading the body. |
| 46 | +This could lead to an unwanted `DeserialzationError`. From now, this will be handled as a generic `ConnectionError`. |
| 47 | + |
| 48 | +==== Warnings |
| 49 | + |
| 50 | +===== Add warning log about nodejs version support https://github.com/elastic/elasticsearch-js/pull/1349[#1349] |
| 51 | + |
| 52 | +`7.11` will be the last version of the client that will support Node.js v8, while `7.12` will be |
| 53 | +the last one that supports Node.js v12. If you are eusing this versions you will see a |
| 54 | +`DeprecationWaring` in your logs. We strongly recommend to upgrade to newer versions of Node.js |
| 55 | +as usng an EOL version will expose you to securty risks. |
| 56 | + |
| 57 | +Please refer to https://ela.st/nodejs-support[ela.st/nodejs-support] for additional information. |
| 58 | + |
| 59 | + |
4 | 60 | === 7.9.1
|
5 | 61 |
|
6 | 62 | ==== Fixes
|
|
0 commit comments