diff --git a/HOWTO_RELEASE b/HOWTO_RELEASE index f147f500..2701a545 100644 --- a/HOWTO_RELEASE +++ b/HOWTO_RELEASE @@ -1,12 +1,9 @@ 1. Test (make clean all check), fix if broken before proceeding -2. Ensure proper version in package.json +2. Ensure proper version in package.json and package-lock.json 3. Ensure NEWS section exists for the new version, review it, add release date -4. Drop npm-shrinkwrap.json -5. Run npm shrinkwrap to recreate npm-shrinkwrap.json -6. Commit package.json, npm-shrinwrap.json, NEWS -7. git tag -a Major.Minor.Patch # use NEWS section as content -8. Announce on cartodb@googlegroups.com -9. Stub NEWS/package for next version +4. Commit package.json, npm-shrinwrap.json, NEWS +5. git tag -a Major.Minor.Patch # use NEWS section as content +6. Stub NEWS/package for next version Versions: diff --git a/NEWS.md b/NEWS.md index 480f4a40..9af0c936 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,8 +1,13 @@ # Changelog +**Deprecation warning**: Next major release will drop support for `Node.js 6 LTS` and `npm 3.x`. You'll be able to use the latest ES features as soon as we release 3.0.0. In the meantime, as a developer, you should keep compatibility with Node.js 6 LTS and keep updated both `package-lock.json` and `npm-shrinkwrap.json` files. + ## 2.3.2 Released 2018-mm-dd +Announcements: + * Update docs: compatible Node.js and npm versions + ## 2.3.1 Released 2018-12-23 diff --git a/README.md b/README.md index 1dba61e0..5dc17c33 100644 --- a/README.md +++ b/README.md @@ -11,19 +11,27 @@ Provides a node.js based API for running SQL queries against CartoDB. core requirements ----------------- +* Node >= 10.14.2 or 6.9.2 +* npm >= 6.4.1 || 3.10.9 || 3.10.10 * Postgres `9.3+`. * Postgis `2.2`. * [CartoDB Postgres Extension](https://github.com/CartoDB/cartodb-postgresql/blob/0.19.2/README.md) `0.19+`. * GDAL `1.11.0` (bin utils). See [installing GDAL](http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries) * zip commandline tool. * Redis `3`, recommended reversion `3.0.2`. -* Node.js `6`, recommended reversion `6.9.2`. -* npm `3`, recommended version `3.10.9`. Install dependencies -------------------- +- Node.js >= 10.14.2: +``` +$ mv npm-shrinkwrap.json npm-shrinkwrap.json.backup +$ npm ci +$ mv npm-shrinkwrap.json.backup npm-shrinkwrap.json +``` + +- Node.js 6.9.2: ```sh npm install ``` diff --git a/package.json b/package.json index 6b68f62f..fc7ef15a 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "docker-bash": "./docker-bash.sh" }, "engines": { - "node": ">= 4.5.0", - "npm": ">=1.2.1" + "node": "6.9.2 || >= 10.14.2", + "npm": "3.10.9 || 3.10.10 || >= 6.4.1" } }