Skip to content

Releases: matteosox/pysparkplug

0.3.2 (2024-05-06)

07 May 03:54
e889f0c
Compare
Choose a tag to compare

Fixed

  • Fixed topic for DDATA payloads resulting from the EdgeNode.update_device method.

0.3.1

14 Feb 02:54
83160f5
Compare
Choose a tag to compare

Changed

  • Pysparkplug is not compatible with the new 2.0 releasee of Paho, the underlying Python MQTT client.

0.3.0 (2024-01-13)

14 Jan 02:05
f8e6c60
Compare
Choose a tag to compare

Added

  • Pysparkplug now supports Python 3.12

Deprecated

  • Pysparkplug no longer supports Python 3.7, which has reached its end of life.

0.2.0 (2023-08-23)

24 Aug 00:30
499542e
Compare
Choose a tag to compare

Added

  • SINGLE_LEVEL_WILDCARD and MULTI_LEVEL_WILDCARD wildcards for subscribing to multiple MQTT topics, conveniently typed to pass type checking

Changed

  • Refactored how dependencies are entered into the package's metadata, using hatch-requirements-txt referencing requirements/requirements.txt

Removed

  • Removed Topic.to_string(), since users should just use str(topic).

Fixed

  • Explicitly making MetricValue available from the top-level package, resolving any type annotation issues.
  • Fixed bug with implementation of StrEnum that resulted in enums not converting correctly to string. This resulted in topics not rendering to string correctly, since the message_type attribute was MessageType, an instance of StrEnum.
  • Fixed bug with topic component validation, which was using the wrong wildcard constants "#*" instead of the correct "#+".

0.1.0 (2023-08-13)

14 Aug 03:20
24f0278
Compare
Choose a tag to compare

Added

  • Client low-level MQTT client
  • ClientOptions class of optional settings for an MQTT client
  • ConnackCode MQTT Connection Acknowledgement codes
  • DBirth class representing a DBirth payload
  • DCmd class representing a DCmd payload
  • DData class representing a DData payload
  • DDeath class representing a DDeath payload
  • DataType enumeration of Sparkplug B datatypes
  • Device class representing a Device in Sparkplug B
  • EdgeNode class representing an EdgeNode in Sparkplug B
  • ErrorCode MQTT error codes
  • MQTTError Error from MQTT client
  • MQTTProtocol MQTT protocol enum
  • Message class representing a Sparkplug B message
  • MessageType Sparkplug B message type enum
  • Metric class representing a Sparkplug B metric
  • MetricValue type alias for the Python type of the value of a Sparkplug B metric
  • NBirth class representing a NBirth payload
  • NCmd class representing a NCmd payload
  • NData class representing a NData payload
  • NDeath class representing a NDeath payload
  • QoS MQTT quality of service enum
  • State class representing a State payload
  • TLSConfig TLS configuration class
  • Topic class representing a Sparkplug B topic
  • Transport MQTT transort enum
  • WSConfig Websockets configuration class
  • get_current_timestamp returns current time in a Sparkplug B compliant format