Skip to content

go-sparkplugb v0.3.2

Choose a tag to compare

@github-actions github-actions released this 01 Nov 17:34
c9ee975

Date: 2026-11-01
Previous release: v0.3.1

Fixed

  • An NBIRTH delivered just after the NDEATH of the same bdSeq no longer brings a dead edge node back online. MQTT orders messages per topic only, so a will can overtake a rebirth that was in flight when the edge node died; host and app then showed the node online for good. For 250 ms after an NDEATH, an NBIRTH with its bdSeq is dropped, and a rebirth is requested 2 seconds later. A node whose NDEATH had a bdSeq ahead of the known session goes offline on that NBIRTH. A DBIRTH on an offline node no longer puts the device online.

Changed

  • An edge node that restarts within 250 ms with the bdSeq of its NDEATH comes online only on the rebirth that follows, about 2 seconds later. srad and SparkplugNet start again at bdSeq 0, and SparkplugNet does not answer that rebirth.

Tests

  • host and app: late NBIRTHs after an NDEATH, a will before its NBIRTH, a restart with the same bdSeq, and the limits of the 250 ms.