Releases: telefonicaid/iotagent-node-lib
Releases · telefonicaid/iotagent-node-lib
2.8.1
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 release 2.7.0):
- Add: extends OAuth2 authentication to support integration with FIWARE Keyrock IDM (#663)
- Add: implements OAuth2 authentication as part of device provisioning requests (#663)
- Add: uses provisioned timezone to generate TimeInstant values (#672)
- Add: missed conf env vars about authentication (#704)
- Add: timestamp in device and group provision (#655)
- Add: protocol in device provision if not provided (#652)
- Fix: conf env var about contextbroker host
- Fix: use trust and cbHost from deviceGroup (#685)
- Fix: multientity multimeasure with the same att name
- Fix: missing support for device=true in the delete service endpoint (see #596)
- Fix: timestamp is now included just in non empty (more than id and type) multienty entitites
- Fix: object_id fields are not introduced in CB requests by alias plugin (#660)
- Fix: isDomain is not used anymore for context availability registration (#701)
- Fix: checks ISO8601 timeinstants provided by devices (#679)
- Fix: corrects linting and includes npm run lint in travis CI
- Fix: mosquitto.conf.example file not found by iot/mosquitto Dockerfile (#554)
- Upgrade: logops dependence from 1.0.0 to 1.0.8
- Upgrade: async dependence from 1.5.2 to 2.6.1
- Upgrade: body-parser dependence from ~1.11.0 to ~1.18.3
- Upgrade: express dependence from ~4.11.2 to ~4.16.4
- Upgrade: jison dependence from 0.4.17 to 0.4.18
- Upgrade: moment dependence from ~2.19.4 to ~2.22.2
- Upgrade: mongodb dependence from 2.2.35 to 3.1.8
- Upgrade: mongoose dependence from 4.13.12 to 5.3.6
- Upgrade: mustache dependence from 2.2.1 to 3.0.0
- Upgrade: query-string dependence from 4.3.4 to 6.2.0
- Upgrade: request dependence from 2.39.0 - 2.81.0 to 2.88.0
- Upgrade: underscore dependence from ~1.7.0 to ~1.9.1
- Ensure precise dependencies (~=) are used in packages.json
- Remove: XML related code, dependencies and files (#691)
- Remove: old unused dependencies (sax, grunt, closure-linter-wrapper)
Note that release 2.8.0 was never released. There was a wrong publishing in NPM registry with that number, so we withdrawed it and step directly to 2.8.1.
2.7.0
Changes (since release 2.6.0):
- Add: allow NGSIv2 for updating active attributes at CB, through configuration, supporting all plugins (Timestamp Compression, Timestamp Processing, Expression Translation, Attribute Alias, Event, Bidirectionality and Multientity) (#527)
- Add: supports NGSIv2 for device provisioning (entity creation and context registration) at CB (#527)
- Add: casting attribute's values to JSON native types (activable by config.autocast)
- Add: support HTTPS requests toward Keystone (if url is used in the authorization configuration)
- Add: support OAuth2 provider as authentication backend (#591)
- Add: support for HTTPS requests toward CB (if IOTA_CB_URL is used) (#578)
- Add: support HTTPS requests toward IOTAManager (if IOTA_IOTAM_URL is used) (#578)
- Add: log mongo error before raise alarm (#577)
- Add: configuration service is exposed as part of the module
- Fix: Check boolean config fields against right boolean value
- Fix: IOTA_SIGLE_MODE, IOTA_APPEND_MODE, IOTA_POLLING_EXPIRATION, IOTA_POLLING_DAEMON_FREQ env vars are now taken into account (previously there were ignored)
- Fix: IOTA_MONGO_RETRIES and IOTA_MONGO_RETRY_TIME env vars are now taken into account (previously there were ignored)
- Fix: automatic device provisioning by means of Configuration Group fails due to a bug in findConfigurationGroup function (#544)
- Fix: static attributes seem not supported in Configuration Group provisioning (#550)
- Fix: documentation and examples, using correctly "attributes" field in the Configuration API instead of "active" (#558)
- Fix: correctly return 404 when asking to remove a not existing device (#585)
- Fix: Context broker environment variables are correctly loaded
- Fix: GET call to northbound group endpoint returns multiple services (#604)
- Fix: timestampProcessPlugin supports processing an array of NGSI entities in NGSIv2 (#621)
- Fix: undefined MONGO-ALARMS in logs due to a bad mongo query. (#630, #577)
- Fix: multientity ngsiv1 duplicated attributes in entity (#627)
- Fix: match attributes by object_id using multientity plugin and alias in ngsiv2 (#629)
- Fix: check foundGroup count in generateDuplicateHandle (#633)
- Fix: allow provision device entity with multientity attributes (#628)
- Fix: multientity with multiple measures in ngsiv2 (#635)
- Fix: aligns expression plugin and config.autocast casting (#643)
- Fix: replace context by ctx name var to avoid weird collisions
- Upgrade mongodb dependency version to 2.2.35
- Upgrade mongoose dependency version to 4.13.12
2.6.0
Changes (since release 2.5.0):
- Upgrade mongoose dependence version to 4.13.3 (*)
- Fix command name in some commands logs at debug log level
- Fix bug in mergeArrays function of deviceService, precluding updates to work when internalAttributes of type Array were used (#571)
(*) Also in release 2.5.1
2.5.1
2.5.0
2.4.1
2.4.0
Changes in this release:
- Add an Attribute Expression Plugin (#440)
- Add Multientity plugin (#468)
- Add bidirectionality mechanisms for composed attributes (#474)
- Add String composition functions for expressions
- Bidirectional plugin doesn't apply to active attributes defined in a Configuration Group (#479)
- FIX Multiple values not allowed in polling commands
- FIX [Docu] Remove "Remove tag" from examples (#481)
- FIX Notifications return 404 instead of a 200 OK (#484)
- FIX Device creation with attribute named "TimeInstant" is not allowed (#486)
- FIX Iota transformation plugins regex validation error (#489)
- ADD Add single quotes as valid string marks
- FIX Get device info does not include the plugins fields (#492)
- FIX Transformation plugin for indexof (#493)
- FIX Entities in multientity scenarios cannot be defined as expressions (#488)
- FIX Cast needed for transformation plugin (#497)
- FIX Delete service should return 204 instead 200 (#174)
- FIX Bidirectional plugin provision fails (#503)
- FIX Missing context in logger entries (#454)
- FIX Transformation plugin variable names set (#506)
- FIX Transformation plugin - More than one variable name with numbers (#508)
- FIX Pool command expired but CB not updated (#509)
- ADD an alarm management module (#512)
- FIX Missing operations manual (#485)
- ADD a mechanism to share constants and error definitions between IoTAs (#386)
2.3.0
Changes in this release:
- Add polling command support for the Library #455
- FIX Entity name used instead of id in command identification
- Add expiration time for Polling commands (#460)
- FIX It is not possible to create two devices with the same ID (#462)
- ADD At service start-up retry if dependencies (mongo, orion, etc.) are not available #357
2.2.0
Changes in this release:
- Fix precedence in merging device and configuration attributes.
- Merge configuration information in the retrieveDevice() function (#405)
- Expose the singleConfigurationMode attribute using environment variables (#404)
- Devices provisioned with no configuration are not found in HTTP measure reporting (#124)
- In MongoDB32 no group is found if undefined resource is passed (#410)
- Extract common middleware to a new module (#415)
- Add an administrative operation to get the log level (#417)
- Add the 'comp' field to the IoTA's log (#419)
- Fix Static attributes not shown in device group updates (#423)
- Fix IoTAgent returns non-NGSI error as a response to an error in the Context Providers (#422)
- Fix Documentation typos and aspects to fix (#426)
- Add the names of the DB fields to the documentation (#427)
- FIX IOTAM Registrations won't send static attributes in group information #430
- Make the IoTA path in the IoTAM registration request configurable
- Document TimeInstant entity attribute and metadata (#435)
- FIX Update device operation ignores static attributes (#438)
- FIX Logger modules not being singleton cause logging inconsistencies (#442)
- Remove Device ID Index (#445)