diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 001f9c24..3eb76bc6 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,32 @@ +- commits: + - subject: Make readFromBoot behave more like Node readFile + hash: 0605e996c9225380e39fd78b1c99cc7ad3c0f959 + body: > + The `readFromBoot` function replaced calls to readFile in the codebase + + when the target location is under `/mnt/boot` in order to use `fatrw` + + to check for corruption. Unfortunately this function behaved a little + + differently with regards to errors. While `readFile` returns a code `ENOENT` + + when the file is not found, `readFromBoot` would just throw an exception + + with whatever code was given by fatrw. This would cause confusion for + + some calls that were behaving differently with a `ENOENT`, causing some + + issues. + footer: + Closes: "#2071" + closes: "#2071" + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + version: 14.4.6 + title: "" + date: 2022-12-08T18:39:56.950Z - commits: - subject: Stop using host journalctl hash: 91b119cbaec5c8f8a58ab0e2f724641195a1d316 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fdf008b..45097194 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/). +# v14.4.6 +## (2022-12-08) + +* Make readFromBoot behave more like Node readFile [Felipe Lalanne] + # v14.4.5 ## (2022-12-07) diff --git a/VERSION b/VERSION index 4d7d30b2..c8428cf8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -14.4.5 \ No newline at end of file +14.4.6 \ No newline at end of file diff --git a/balena.yml b/balena.yml index 6d720a4a..9e7f9fd6 100644 --- a/balena.yml +++ b/balena.yml @@ -2,6 +2,6 @@ name: balena-supervisor description: 'Balena Supervisor: balena''s agent on devices.' joinable: false type: sw.application -version: 14.4.5 +version: 14.4.6 provides: - slug: sw.compose.long-volume-syntax diff --git a/package-lock.json b/package-lock.json index f2760b39..7c748833 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "balena-supervisor", - "version": "14.4.5", + "version": "14.4.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "balena-supervisor", - "version": "14.4.5", + "version": "14.4.6", "license": "Apache-2.0", "dependencies": { "@balena/happy-eyeballs": "0.0.6", diff --git a/package.json b/package.json index b9ab6ab6..7dccb476 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": "14.4.5", + "version": "14.4.6", "license": "Apache-2.0", "repository": { "type": "git", @@ -145,6 +145,6 @@ } }, "versionist": { - "publishedAt": "2022-12-07T19:29:23.783Z" + "publishedAt": "2022-12-08T18:39:57.852Z" } }