Skip to content

Releases: libremfg/PackML-MQTT-Simulator

v2.0.6

11 Oct 15:40
0de3085
Compare
Choose a tag to compare

This minor patch updates the node version and libraries to latest to resolve any security fixes. Various code smells have also been fixed. The owning company has also changed.

Add

  • Add changelog to README

Change

  • Change base docker image from node:12-alpine to node:20-alpine
  • Change CI/CD to build to GitHub Container Registry
  • Change classes with single constructor to a function for maintainability
  • Change docker metadata company reference
  • Change library mqtt from 4.3.8 to 5.10.1
  • Change library winston from 3.13.0 to 3.15.0
  • Change library standard from 14.3.4 to 17.1.2
  • Change library sonarqube-scanner 2.9.1 to 4.2.3
  • Change multiple inline if statements to one per line for readability
  • Change to GitHub Container Registry
  • Change version to v2.0.6
  • Change var to const or let where applicable
  • Refactor setInterval to reduce cognitive complexity

Fix

  • Fix host reference on shutdown

Co-authored-by: Tom Hollingworth tom@libremfg.com

v2.0.4

13 May 19:20
5e66ab1
Compare
Choose a tag to compare
  • Add SparkplugB topic and payload details to README
  • Bump Revision from v2.0.3 to v2.0.4
  • Change mqtt from 4.2.8 to 4.3.8
  • Change sonarqube-scanner from 2.8.1 to 2.9.1
  • Change sparkplug-client from 3.2.2 to 3.2.4
  • Change winston from 3.3.3 to 3.13.0

v2.0.3

12 Aug 18:25
d69f4d9
Compare
Choose a tag to compare
  • Update path-parse from 1.0.6 to 1.0.7
  • Change README run command env. variable MQTT_HOST to MQTT_URL
  • Bump Revision

v2.0.2

29 Jun 16:05
82ffc66
Compare
Choose a tag to compare
  • Update mqtt libary from 4.2.1 to 4.2.8
  • Update sonarqube-scanner libary from 2.7.0 to 2.8.1
  • Change simple switch statements for ifs
  • Bump Revision

v2.0.1

01 Jun 20:12
75073e3
Compare
Choose a tag to compare
  • Removed unsupported device commands
  • Update Readme
  • Bump Revision

v2.0.0

25 May 04:16
39e985d
Compare
Choose a tag to compare

BREAKING CHANGES

  • Changed topic payload for <SITE>/<AREA>/<LINE>/Status/StateCurrent to integer data type (use <SITE>/<AREA>/<LINE>/Status/StateCurrentStr instead)
  • Changed topic payload for <SITE>/<AREA>/<LINE>/Status/UnitMode to integer data type (use <SITE>/<AREA>/<LINE>/Status/Status/UnitModeStr instead)

Changes

  • Add Sparkplug B Payload and Topic Support
  • Add TICK to global configuration
  • Add CLIENT_TYPE environmental variable
  • Add SPARKPLUG_GROUP_ID environmental variable
  • Add SPARKPLUG_EDGE_NODE environmental variable
  • Add MQTT_CLIENT_ID environmental variable
  • Add .../Status/StateCurrentStr topic for string name of state
  • Add .../Status/UnitModeStr topic for string name of mode
  • Change .../Status/StateCurrent to integer data type (use .../Status/StateCurrentStr instead)
  • Change .../Status/UnitMode to integer data type (use .../Status/UnitModeStr instead)
  • Change Command tags to boolean values (integer 0/1 still works)
  • Fix UnitMode command
  • Updated README
  • Bump Revision

v1.0.9

19 May 21:47
d26567a
Compare
Choose a tag to compare
  • Update lodash library from 4.17.19 to 4.17.21
  • Update hosted-git-info from 2.8.8 to 2.8.9

v1.0.8

29 Mar 00:33
f395408
Compare
Choose a tag to compare
  • Add simluation TICK environmental variable.
  • Update ini library from 1.3.5 to 1.3.8
  • Add docker container labels

v1.0.6

01 Oct 15:20
b3f4a30
Compare
Choose a tag to compare
  • Update bl library to 1.2.3
  • Bump Revision

v1.0.4

28 Aug 17:32
cf2d9cd
Compare
Choose a tag to compare
  • Add memory limits
  • Changed default LINE to hostname
  • Changed default clientId to MQTTv3.1.1 conforming hostname