Skip to content

Releases: telefonicaid/iotagent-json

1.15.0

14 Sep 11:47
a7f08b5
Compare
Choose a tag to compare

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

07 Apr 14:54
272043d
Compare
Choose a tag to compare

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

26 Nov 12:40
Compare
Choose a tag to compare

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

05 Nov 07:31
Compare
Choose a tag to compare

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

13 Aug 09:35
Compare
Choose a tag to compare

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

1.8.60

17 Jul 16:30
Compare
Choose a tag to compare

Changes (since 1.8.50):

  • Fix reconnect when MQTT closes connection (including mqtt retries and keepalive conf options)

1.10.0

22 May 13:49
Compare
Choose a tag to compare

This is the last version of the agent supporting Nodev6. Note that Nodev6 was deprecated in April 2019, according to the node release schedule. You are highly encouraged to use Nodev8 or newer.

Changes (since 1.9.0):

  • Set Nodejs 6 version in packages.json (effectively removing Nodev4 as supported version)
  • Add: config.http.timeout (and associated enviroment variable IOTA_HTTP_TIMEOUT)(#152)
  • Add: config.mqtt.{cert,key,protocol,rejectUnauthorized} (and associated environment variables IOTA_MQTT_*)(#372)
  • Add: readding sinon as dev dependency (~6.1.0)
  • Upgrade NodeJS version from 8.12.0 to 8.16.0 in Dockerfile to improve security
  • Upgrade logops dependency from 1.0.8 to 2.1.0
  • Upgrade iotagent-node-lib dependency from 2.8.1 to 2.9.0

1.8.50

26 Apr 10:20
Compare
Choose a tag to compare

An intermediate version between 1.8.0 and 1.9.0, corresponding to an snapshot of the code at commit d5ebc17 (circa Dec 5th 2018, 10:38 CET) and using iotagent-node-library version 2.7.50.

1.9.0

19 Dec 09:49
9be1b1f
Compare
Choose a tag to compare

This is the last version of the library supporting Nodev4. Note that Nodev4 was deprecated time ago, according to the node release schedule. Following also this schedule, note also that Nodev6 will be removed soon, just after April 2019. You are highly encouraged to use Nodev8 or newer.

Changes (since 1.8.0):

  • Add: use timestamp configuration from group device
  • Add: use AMQP message handler, add reconnections and error handlers
  • Add: AMQP config env vars (#297)
  • Add: npm scripts to execute tests, coverage, watch and clean
  • Add: use NodeJS 8 in Dockerfile
  • Add: use PM2 in Dockerfile (#336)
  • Fix: AMQP callback over-calling
  • Fix: check QoS option for MQTT commands
  • Fix: check retain option for MQTT commands
  • Upgrade: iotagent-node-lib dependence from 2.7.x to 2.8.1
  • Upgrade: mqtt dependence from 1.14.1 to 2.18.8
  • Upgrade: update logops dependence from 1.0.0-alpha.7 to 1.0.8
  • Upgrade: async dependence from 1.5.2 to 2.6.1
  • Upgrade: body-parser dependence from 1.15.0 to 1.18.3
  • Upgrade: express dependence from ~4.11.2 to ~4.16.4
  • Upgrade: request dependence from 2.81.0 to 2.88.0
  • Upgrade: underscore dependence from 1.8.3 to 1.9.1
  • Upgrade: dateformat dependence from 1.0.12 to 3.0.3
  • Upgrade: nock development dependence from 9.0.14 to 10.0.1
  • Upgrade: mocha development dependence from 2.4.5 to 5.2.0
  • Upgrade: should development dependence from 8.4.0 to 13.2.3
  • Upgrade: istanbul development dependence from ~0.1.34 to ~0.4.5
  • Upgrade: proxyquire development dependence from 1.7.9 to 2.1.0
  • Upgrade: moment development dependence from ~2.20.1 to ~2.22.2
  • Remove: old unused development dependencies (closure-linter-wrapper, sinon-chai, sinon, chai, grunt and grunt related modules)

1.8.0

06 Aug 09:02
2cb35cd
Compare
Choose a tag to compare

Changes (since 1.7.0):

  • Update ioagent-node-lib to 2.7.x
  • Add: allow NGSIv2 for updating active attributes at CB, through configuration based on iotagent-node-lib (#250)
  • Add: measures are sent in native JSON format when NGSIv2 is enabled (#250)
  • Add: supports NGSIv2 for device provisioning (entity creation and context registration) at CB (#250)
  • Add: unhardwire MQTT qos and retain parameters in config.js (involving new env vars IOTA_MQTT_QOS and IOTA_MQTT_RETAIN) (#279)
  • Add: momment dep to packages.json
  • Fix: parameter order for the MEASURE-001 error message (#290)
  • Fix: upgrade mqtt dep from 1.7.0 to 1.14.1
  • Using precise dependencies (~=) in packages.json
  • Remove mongodb dependence from packages.json (already in iota-node-lib)