Releases: libremfg/PackML-MQTT-Simulator
Releases · libremfg/PackML-MQTT-Simulator
v2.0.7
This minor release fixes bug introduced whilst re-organizing and refactoring the code base.
Fix
- Fix mode command raw byte to string conversion
- Fix packml command reference and call arguments
- Fix packml product commands to align with README
- Fix Product constructor error message typo
- Fix product proxy reflecting value change
v2.0.6
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
toconst
orlet
where applicable - Refactor setInterval to reduce cognitive complexity
Fix
- Fix host reference on shutdown
Co-authored-by: Tom Hollingworth [email protected]
v2.0.4
- 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
- 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
- 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
- Removed unsupported device commands
- Update Readme
- Bump Revision
v2.0.0
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
- 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
- Add simluation TICK environmental variable.
- Update ini library from 1.3.5 to 1.3.8
- Add docker container labels
v1.0.6
- Update bl library to 1.2.3
- Bump Revision