Releases: telefonicaid/iotagent-json
1.18.0
This release removes support from Nodev10. Note that Nodev10 was deprecated in May 2021 according to the node release schedule. You are highly encouraged to use Nodev12 or newer.
Changes (since 1.17.0)
- Add: MQTT options
cleanandclientId(env vars IOTA_MQTT_CLEAN and IOTA_MQTT_CLIENT_ID) (#414, #466, #497) - Add: list of environment variables which can be protected by Docker Secrets
- Fix: check autoprovision flag before register device
- Fix: missing content-type: application/json header in the request sent to device command endpoint (HTTP transport) (*)
- Fix: avoid raise mongo alarm when a measure is not maching a group configuration
- Upgrade underscore dependency from 1.9.1 to 1.12.1 due to vulnerability
- Upgrade iotagent-node-lib dependency from 2.15.0 to 2.16.0
- Upgrade NodeJS version from 10 to 12 in Dockerfile due to Node 10 End-of-Life
- Set Nodejs 12 as minimum version in packages.json (effectively removing Nodev10 from supported versions)
(*) Also included in 1.17.2
1.17.2
1.17.1
1.17.0
This is the last version of the IOTA supporting Nodev10. Note that Nodev10 will be deprecated in May 2021, according to the node release schedule. You are highly encouraged to use Nodev12 or newer.
Changes (since 1.16.0):
1.16.0
Changes (since 1.15.0)
- Add: use mqtt.qos and mqtt.retain values from command for command execution (#504)
- Add: log in info level command and configuration MQTT
- Add: missed global config env vars (IOTA_CONFIG_RETRIEVAL, IOTA_DEFAULT_KEY, IOTA_DEFAULT_TRANSPORT)
- Fix: check ngsi version in configuration handler (#500)
- Update Docker security practices (Add HEALTHCHECK, Use Anonymous User, Use two-stage build)
- Upgrade iotagent-node-lib dependency from 2.13.0 to 2.14.0
1.15.0
Changes (since 1.14.0):
- Add: config.mqtt.avoidLeadingSlash flag (IOTA_MQTT_AVOID_LEADING_SLASH) to avoid leading slash in MQTT
- Add: explicitAttrs flag (in configuration and also group/device provisioning) to progress only the measures corresponding to attributes declared in attributes array (#416)
- Fix: force finish transaction after process a device measure
- Fix: do not intercept error about DEVICE_NOT_FOUND in findOrCreate device (iotagent-node-lib#889)
- Fix: srv, subsrv, transaction and correlator id in logs of http binding
- Fix: some log levels and details at bindings
- Fix: writing of same correlator and transaction id in logs (#426).
- Fix: error processing zero measures (#486)
- 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 iotagent-node-lib dependency from 2.12.0 to 2.13.0
- Overall update of dev package dependencies
- Set Nodejs 10 as minimum version in packages.json (effectively removing Nodev8 from supported versions)
1.14.0
This is the last version of the IOTA supporting Nodev8. Note that Nodev8 was deprecated in December 2019, according to the node release schedule. You are highly encouraged to use Nodev10 or newer.
Changes (since 1.13.0):
- Add: multimeasure support for HTTP transport (#391, partially)
- Add: check response obj before use it handling http commands
- Add: southbound HTTPS support (#472)
- Fix: move to warn error log about device not found
- Upgrade iotagent-node-lib dependency from 2.11.0 to 2.12.0
- Upgrade NodeJS version from 8.16.1 to 10.19.0 in Dockerfile due to Node 8 End-of-Life
1.13.0
Changes (since 1.12.0):
- Allow use protocol ("/json") in mqtt topics subscribed by the agent (#374)
- Use MQTT v5 shared subscriptions to avoid dupplicated messages per agent type (upgrade mqtt dep from 2.18.8 to 3.0.0). Needs MQTT v5 broker like mosquitto 1.6+
- Use AMQP durable option in assertExchange
- Use device apikey if exists in getEffectiveApiKey for command handling
1.12.0
Changes (since 1.11.0):
- Add: PM2_ENABLED flag to Docker
- Fix: update default expiration device registration (ngsiv1) from 1M to 20Y
- Fix: avoid connections to AMQP and MQTT when these transports are not included in configuration (#409)
- Fix: check callback before use it if MQTT connection error
- Upgrade iotagent-node-lib dependency from 2.10.0 to 2.11.0 (including NGSIv2 forwarding -issue #250- and cluster nodejs functionality)
- Upgrade NodeJS version from 8.16.0 to 8.16.1 in Dockerfile due to security issues
1.11.0
Changes (since 1.10.0):
- Set Nodejs 8 as minimum version in packages.json (effectively removing Nodev6 from supported versions)
- Add: Reconnect when MQTT closes connection (including mqtt retries and keepalive conf options)
- Upgrade iotagent-node-lib dependency from 2.9.0 to 2.10.0