Skip to content

Releases: telefonicaid/iotagent-json

1.22.0

29 Apr 08:09
948ddcd
Compare
Choose a tag to compare

Changes (since 1.21.0):

  • Add: apply expression and payload transformations to commands (#634, #627)
  • Fix: ensure command QoS for MQTT is an integer
  • Fix: ensure mqtt client_id is unique between reconnections to avoid reconnection loop (#650)
  • Fix: bad mqtt measure is progressing as a multiple measure after be procesed as hex string (#642)
  • Fix: search device and group for a command using entity type when provided to proper match (iota-node-lib#1211)
  • Fix: replace git:// to https:// url for npm dependences
  • Remove: obsolete iotaJsonTester binary
  • Upgrade iotagent-node-lib dependency from 2.19.0 to 2.21.0
  • Upgrade moment dep from 2.27.0 to 2.29.2 due to security vulnerability (CVE-2022-24785)
  • Upgrade async dep from 2.6.1 to 2.6.4 due to security vulnerability (CWE-1321)
  • Upgrade MQTT dep from 3.0.0 to 4.3.7
  • Upgrade NodeJS version from 12 to 14 in Dockerfile

1.21.1

03 Mar 12:30
02a9ddf
Compare
Choose a tag to compare

Changes (since 1.21.0):

  • Upgrade iotagent-node-lib dependency from 2.19.0 to 2.20.0

1.21.0

07 Feb 11:21
f6d77d7
Compare
Choose a tag to compare

Changes (since 1.20.0):

  • Add: allow to handle binary messages
  • Fix: pass parsedMessage (string not raw) to singleMeasure handler
  • Fix: default mqtt keepalive value by conf (must be 60 instead of 0) (iota-ul#527)
  • Fix: provide device type to findConfiguration to achieve a better group match in getEffectiveApiKey (iota-node-lib#1155)
  • Fix: update polling when device is updated by adding endpoint (needs iota-node-lib >= 2.19) (#602)
  • Fix: remove preprocess stripping of explicitAttrs (iotagent-node-lib#1151)
  • Fix: add graceful shutdown listening to SIGINT (#606)
  • Fix: remove request obsolete library, using iotagent-node-lib.request instead (iotagent-node-lib#858)
  • Upgrade logops dep from 2.1.0 to 2.1.2 due to colors dependency corruption
  • Upgrade iotagent-node-lib dependency from 2.18.0 to 2.19.0

1.20.0

12 Nov 09:53
6b80284
Compare
Choose a tag to compare

Changes (since 1.19.0):

  • Fix: service and subservice to 'n/a' when apikey from measure is not found (needs iota-node-lib => 2.18) (#587)
  • Upgrade iotagent-node-lib dependency from 2.17.0 to 2.18.0
  • Remove: NGSI-v1 specific behaviours (iotagent-lib#966)

1.19.0

30 Aug 08:01
98294e3
Compare
Choose a tag to compare

Changes (since 1.18.0):

  • Add: custom JEXL transformations from config file (iotagent-node-lib#1056)
  • Fix: content-type for get command in base of accept header (#582)
  • Fix: processing configurations subscriptions in NGSIv2 (#563)
  • Fix: check access to active attribute of device before use it (#576)
  • Upgrade iotagent-node-lib dependency from 2.16.0 to 2.17.0
  • Remove: obsolete Thinking Things plugin (#573)

1.18.0

18 Jun 08:22
abab467
Compare
Choose a tag to compare

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 clean and clientId (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

13 Apr 12:56
a45fffe
Compare
Choose a tag to compare

Changes (since 1.17.1):

  • Fix: missing content-type: application/json header in the request sent to device command endpoint (HTTP transport)

1.17.1

07 Apr 07:55
b80db99
Compare
Choose a tag to compare

Changes (since 1.17.0):

  • Upgrade iotagent-node-lib dependency from 2.15.0 to 2.15.1

1.17.0

18 Feb 11:09
fe407f3
Compare
Choose a tag to compare

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):

  • Add: Support of multimeasure for MQTT and AMQP transport (#462)
  • Fix: Set 60 seconds for default mqtt keepalive option (#413)
  • Upgrade iotagent-node-lib dependency from 2.14.0 to 2.15.0

1.16.0

16 Nov 15:24
551eb3c
Compare
Choose a tag to compare

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