Releases: Azure/azure-sdk-for-c
Releases · Azure/azure-sdk-for-c
1.5.0
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()
andaz_iot_provisioning_client_registration_state.payload
.
- New APIs:
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 ofaz_iot_provisioning_client_register_get_request_payload()
. The new API requires an initializedaz_iot_provisioning_client_payload_options
structure (usingaz_iot_provisioning_client_payload_options_default()
).
1.4.0
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 acceptaz_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.4.0-beta.1 (2022-08-09)
Features Added
- Added support in
az_json.h
to unescape JSON string tokens within anaz_span
using theaz_json_string_unescape()
API.
1.3.2
1.3.1
1.3.0
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 asaz_storage_blobs_blob_client()
.- These will ship in a future release, and are still available from the previous beta release.
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:
- Henrik Maier (GitHub)
1.3.0-beta.1
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 onlibcurl
.
Other Changes
- Improved HTTP request telemetry.
1.2.0
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.
- To read/write properties, the SDK now provides functions to produce the right payload for components, as shown in the header
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:
- Henrik Maier (GitHub)
1.2.0-beta.1
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 theazure/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
andaz_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
1.1.0
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 asaz_iot_pnp_client()
.- These will ship in a future release and will continue to be available as beta from this feature branch.