Skip to content

Releases: telefonicaid/iotagent-node-lib

4.1.0

08 Jan 15:03
4cb3983

Choose a tag to compare

Changes (since 4.0.0):

  • Add: include apikey in queries to memory registry for groups
  • Add: transport and endpoint to Group model (#1542)
  • Fix: store commands from Group at Device level at provision device time
  • Fix: log device id when BadTimestamp error (*)

(*) Also in hotfix version 4.0.1

4.0.1

29 Nov 11:27
e29a720

Choose a tag to compare

Hotfix for version 4.0.0

Changes (since 4.0.0):

  • Fix: log device id when BadTimestamp error

4.0.0

24 Nov 11:14
f190ec3

Choose a tag to compare

Changes (since 3.4.0):

  • Large refactor of IOTA Lib code to make it simpler
  • Add: payloadType to device and groups model to support NGSI-v2 and NGSI-LD formats in southbound measures (iotagent-json#778)
  • Fix: use but not store timestamp and explicitAttrs from group with autoprovisioned devices (#1504, partially)
  • Fix: MongoDB connection authentication (user and password were not actually used) (#1510)
  • Fix: add static attributes when use explicitAttrs (#1506)
  • Fix: ensure service and subservice in context of error handlers using req headers
  • Fix: remove attribute of measures with name id or type to avoid collisions (#1485)
  • Fix: ensure entity id and type are string (#1476)
  • Fix: update ctxt allow nested expressions (#1493)
  • Fix: change log level contextAvailable expression exception (from WARN to INFO)
  • Fix: null values arithmetics in JEXL expressions (#1440)
  • Fix: remove mongo DeprecationWarning: current Server Discovery and Monitoring engine is deprecated by setting useUnifiedTopology = true
  • Fix: mongodb.authSource / IOTA_MONGO_AUTH_SOURCE was not correctly supported (#1526)
  • Upgrade mongodb dev dep from 4.17.0 to 4.17.1
  • Remove: single configuration mode (along with IOTA_SINGLE_MODE env var) (#1469)
  • Remove: extractVariables from jexl plugin (no needed anymore since the removal of bidireational plugin)
  • Remove: time compression support
  • Remove: autocast (including env var IOTA_AUTOCAST) (#1498)

3.4.4

03 Oct 08:21
d48e188

Choose a tag to compare

Hotfix version for release 3.4.0.

Changes (since 3.4.3):

  • Fix: remove attribute of measures with name id or type to avoid collisions (#1485)

3.4.3

02 Oct 12:27
e0ecc66

Choose a tag to compare

Hotfix version for release 3.4.0.

This version is an improvement of the 3.4.2 hotfix.

3.4.2

02 Oct 12:26
5c35736

Choose a tag to compare

Hotfix version for release 3.4.0.

This version is an improvement of the 3.4.1 hotfix.

3.4.1

02 Oct 12:25
a591a37

Choose a tag to compare

Hotfix version for release 3.4.0.

Changes (sinces 3.4.0):

  • Fix: ensure entity_id is a string when is result of entityNameExp (#1476)

3.4.0

20 Sep 09:57
906eecf

Choose a tag to compare

Note this version removes bidirectional and appendMode functionality

Changes (since 3.3.0):

  • Fix: for non evaluable expressions which should not be propagated to attrs values (#1440)
  • Fix: try to use apikey from measure/group to find, update, remove device in first attempt (#1426, #1435)
  • Fix: ensure device apikey in already provisioned device (#1430)
  • Upgrade mongodb dev dep from 4.7.0 to 4.17.0
  • Upgrade mongoose dep from 5.13.14 to 5.13.20
  • Remove: bidirectional plugin (#1413)
  • Remove: appendMode and creation of initial entity (#1413)

3.3.0

24 Aug 11:03
67fab2a

Choose a tag to compare

Changes (since 3.2.0):

  • Add: do not create initial entity when a new device is provisioned and appendMode is false or NGSI-LD is used
  • Add: evaluate group entityNameExp with a context including measures (#1334)
  • Add: allow update timestamp and other config fields of device
  • Fix: check array access in extractVariables of jexlPlugin when bidirectionalPlugin is enabled
  • Fix: explicitAttrs of device was tainted even if not defined
  • Fix: do not include static, lazy and commands from group to device to avoid duplicate them in device (#1377)
  • Fix: use 'options=upsert' when update ngsiv2 CB entities and appendMode is enabled (#956)
  • Fix: do not propagate group config (timestamp and explicitAttrs) to autoprovisioned devices (at database level) (#1377)
  • Fix: appendMode at general level (config.js / env var) changes its default from false to true
  • Fix: remove sensitive MongoDB connection parameters from log traces (remove 'option' object from logs)
  • Deprecate: bidirectional plugin
  • Deprecate: appendMode
  • Remove: expressionLanguage field (as it it not longer needed, due to only one expression language is supported, after the removal of legacy expressions in 3.2.0) (#1384)

3.2.0

23 May 08:55
bf2237b

Choose a tag to compare

Changes (since 3.1.0):

  • Add: save result of apply expression attribute into current context for futher usages (#1305)
  • Add: skipValue for expression to allow skip attribute when match with result of apply expression (#1353)
  • Add: add hextostring transformation jexl function (#1367)
  • Add: JEXL support to bidirectinal plugin
  • Fix: avoid usage of newlines in logs (#1342)
  • Fix: explicitAttributes true case: should progress just active attributes which receives measures and all active attributes with expressions
  • Fix: add missed active attributes (with expressions) for ctxt for evaluate explicitAttrs expression (#1351)
  • Fix: allow use static attributes from group in entityNameExp of group
  • Fix: disable device attribute entity_name validation using pattern
  • Fix: re-enable invocation of custom plugins on update (#1348)
  • Fix: change level of log about not context available for apply expression from warn to info
  • Remove: remove legacy expression support (removing IOTA_DEFAULT_EXPRESSION_LANGUAGE env var and associated defaultExpressionLanguage config.js setting) (#1340)