diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 122d9a91..cb9da1a2 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,23 @@ +- commits: + - subject: Use write + sync when writing configs to /mnt/boot + hash: c04955354a76ab32ab5dc52062fdf72d668f7c3b + body: | + This commit updates all backends that write to /mnt/boot to do it + through a new `lib/host-utils` module. Writes are now done using write + + sync as rename is not an atomic operation in vfat. + + The change also applies for writes through the `/v1/host-config` + endpoint. + + Finally this change includes some improvements on tests. + footer: + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + version: 13.1.5 + title: "'Use write+sync when writing to '" + date: 2022-05-03T15:28:52.610Z - commits: - subject: Use delay instead of interval to recursively report state hash: 2e81a7328e6ff01c397bb1bced73010470520657 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f1d966f..dc29a952 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to [Semantic Versioning](http://semver.org/). +# v13.1.5 +## (2022-05-03) + +* Use write + sync when writing configs to /mnt/boot [Felipe Lalanne] + # v13.1.4 ## (2022-04-28) diff --git a/VERSION b/VERSION index 54430133..4f20b443 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -13.1.4 \ No newline at end of file +13.1.5 \ No newline at end of file diff --git a/balena.yml b/balena.yml index ba02257c..81eb7636 100644 --- a/balena.yml +++ b/balena.yml @@ -2,4 +2,4 @@ name: balena-supervisor description: 'Balena Supervisor: balena''s agent on devices.' joinable: false type: sw.application -version: 13.1.4 +version: 13.1.5 diff --git a/package-lock.json b/package-lock.json index 455160d4..e6495423 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "balena-supervisor", - "version": "13.1.4", + "version": "13.1.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2be9878f..e0c78d4a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "balena-supervisor", "description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.", - "version": "13.1.4", + "version": "13.1.5", "license": "Apache-2.0", "repository": { "type": "git", @@ -138,6 +138,6 @@ } }, "versionist": { - "publishedAt": "2022-04-28T03:19:34.343Z" + "publishedAt": "2022-05-03T15:28:53.142Z" } }