Releases: astarte-platform/astarte-device-sdk-esp32
Releases · astarte-platform/astarte-device-sdk-esp32
v1.0.2
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 ofconst char *
, instead
ofchar *
.
v1.0.1
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
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 anastarte_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 returnsastarte_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, disableUse UUIDv5 to derive the hardware ID
in the
Astarte SDK settings withmake menuconfig
.
v1.0.0-rc.0
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 anastarte_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
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 returnsastarte_err_t
to check if the device was succesfully started.
v1.0.0-beta.1
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, disableUse UUIDv5 to derive the hardware ID
in the
Astarte SDK settings withmake menuconfig
.
v0.11.4
v0.11.2
v0.11.1
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
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 itsmain
before callingastarte_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.