Drop Node.js v6 support (#818)

Node.js v6 will go EOL at the end of April 2019, and already two of the production dependencies of the client have already dropped support for it, and soon others will do *(as well as development dependencies)*.

Furthermore, since Node.js will go in EOL it will never get security patches, plus, also OpenSSL-1.0.2 will go EOL [this year](https://github.com/nodejs/Release#release-schedule); to avoid risks for the client users it is better to drop support for Node.js v6 right away.
This commit is contained in:
Tomas Della Vedova
2019-04-17 07:55:18 +02:00
committed by GitHub
parent 28c0f2eeae
commit 72fda2bdd5
7 changed files with 28 additions and 19 deletions

View File

@ -9,7 +9,7 @@ Every breaking change was carefully weighed, and each is justified. Furthermore,
=== Breaking changes
* Minimum supported version of Node.js is `v6`.
* Minimum supported version of Node.js is `v8`.
* Everything has been rewritten using ES6 classes to help users extend the defaults more easily.

View File

@ -18,6 +18,7 @@ npm install @elastic/elasticsearch
----
=== Compatibility
The minimum supported version of Node.js is `v8`.
The library is compatible with all Elasticsearch versions since 5.x, but you should use the same major version of the Elasticsearch instance that you are using.
----
@ -50,4 +51,4 @@ client.search({
}, (err, result) => {
if (err) console.log(err)
})
----
----