Skip to content

Releases: telefonicaid/lwm2m-node-lib

1.4.0

29 Apr 08:52
6242902
Compare
Choose a tag to compare

This release is the last one supporting Nodev8 and Nodev10. Note that Nodev8 was deprecated in December 2019 and Nodev10 was deprecated in April 2021, according to the node release schedule. You are highly encouraged to use Nodev12 or newer.

Changes (since 1.4.0)

  • Upgrade logops dep from 2.1.0 to 2.1.2 due to colors dependency corruption
  • Upgrade underscore dependecy from 1.9.1 to 1.12.1 due to security risk
  • Upgrade mongodb dependecy from 3.1.9 to 3.6.1 due to security risk

1.3.0

04 Nov 15:36
53473fb
Compare
Choose a tag to compare

Changes (since 1.2.0):

  • Set Nodejs 8 as the minimum version in packages.json (effectively removing Nodev6 from supported versions)
  • Add: Device type can now be taken from the URI query parameter type. e.g. with this URL /rd?ep=endpoint&lt=300&b=U&type=Type the device type will be Type if the type is defined in config.js. In this way, other lwm2m client implementations in which the URI-Path is not configurable can use the Device type functionality.
  • Add: defaultAcceptFormat variable added to config.js (equivalent to LWM2M_DEFAULT_ACCEPT_FORMAT env var). This variable allows the user to control the Accept header value for reading and observe server sent requests. This header can be useful when the server needs to specify a specific content-format to properly interoperate with the connected clients.
  • Add: LWM2M_WRITE_FORMAT env var as equivalence of config.writeFormat
  • Upgrade mongoose dependency from 5.3.10 to 5.7.7 due to security

1.2.0

22 May 13:40
19fd385
Compare
Choose a tag to compare

This is the last version of the library 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.1.0):

  • Fix: removal of warnings and deprecation warnings

1.1.0

19 Dec 14:45
8988a8d
Compare
Choose a tag to compare

This release removes support from 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.0.0):

  • Set Nodejs 6.14.4 as minimum version in packages.json (effectively removing Nodev4 as supported version)
  • Add: npm scripts to execute tests, coverage, watch and clean
  • Fix: Active attributes not working since coap proxy is not being used for lwm2m observations so observations arrives to the device from a different port from the used in the rest of communications (#110)
  • Fix: Avoid faster libcoap response: libcoap is not waiting long enough for lightweight-iotagent and lwm2m-node-lib to send the response (#104)
  • Fix: cannot handle update registration from a Wakaama client (#106)
  • Replace mongoose-auto-increment dependency (unmantained) with mongoose-plugin-autoinc
  • Upgrade: async dependence from 1.5.2 to 2.6.1
  • Upgrade: coap dependence from 0.17.0 to 0.22.0
  • Upgrade: coap-cli dependence from 0.4.0 to 0.5.1
  • Upgrade: mongodb dependence from 2.1.7 to 3.1.9
  • Upgrade: mongoose dependence from 4.4.3 to 5.3.10
  • Upgrade: logops dependence from 0.5.0 to 2.1.0
  • Upgrade: underscore dependence from 1.7.0 to 1.9.1
  • Upgrade: mocha development dependence from 2.4.5 to 5.2.0
  • Upgrade: should development dependece from 8.2.2 to 13.2.3
  • Upgrade: istanbul development dependence from ~0.1.34 to ~0.4.5
  • Upgrade: proxyquire development dependence from 0.5.1 to 2.1.0
  • Ensure precise dependencies (~=) are used in packages.json
  • Remove: old unused development dependencies (closure-linter-wrapper, sinon-chai, sinon, chai, grunt and grunt related modules)

1.0.0

12 Nov 08:13
Compare
Choose a tag to compare

Changes since 0.5.0:

  • Most of the errors don't have an associated code (#91).
  • Update COAP library to version 0.17.0

0.5.0

23 Feb 11:55
Compare
Choose a tag to compare

Changes in this release:

  • Update library dependencies.
  • Retry connection of the client if there is any error.
  • Capture Coap Router errors.
  • Client object of the library can't be configured when used as a library (#35).

0.4.1

22 Jul 15:48
Compare
Choose a tag to compare

This release introduces the use of the library command line utils as global commands when the module is globally installed.

0.4.0

19 May 09:41
Compare
Choose a tag to compare

New features:

  • Add a COAP proxy to use a single socket in the outer interactions.
  • Add Execute operation to the library.
  • Add Command-node module for the command-line interpreters.
  • Fix MongoDB did not recover information at starting (#38).
  • Fix command line break when executing command before starting the server (#47).
  • FIX Client handler after connection update (#51)
  • FIX Remove old device registration on the new registration (#52)
  • Add Travis CI files and changes to enable it in the package.json (#55).
  • Add Check lifetime and unregister devices (#56)
  • Add Lifetime unregistration handler (#59)

0.3.1

10 Apr 12:26
Compare
Choose a tag to compare

Changes in this release:

  • ADD Change the LWM2M Server to capture the port used in the registration as the client port.
  • ADD Ping service for the router.
  • FIX Problems with compatibility with other LWM2M implementations.
  • ADD Update connection in the command line tool.
  • FIX Remove initial slash from Location-path to conform to COAP standard.
  • ADD Make IPv6 the default option and change the tests to use it by default.

0.2.0

12 Feb 11:17
Compare
Choose a tag to compare

Changes in this release:

  • Documentation improvements
  • Add 'disconnect' and 'quit' commands for the command line client
  • Add support for LWM2M Client scritp in the command line client
  • Add error handlers for COAP errors
  • Add Cancel Observation features for the LWM2M Client
  • Add extended debug traces

This is the first release published to the NPM registry.