Azure Sdk For C Versions Save

This repository is for active development of the Azure SDK for Embedded C. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-c.

1.5.0

1 year ago

1.5.0 (2023-01-10)

Features Added

  • [#2443] Adding IoT Device Provisioning support for Custom Allocation Payload.
    • New APIs: az_iot_provisioning_client_register_get_request_payload() and az_iot_provisioning_client_registration_state.payload.

Bugs Fixed

  • [#2437] Update ADU device information payload to GA key/values.
  • [#2443] Azure IoT Samples now display errors following the source file:line number format, allowing Visual Studio Code to automatically create links from the output log.

Other Changes

  • Azure IoT Device Provisioning Client API deprecation: az_iot_provisioning_client_get_request_payload() is deprecated in favor of az_iot_provisioning_client_register_get_request_payload(). The new API requires an initialized az_iot_provisioning_client_payload_options structure (using az_iot_provisioning_client_payload_options_default()).

1.4.0

1 year ago

1.4.0 (2022-11-11)

Features Added

  • [#2329] Add Base64 URL decoder.
  • [#2375] Add Azure Device Update for IoT Hub, enabling Over-the-Air (OTA) updates for embedded devices.

Breaking Changes

  • Modified the az_json_string_unescape() function signature to accept az_span as the destination.

Bugs Fixed

  • [#2372] Incorrect minimum buffer size calculation when logging an HTTP request.

Other Changes

  • [#2400] Updated the vcpkg baseline for installing SDK dependencies to the October 2022 tag.

1.4.0-beta.1

1 year ago

1.4.0-beta.1 (2022-08-09)

Features Added

  • Added support in az_json.h to unescape JSON string tokens within an az_span using the az_json_string_unescape() API.

1.3.2

1 year ago

1.3.2 (2022-07-07)

Other Changes

  • Removed unreachable code in az_http_policy_retry.c.

1.3.1

2 years ago

1.3.1 (2022-04-05)

Bugs Fixed

  • [#2152] Fix value in user agent string.
  • [#2162] Remove failure if $version is not present in IoT Twin reported properties response topic.

1.3.0

2 years ago

1.3.0 (2022-02-08)

Features Added

  • Added a total bytes written field to the JSON writer.

Breaking Changes

  • Compared to the previous 1.2.0 release, there are no breaking changes.
  • Removed az_storage_blobs.h, which included some beta APIs for Azure Blob Storage such as az_storage_blobs_blob_client().

Bugs Fixed

  • [#2027] Update IoT user agent to append property name before property value in cases where a custom user agent was specified.
  • [#1885] Fix compilation error C4576 with C++ and MSVC 2019. (A community contribution, courtesy of hwmaier)

Acknowledgments

Thank you to our developer community members who helped to make Azure SDK for C better with their contributions to this release:

1.3.0-beta.1

2 years ago

1.3.0-beta.1 (2021-11-09)

Features Added

  • Added Azure Blob Storage APIs for blob upload and download.
  • Added az_http_response_get_status_code() convenience function to get HTTP status code from requests.

Bugs Fixed

  • Fixed az_curl CMake dependency propagation on libcurl.

Other Changes

  • Improved HTTP request telemetry.

1.2.0

2 years ago

1.2.0 (2021-09-08)

Features Added

  • Add az_iot_provisioning_client_get_request_payload() to create MQTT payload bodies during Device Provisioning.
  • This version provides new APIs to follow the IoT Plug and Play convention to implement Telemetry, Commands, Properties and Components defined in a DTDL model.
    • To read/write properties, the SDK now provides functions to produce the right payload for components, as shown in the header azure/iot/az_iot_hub_client_properties.h.
    • To send telemetry messages, the required header is added to identify components.
    • When responding to a command invocation the component name is automatically parsed and provided when available.
    • All new samples follow the IoT Plug and Play convention and can be connected to IoT Hub (with or without DPS), or IoT Central.

Bugs Fixed

  • [#1905] Fix the internal state of the JSON writer during calls to az_json_writer_append_json_text() by taking into account the required buffer space for commas. (A community contribution, courtesy of hwmaier)

Acknowledgments

Thank you to our developer community members who helped to make Azure SDK for C better with their contributions to this release:

1.2.0-beta.1

2 years ago

1.2.0-beta.1 (2021-07-09)

New Features

  • Added a current depth field to the JSON reader.
  • Added base64 encoding and decoding APIs that accept az_span, available from the azure/core/az_base64.h header.
  • Public preview version of a new set of APIs to simplify the experience using Azure IoT Plug and Play. To consume this new feature, the az::iot::hub CMake target has been updated. The APIs can be found in the header files: az_iot_hub_client.h and az_iot_hub_client_properties.h.
  • New samples showing how to consume the new IoT Plug and Play APIs:
    • paho_iot_pnp_component_sample.c
    • paho_iot_pnp_sample.c
    • paho_iot_pnp_with_provisioning_sample.c

Bug Fixes

  • [#1640] Update precondition on az_iot_provisioning_client_parse_received_topic_and_payload() to require topic and payload minimum size of 1 instead of 0.
  • [#1699] Update precondition on az_iot_message_properties_init() to not allow written_length larger than the passed span.

1.1.0

3 years ago

1.1.0 (2021-03-09)

Breaking Changes

  • Compared to the previous 1.0.0 release, there are no breaking changes.
  • Removed az_iot_pnp_client.h, which included some beta APIs related to IoT Plug and Play such as az_iot_pnp_client().
    • These will ship in a future release and will continue to be available as beta from this feature branch.

Bug Fixes

  • [#1600] Make sure az_json_writer_append_json_text() appends a comma between elements of a JSON array.
  • [#1580] Fix build on Ubuntu 18.04 by updating CMake policy and MSVC runtime libraries.