Releases: telefonicaid/fiware-sth-comet
2.11.0
This release removes support from Nodev12. In addition, this release is intended to be the last one supporting Nodev14 and Nodev16. Note Nodev12 was deprecated in April 2022, Nodev14 was deprecated in April 2023 and Nodev16 was deprecated in October 2023, according to the node release schedule.
Changes (since 2.10.0)
- Add: CORS_ENABLED env var (boolean) to enable the cors configuration (of config.js file) in your docker image (#608)
- Fix: the way in which list collection is done at MongoDB (ensuring nameOnly flag is boolean) so STH can support MongoDB 5.0+ versions
- Fix: TRUNCATION_EXPIRE_AFTER_SECONDS functionality (#606)
- Set Nodejs 14 as minimum version in packages.json (effectively removing Nodev12 from supported versions)
2.10.0
This release removes support from Nodev8 and Nodev10. In addition, this release is the last one supporting Nodev12. Note that Nodev8 was deprecated in December 2019, Nodev10 was deprecated in April 2021 and Nodev12 was deprecated in April 2022, according to the node release schedule.
You are highly encouraged to use Nodev14 or newer.
Changes (since 2.9.0)
- Fix: healthcheck over sth exposed port
- Fix: Dockerfile to include initial packages upgrade
- Set Nodejs 12 as minimum version in packages.json (effectively removing Nodev8 and Nodev10 from supported versions)
2.9.0
This release is the last one supporting Nodev8 and Nodev10. Note that Nodev8 was deprecated in December 2019 and Nodev10 was deprecated in April 2021, according to the node release schedule. You are highly encouraged to use Nodev12 or newer.
Changes (since 2.8.0):
- Add: graceful shutdown listening to SIGTERM and SIGHUP signals (#576)
- Add: Docker healthcheck for STH API
- Add: config reconnectTries and reconnectInterval configuration (env vars DB_RECONNECT_TRIES and DB_RECONNECT_INTERVAL) to allow mongo driver reconnect (#559)
- Add: allow connect with mongo uri without auth
- Fix: return 500 when DB is not connected (#570)
- Fix: ensure permissions over temp directory (used by CSV generation) in docker container (issue re-introduced in 2.8.0)
- Fix: update logs about get raw and aggregated data (#556)
- Update codebase to use ES6
- Remove JSHint and jshint overrides
- Add esLint using standard tamia presets
- Replace var with let/const
- Fix or disable eslint errors
- Upgrade logops dep from 2.1.0 to 2.1.2 due to colors dependency corruption
- Upgrade: mongodb dependence from ~2.2.35 to ~3.6.12 (#567)
- Upgrade NodeJS version from 10.19.0 to 14-slim in Dockerfile
2.8.0
Changes (since 2.7.0):
- Fix: Filetype issue fixed for hLimit and hOffset (#539)
- Fix: Updated temporary csv filename for uniqueness (#532)
- Upgrade NodeJS version from 8.16.1 to 10.19.0 in Dockerfile due to Node 8 End-of-Life
- Make optional PM2 usage in docker entrypoint
- Add: MongoDB auth source configuration (env var DB_AUTH_SOURCE)
2.7.0
Changes (since 2.6.0):
- Add: NGSIv2 endpoints for the raw and aggregation API operations (#118)
- Add: CORS support (#500)
- Fix: check header response before use it (CSV response has no header)
- Fix: handler for reply a CSV: use new Hapi API (#513)
- Fix: Ensure permissions over temp directory (used by CSV generation) in docker container (#514)
- Upgrade NodeJS version from 8.16.0 to 8.16.1 in Dockerfile due to security issues
2.6.0
2.5.0
This release removes support from Nodev4 and Nodev6. Note that Nodev4 was deprecated time ago and Nodev6 will be soon, according to the node release schedule. You are highly encouraged to use Nodev8 or newer.
Changes (since 2.4.0):
- Set Nodejs 8.12.0 as minimum version in packages.json (effectively removing Nodev4 and Nodev6 as supported versions)
- Add: use NodeJS 8 in Dockerfile
- Add: use PM2 in Dockerfile
- Upgrade: hapi dependence from ~11.1.3 to ~16.7.0
- Upgrade: logops dependence from ~1.0.5 to 2.1.0
- Upgrade: joi dependence from ~5.1.0 to 14.0.6
- Upgrade: boom dependence from ~2.7.2 to 7.2.2
- Upgrade: json-csv dependence from ~1.2.0 to 1.5.0
- Upgrade: request development dependence from ~2.79.0 to 2.88.0
- Upgrade: mocha development depencence from ~3.2.0 to 5.2.0
- Remove: old unused development dependencies (chai, sinon, sinon-chai, grunt and grunt related module)
2.4.0
Changes since 2.3.0:
- Upgrade mongodb dependence to 2.2.35
- Check & ensure hLimit<=lastN<=config.maxPageSize for raw data query. [#431]
- Fix: Content Disposition header encoding issue (#433)
- Add count to query and related fiware-total-count header [#428]
- Using precise dependencies (~=) in packages.json
- Upgrade hapi to 11.1.3
2.3.0
2.2.0
- [TASK] Showing the alarms in a table in the documentation instead of as a list