Releases: mtconnect/cppagent
Releases · mtconnect/cppagent
Version 2.2.0.17
Summary
2.2.0.17 is mainly a bug fix release, along with updating urns in stylesheets to match the schema version.
What's Changed
- JSON Parser error handling and randomizing MQTT client id as a solution before connections pooling by @wsobel in #372
- MQTT last will topic and payload by @wsobel in #374
- chore: add
styles/oldto.dockerignoreby @ottobolyos in #376 - Resolve undefined boost::log symbol using ExtractTimestamp transform by @simonyg in #391
- Empty
CDATAxml generation fix by @wsobel in #401 - stylesheet schema version updated to 2.2 by @robot-ranger in #403
- Should set device UUID when specified in adapter config by @wsobel in #405
- Update schema version in stylesheets by @wsobel in #407
Version v2.2.0.16
What's Changed
- MQTT adapter docs and example by @robot-ranger
- MQTT random client so each broker connection has a unique identifier
MqttClientIdcan still be specified.
- MQTT Last Will and Testament added with configuration topic:
MqttLastWillTopic- Default topic is: MTConnect/Probe/Agent.{UUID}/Availability
- Value will change from
AVAILABLEtoUNAVAILABLEwhen agent disconnects from broker.
Version v2.2.0.15
Added support for MQTT JSON payloads.
Full documentation will be provided, this is just a brief overview.
The following formats are supported:
Simple observations
{
"timestamp": "2023-11-09T11:20:00Z",
"a": "ACTIVE",
"b": 123.456
}Conditions and messages
{
"timestamp": "2023-11-09T11:20:00Z",
"a": {
"level": "fault",
"nativeCode": "BAD!!!!",
"nativeSeverity": 1000,
"qualifier": "HIGH",
"value": "high temperature fault"
},
"b": {
"nativeCode": "ABC",
"value": "some text"
}
}Arrays of observations with different timestamps
[{
"timestamp": "2023-11-09T11:20:00Z",
"a": "ACTIVE",
"b": 100.0
},
{
"timestamp": "2023-11-09T11:21:00Z",
"a": "READY",
"b": 101.0
}]Specifying device names or uuid:
{
"device1": {
"timestamp": "2023-11-09T11:20:00Z",
"e": "ACTIVE",
"p": 100.0
},
"device2": {
"timestamp": "2023-11-09T11:21:00Z",
"e": "READY",
"p": 101.0
}
}Timeseries
{
"timestamp": "2023-11-09T11:20:00Z",
"a": {
"sampleRate": 8000,
"value": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
}
}Data sets and tables
[{
"timestamp": "2023-11-09T11:20:00Z",
"a": {
"r1": {
"k1": 123.45
},
"r2": {
"k2": "ABCDEF",
"k3": 6789
}
}
},
{
"timestamp": "2023-11-09T11:20:00Z",
"a": {
"resetTriggered": "NEW",
"value": {
"r1": {
"k1": 123.45,
"k3": 6789
},
"r2": null
}
}
}]Version v2.2.0.14
Patch Release
- Fixed connection status: Changed from from LISTENING to LISTEN
- Added support for NaN and Infinity in JSON
- NaN is represented as the string "NaN"
- Infinity and -Infinity are represented as the strings "Infinity" and "-Infinity" respectively.
Version v2.2.0.13
Patch Release
- Fixed dll copy on windows for shared on some build system
- Optimized streaming performance
- Added better logging and script feedback for embedded mruby
Version 2.2.0.12
What's Changed
- Cleaned up docker files and added a new docker hub version for major.minor version (2.2)
- Optimization of MTConnect Agent performance and reduced thread contention.
- Added some logging for mruby load
Full Changelog: v2.2.0.11...v2.2.0.12
Version v2.2.0.11
What's Changed
This is an important release since race conditions were observed
- In Mqtt1Service, fixed condition state in observations
- Added
Heartbeatconfig param to override the heartbeat in the* PONG ...command - Fixed race condition under high load between REST and MQTT
- Fixed file cache race condition
- Cleaned up Dockerfiles in the docker and demo with
mtconnect/agent:latestas the foundation image - Reduced image size for demo and builds
Version v2.2.0.10
New Features
- Added MQTT compose demo to demonstrate how to compose MTConnect, twin demo, and MQTT. (see demo directory).
- Some additions to the README for HttpHeaders and reorganized the content.
- Added gallons per minute conversion to liters per second
- Added documentation to the tests.
Bug Fixes
- Fixed conan build to check for usable cmake in the OS for cross-platform docker builds.
- Fixed bug in streaming when it falls behind or is out of range for samples.
- Updated schema files from schemas repo.
Version v2.2.0.9
Bug Fix Release
- Fixed agent device uuid by @wsobel in #341
- Added
DeviceTopicas an alias forProbeTopicfor mqtt sinks by @wsobel in #346
Full Changelog: v2.2.0.8...v2.2.0.9
Version 2.2.0.8
Patch Bug Fix
- Fixes an issue during the initial sample request with an interval where overlapping observations were delivered.