Skip to content

Releases: Azure/iot-hub-device-update

1.1.0 (2023-22-12)

22 Dec 20:51
350a551
Compare
Choose a tag to compare

New Features:

  • Adding support to handle the service driven management of our certificate root keys which establish the trust relationship to our ADU services. (2c264e4 )
  • Build pipeline changes to add support for Ubuntu 22.04 (x64, ARM64), Debian 11 (x64, ARM64, ARM32)(8a7e65e, 09fcc4a)

Security Bug Fixes:

  • Updating to the C-SDK version 0.8.2023 and added support for OpenSSL 3.0. (d707681 )

Usage Enhancements:

  • Adding facilitating scripts to help produce deltas of docker images, to support preparing a delta update.(e976950 )
  • Simplified how SW Update handler interop with the underlying script driving the SW Update process. (8278552)
  • Deprecated swupdate v1 handler support which has been replaced by v2 which exposes more swupdate functionality.
  • Made the /tmp directory compile time configurable. (4794e82 )
  • Providing compile and runtime overrides for default paths of agent config file and data folder locations. (ac1dd22)
  • Configuration file updates. (8120130)
  • Adding ability to conditionally build multi-step handlers (--step-handlers). (5713d86)
  • Cross process communication fixes (shell and main process) for handling failures. (e0d67ec )
  • Documentation updates (including doxygen and readme files), enhancements and corrections.

Code Enhancements:

  • Memory allocation and safe usage fixes. (9b088ad, b18cdd4)
  • Adding compiler failure upon usage of unsafe string copy method. (0fb456a )
  • Updated to use C++17. (ead5b99)
  • Reducing zlog logger in memory buffer usage to 41KB. (abdb981 )
  • Merged in several community contributions. ( #385, #388 , #390, #386 )

Debian Packages Device Update agent for Ubuntu 20.04, Ubuntu 22.04, Debian 10 and Debian 11

Release 1.0.2 (2023-02-03)

08 Feb 23:05
2d1f036
Compare
Choose a tag to compare

Bug Fixes

  • Corrected the shared object dependency of libdeliveryoptimization.so.0 in DU agent .deb package and AducIotAgent binary (#344 )
  • Improved IoTHub_CommunicationManager_Init and DeInit (#363)
  • Improved Simulator Update Handler Doc (#359)
  • Corrected result code and extended result code when agent is missing required handlers (#343)
  • Improvements for SWUpdate V2 handler and script handler for installed criteria (#366)
  • Improvements to script handler and SWUpdate V2 handler docs (#366)
  • Corrected unit tests for SWUpdate V2 handler (#366)

Release 1.0.1 (2023-01-13)

17 Jan 14:04
79ce3ba
Compare
Choose a tag to compare

Bug Fixes

  • Fixed an issue for image-based update scenario where the device doesn't reboot after the new image is installed (fd969fa)
  • Fixed deadlock in zlog flush deinit (20840dc)
  • Fixed regression in ADUC Logging init to allow agent to start (2ad13d8)
  • Fixed memory leaks (73029e1)
  • Fixed GetConnectionInfoFromConnectionString to handle failures (df3e5e7)
  • Fixed overwrite of contract maj ver in downloaders and comp enumerator (12b51c9)
  • Enabled error handling when download handler plugin symbol missing (a38dc5e)
  • DO bootstrap.sh fixed to run on on Hyper V Ubuntu 20.04 LTS (a36a879)
  • Fixed install dependencies (b36cd3d)
  • Corrected the cached workfolder used when processing replacement workflow (8596498)

Enhancements

  • Updated contributor guide, and enabled GitHub ideas and discussion (9c95d84)
  • Remove curl dependency in https_proxy_utils (f17fcd8)
  • Agent will try to reconnect reconnect to IoT Hub on bad credential or expired SAS token (c5dbd65)

Release 1.0.0 (2022-11-01)

01 Nov 21:11
33554d2
Compare
Choose a tag to compare

New Features

Notable Bug fixes

• For non adu user/group, remove read and execute permissions for adu conf dir and remove read permissions for config files for least privilege
• Allow Retry/Replacement to process workflow after a failure
• Fixed OTA DU Agent Upgrade failure due to mismatched DO Agent version
• Fixed cancel flow in steps handler
• Fixed an issue where 'retry-update' command is no-op if previous attempt was succeeded
• Cleanup current workflow sandbox before processing deferred, replacement workflow
• Replaced 0 erc in script handler script result file for discoverability
• Fixed off by one error in file info utils of diagnostics component
• Fixed segfault in swupdate handler when installed criteria property is missing

Enhancements

• Improved Device to Cloud Message Reliability
• Support both Update Manifest v4 and v5 to improve PPR to GA upgrade
• Added shellcheck and clangformat pre-commit git hooks
• MCU: Implement '--command' support for the Agent to allow other processes to send 'retry-update' request to the main Agent process
• Added Download Handler Extensibility Point and microsoft delta download handler
• Added EIS SAS Token Refresh
• Replaced 'interfaceId' with 'contractModelId' and change value to 'dtmi:azure:iot:deviceUpdateContractModel;2'
• Moved to Delivery Optimization v1.0.0
• Added extension contract version support
• Allow setting mqtt or mqtt over websockets transport protocol from du config
• Allow custom compat properties to be set from du config
• Added result.h generation from result
• Rearranged dir structure and change dir names to be more consistent
• E2E Test Pipeline Changes
• Build Pipeline Changes

Release 0.8.2 (2022-06-27)

27 Jun 15:21
b2cc550
Compare
Choose a tag to compare
Pre-release

Bug Fixes

  • Fixed reboot and restart logics regression(12669d9)
  • Fixed supply chain warnings (7613ddf)

Notable Enhancements

  • Added build pipeline support for Debian 10 amd64 (b2d4121)

Release 0.8.1 (2022-05-18)

19 May 17:01
f8432de
Compare
Choose a tag to compare
Pre-release

Bug Fixes

  • Added fix to ignore dup workflow id after it last succeeded (8a13a99)
  • Fixed installed criteria error in example proxy updates (ebf7b8c)
  • Added missing goto done when APT pkg install fails (1001645)
  • Addede ADUC_Logging_Init() to Script Content Handler (ce8070d)
  • Fixed memory leak (#80) (e06e313)
  • Fixed incorrect root key modulus for 200703.R.T (d4f30cc)
  • Fixed memory leak in GetReportingJsonValue() - free root JSON_Value when done (#157) (eb61368)
  • Fixed postrm failed-upgrade healthcheck, 0.8.0 to 0.8.x (a6073d5)
  • Added visibility into resultDetails from content handler if content is already installed(dcc8512)

Notable enhancements

  • Added build pipeline support for Ubuntu 20.04 (a0e7fe8)
  • Disabled automatic component detection (7d2895a)
  • Added new Script Handler documentation (85df567)
  • Improved multi-component update example, improve Steps Handler, Script Handler (e6face5)

Release 0.8.0 (2022-02-03)

03 Feb 18:01
2cd165b
Compare
Choose a tag to compare
Pre-release

Welcome to the Public Preview Refresh release for Device Update for IoT Hub!

New Features

  • Proxy update plug in/out component support. Learn More about Proxy Updates
  • Multi-step update capabilities for all update types. Learn more about Multi-step Execution
  • Improved Diagnostics capabilities. Learn more about Enabling Remote Log Collection
  • Dynamic Deployments to allow automatic deployment of updates to newly provisioned, applicable devices. Learn more about the new deployment capabilities.
  • Script Update Handler
  • Add "Goal state" agent-based update orchestration
  • Extensibility and Bundle Update support

Breaking changes

  • Removed Cloud-based update orchestration
  • Replaced adu-conf.txt config file with du-config.json
  • Replaced simulator platform layer with JSON-driven simulator handler

Notable enhancements

  • Updated dependencies for Ubuntu 18.04 ARM64 build
  • Added BASH script support for import manifest schema v4.0
  • Added PowerShell scripts for generating Import Manifest V4 schema
  • Added Adu shell trusted User permission check
  • Added support for the AIS field gatewayHost for Nested Edge GatewayHostName

Notable fixes

  • Fixed DO dependency breaking changes integration
  • Fixed child process termination error if execvp fails
  • Fixed leak zlog file handle
  • Fixed DU Agent - File download failed if target already exist in the sandbox (erc:0xC00D0011)
  • Added syslog group in Debian system
  • Relaxed need to include our license in Debian package
  • Fixed zlog stops flushing to file after first roll of logs
  • Adu-shell exits if launched by non-adu group user

UPDATE

  • 5/12/2022 - Updated meta-azure-device-update_PPR.zip based on feedback [#127] and [#128]

0.7.0 (2021-05-14)

15 May 00:27
93f072e
Compare
Choose a tag to compare
0.7.0 (2021-05-14) Pre-release
Pre-release

Welcome to the 0.7.0 Release of Device Update for Azure IoT Hub.

New Features

  1. Added a new Device Update module based agent that can run alongside other system processes and IoT Edge modules to connect to your IoT Hub. Learn more about provisioning the Device Update module agent here.
  2. Improved the sign-up experience for Device Update (see latest by introducing an optional Administrator role that can be assigned to the entity creating the Device Update account.
  3. Added Device Update bash script support, details
  4. Improved the reliability with dependencies on Delivery Optimization, details

Bug Fixes

  1. Added support for LogLevel to include DEBUG in main.c details here
  2. Relaxed special chars restrictions on DeviceInfo details here
  3. Fixed error when the Device Update Agent doesn't restart after self-update is completed details here
  4. Removed unused licpprest dependency in ADUC details here
  5. Updated Nested Edge support for certificates by advancing IoT Hub C-SDK version from LTS_01_2021 to master details here
  6. When device reboots during the download the agent will now restart the download; and agent will also restart the download if deployment starts before agent is available details here

If you run into errors please refer to our Troubleshooting guide or provide feedback by creating a 'GitHub Issue' or report Issues using these help options.

0.7.0-rc1 (2021-03-31)

31 Mar 23:09
49ab1b7
Compare
Choose a tag to compare
Pre-release

Welcome to the 0.7.0-rc1 Release of Device Update for Azure IoT Hub.

New Feature

We are introducing a new Device Update module based agent that can run alongside other system processes and IoT Edge modules to connect to your IoT Hub. This release describes how to provision and use the Device Update agent as a module identity. Learn more about provisioning the Device Update agent here.

Bug Fixes

  • Added trusted cert option for Nested Edge c026314
  • Added generic error handlers to linux_adu_core_impl bbcfb1c
  • Added support for agentRestartRequired property in APT Manifest f045037
  • Added support for defaulting to the configuration file when unable to provision with the IoT Identity Service on the package update client 0c54362
  • Changed idtype to default to 'module' during IoT Identity Service principal generation 8e4bfd4
  • Simulator build requires DO dependencies to be installed 367b880

If you run into errors please refer to our Troubleshooting guide or provide feedback by creating a 'GitHub Issue' or report Issues using these help options.

0.6.0 (2021-03-02)

02 Mar 02:49
367b880
Compare
Choose a tag to compare
0.6.0 (2021-03-02) Pre-release
Pre-release

Welcome to the 0.6.0 Public Preview Release of Device Update for IoT Hub

What is Device Update for IoT Hub?

Device Update for IoT Hub is a service that enables you to deploy over-the-air updates (OTA) for your IoT devices. Device Update for IoT Hub is an end-to-end platform that customers can use to publish, distribute, and manage over-the-air updates for everything from tiny sensors to gateway-level devices. Device Update for IoT Hub also provides controls on how to manage the deployment updates so you are always in control of when and how devices are updated. Device Update for IoT Hub also provides reporting capabilities so you are always up to date on the state of your devices via integration with IoT Hub.

Getting started

Feedback / Issues

We look forward to hearing from you! The quickest way to provide feedback is to file a 'GitHub Issue' and contact your Device Update for IoT Hub representative.