Skip to content

Releases: astarte-platform/astarte-device-sdk-python

v0.14.0

25 Jun 09:23
v0.14.0
ef6804a

Choose a tag to compare

Astarte Device SDK Python v0.14.0 release.

CHANGELOG

Added

  • Support for astarte-message-hub version 0.7.0.

Changed

  • The get get_started.md guide has been updated to include the latest Astarte installation
    methods.

Fixed

  • The get_reliability method of the Interface class now returns the correct reliability for
    objects. Previously aggregated objects were erroneously transmitted using the "unique"
    reliability.

Removed

  • Drop support astarte-message-hub version 0.6.x and prior.

v0.13.4

07 Nov 14:25
v0.13.4
0197d51

Choose a tag to compare

Astarte Device SDK Python v0.13.4 release.

CHANGELOG

Added

  • Support for astarte-message-hub version 0.6.1.

Changed

  • The MQTT samples datastreams, example_device, and event_listener have been merged into a single example.

Fixed

  • Client certificates are now validated through the REST APIs instead of checking their expiration. Checking only the certificate expiration would lead to deadlocks since Astarte could have rendered the certificate invalid without notifying the device.

v0.13.3

12 Aug 10:38
v0.13.3
627e6ef

Choose a tag to compare

Astarte Device SDK Python v0.13.3 release.

CHANGELOG

Added

  • A new get-started guide.

Changed

  • Updated the examples and relative readme files.

v0.13.2

04 Mar 10:13
v0.13.2
294440d

Choose a tag to compare

Astarte Device SDK Python v0.13.2 release.

CHANGELOG

Fixed

  • Streaming of empty arrays from the device to Astarte is now allowed.

v0.13.1

22 Feb 10:41
v0.13.1
e5a62b2

Choose a tag to compare

Astarte Device SDK Python v0.13.1 release.

Other Changes Since v0.12.1

Fixed

  • Dependency paho-mqtt is locked to v1.6.1 due to incompatibility with the latest version.

v0.12.1

22 Feb 09:36
v0.12.1
5045836

Choose a tag to compare

CHANGELOG

Fixed

  • False values on boolean endpoints for server owned interfaces are correctly processed.
  • Dependency paho-mqtt is locked to v1.6.1 due to incompatibility with the latest version.

v0.13.0

13 Nov 10:32
v0.13.0
34be7e4

Choose a tag to compare

Astarte Device SDK Python v0.13.0 release.

CHANGELOG

Added

  • Astarte Message Hub support.
  • GRPC transport implementation. Connection to the Astarte message hub through GRPC is provided
    by the new class DeviceGrpc.
  • Adding or removing interfaces from a device while the device is connected.
    If an interface is added or removed the new device introspection is immediately sent to Astarte.

Changed

  • Callbacks should be set using the set_events_callbacks method instead of setting the attributes
    directly.
  • asyncio loop is argument of set_events_callbacks instead of class constructor.
  • Device class is now an abstract class representing a generic device with no transport
    implementation.
    The functionality previously provided by Device is now provided by DeviceMqtt with identical
    APIs.

Fixed

  • False values on boolean endpoints for server owned interfaces are correctly processed.

v0.12.0

31 Jul 10:30
v0.12.0
3260267

Choose a tag to compare

Astarte Device SDK Python v0.12.0 release.

CHANGELOG

Added

  • The following exceptions: ValidationError, PersistencyDirectoryNotFoundError,
    InterfaceFileNotFoundError, InterfaceFileDecodeError, InterfaceNotFoundError,
    JWTGenerationError.
  • Persistency support for properties. Server and device properties values are now stored in
    non-volatile memory.
    • The new AstarteDatabase abstract class has been created. This class can be derived to provide
      a custom database implementation for caching Astarte properties.
    • An optional database parameter has been added to the constructor of the Device
      class. It can be used to pass a custom database implementation that will be used
      to cache properties.
      If no custom database is specified, a native SQLite database will be used to store the
      properties in a subdirectory of the persistency_dir.

Fixed

  • Sending zero payloads for endpoints in property interfaces was unsetting the property.

Removed

  • Drop support for python 3.7.

V0.11.0

16 Mar 14:57
v0.11.0
4047c2b

Choose a tag to compare

Astarte Device SDK Python v0.11.0 release.

First Astarte Device SDK Python release.