diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 1a9a9ff0..7aed8695 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,34 @@ +- commits: + - subject: Fix database migration for legacyApps + hash: eee24604459440569dee455db918d6901ea86645 + body: > + Migration `M00008` had a bug with the check for legacy apps, which + + resulted in devices that had at some point been updated from a single + + container supervisor to get the error + + + ``` + + Undefined binding(s) detected when compiling UPDATE. Undefined column(s): [appUuid] query + + ``` + + + This adds a new migration with the fix to ensure broken fix the + + inconsistent database state. + footer: + Change-type: patch + change-type: patch + Closes: "#1913" + closes: "#1913" + author: Felipe Lalanne + nested: [] + version: 13.0.1 + title: "'Fix database migration for legacyApps'" + date: 2022-04-01T21:09:42.303Z - commits: - subject: Add support for GET v3 target state hash: 7425d1110b719dffd132c681c6e0c28fcc218dea diff --git a/CHANGELOG.md b/CHANGELOG.md index fad5c318..ff9545f8 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.0.1 +## (2022-04-01) + +* Fix database migration for legacyApps [Felipe Lalanne] + # v13.0.0 ## (2022-03-23) diff --git a/VERSION b/VERSION index 70045d3c..5923531d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -13.0.0 \ No newline at end of file +13.0.1 \ No newline at end of file diff --git a/balena.yml b/balena.yml index 22596d31..2d94e0af 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.0.0 +version: 13.0.1 diff --git a/package-lock.json b/package-lock.json index 11ab8f89..8cdc6035 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "balena-supervisor", - "version": "13.0.0", + "version": "13.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e2964287..26fbbab8 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.0.0", + "version": "13.0.1", "license": "Apache-2.0", "repository": { "type": "git", @@ -140,6 +140,6 @@ } }, "versionist": { - "publishedAt": "2022-03-23T18:15:27.721Z" + "publishedAt": "2022-04-01T21:09:42.840Z" } }