Skip to content

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

v1.0.2

14 Apr 12:58
v1.0.2
03da59c
Compare
Choose a tag to compare

Second Astarte 1.0 maintenance release.

CHANGELOG

Changes since v1.0.1:

Added

  • Add support to server-owned property unset, using unset_event_callback.

Changed

  • Functions such as astarte_device_set_string_property should make use of const char *, instead
    of char *.

v1.0.1

23 Dec 18:01
v1.0.1
1dfd744
Compare
Choose a tag to compare

First Astarte 1.0 maintenance release.

CHANGELOG

Changes since v1.0.0:

Added

  • Allow passing an explicit realm to astarte_device_config_t.
  • Add function for generating random UUIDv4.
  • Add astarte_bson_serializer_append__array functions to BSON serializer (for each supported type).
  • Add astarte_device_stream__array(_with_timestamp) functions to astarte_device (for each supported type) in order to enable sending arrays to array typed datastreams.

v1.0.0

28 Sep 15:50
v1.0.0
9fdbeac
Compare
Choose a tag to compare

Astarte v1.0.0 release.

Changes Since v0.11

Added

  • Add astarte_device_stop function to stop the internal MQTT client.
  • Add connection and disconnection callbacks called after device connection/disconnection.
  • Allow sending data to object aggregated interfaces.
  • Allow using UUIDv5 to derive the hardware id.
  • Add support for esp-idf 4.x build system.

Changed

  • astarte_device_add_interface incompatible API change, the caller now has to provide a
    pointer to an astarte_interface_t struct.
  • Make sure the device only subscribes to server owned interfaces. This avoids that published
    messages are sent back to the device.
  • astarte_device_start now returns astarte_err_t to check if the device was succesfully
    started.
  • The hardware id now will use UUIDv5 by default. This means that if you were using an old version
    of the SDK, this version will change the generated device id, requiring a new credentials secret.
    If you need to keep the old device id, disable Use UUIDv5 to derive the hardware ID in the
    Astarte SDK settings with make menuconfig.

v1.0.0-rc.0

10 May 16:05
v1.0.0-rc.0
0f9871f
Compare
Choose a tag to compare
v1.0.0-rc.0 Pre-release
Pre-release

First Astarte v1.0.0 release candidate.

CHANGELOG

Changed

  • astarte_device_add_interface incompatible API change, the caller now has to provide a
    pointer to an astarte_interface_t struct.
  • Make sure the device only subscribes to server owned interfaces. This avoids that published
    messages are sent back to the device.

v1.0.0-beta.2

29 Mar 16:50
v1.0.0-beta.2
9db5952
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release

Second Astarte v1.0.0 beta.

CHANGELOG

Added

  • Add astarte_device_stop function to stop the internal MQTT client.
  • Add connection and disconnection callbacks called after device connection/disconnection.

Changed

  • astarte_device_start now returns astarte_err_t to check if the device was succesfully started.

v1.0.0-beta.1

16 Feb 12:31
v1.0.0-beta.1
9bab560
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release

First Astarte v1.0.0 beta.

CHANGELOG

Added

  • Allow sending data to object aggregated interfaces.
  • Allow using UUIDv5 to derive the hardware id.
  • Add support for esp-idf 4.x build system.

Changed

  • The hardware id now will use UUIDv5 by default. This means that if you were using an old version
    of the SDK, this version will change the generated device id, requiring a new credentials secret.
    If you need to keep the old device id, disable Use UUIDv5 to derive the hardware ID in the
    Astarte SDK settings with make menuconfig.

v0.11.4

28 Jan 14:30
v0.11.4
f6a117f
Compare
Choose a tag to compare

Astarte v0.11.4 release.

v0.11.2

31 Aug 10:01
v0.11.2
534d6ba
Compare
Choose a tag to compare

Astarte v0.11.2 release.

CHANGELOG

Added

  • Add device hardware id getter.

Fixed

  • Fix a bug preventing device reinitialization if credentials were not retrieved correctly.

v0.11.1

19 May 09:03
v0.11.1
9a8b433
Compare
Choose a tag to compare

Astarte v0.11.1 release.

CHANGELOG

Added

  • Add a function to unset a properties path.
  • More detailed return error codes.
  • Add wrappers to set values on properties interfaces.
  • Add SDK version in astarte.h.

Changed

  • Most functions will no longer return ASTARTE_ERR, but a more specific error. Code checking for
    err == ASTARTE_ERR will most likely need to be changed.

Fixed

  • Correctly interpret the document length as a 32 bit number when appending a BSON document.

v0.11.0

13 Apr 13:47
v0.11.0
92dae0e
Compare
Choose a tag to compare

Astarte v0.11.0 release.

CHANGELOG

Added

  • Allow passing an explicit credentials secret to the device instead of depending from the on-board
    agent registration.
  • Add astarte_device_is_connected function.

Changes since v0.10

Added

  • Allow passing an explicit credentials secret to the device instead of depending from the on-board
    agent registration.
  • Add astarte_device_is_connected function.

Changed

  • Deprecate implicit credentials initialization, the user should now call astarte_credentials_init
    in its main before calling astarte_device_init.
  • Improve memory footprint.
  • Use ECDSA for keys instead of RSA.

Fixed

  • Avoid reinitializing a valid device due to connectivity errors.
  • Handle client certificate expiration by requesting new credentials to Pairing API.
  • Fix crash due to printing a NULL string in astarte_pairing.