From 53e7412f7525a5f0f4fc11414d46bddf7318b582 Mon Sep 17 00:00:00 2001 From: Balena CI <34882892+balena-ci@users.noreply.github.com> Date: Fri, 13 Nov 2020 16:13:49 +0200 Subject: [PATCH] v12.2.2 --- .versionbot/CHANGELOG.yml | 22 ++++++++++++++++++++++ CHANGELOG.md | 5 +++++ VERSION | 2 +- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 30 insertions(+), 3 deletions(-) diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 611bbbe1..24013206 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,25 @@ +- commits: + - subject: Ensure the first target state request is applied + hash: e4e895630f53ce5f00ebc5c1486a90b0f9ca9998 + body: | + During first time run of the supervisor, the target state is queried + by `reportInitialEnv`. Since this happens early on the initialization + process, this target state report is missed by any listeners and this + can lead to the initial target state not beeing applied (see #1455). + + This PR ensures that target state is re-emitted if there were no + listeners setup on call to update. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Felipe Lalanne + signed-off-by: Felipe Lalanne + Connects-to: '#1455' + connects-to: '#1455' + author: Felipe Lalanne + nested: [] + version: 12.2.2 + date: 2020-11-13T13:28:01.378Z - commits: - subject: 'validation: Ensure commit lookup has a bound value' hash: bc9bdd10948105f3e92df89ea5772428a0d5766b diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a146a96..fbe2dbe2 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/). +# v12.2.2 +## (2020-11-13) + +* Ensure the first target state request is applied [Felipe Lalanne] + # v12.2.1 ## (2020-11-11) diff --git a/VERSION b/VERSION index e597143d..c4891d64 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -12.2.1 \ No newline at end of file +12.2.2 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index b0fe86c9..2d2f298a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "balena-supervisor", - "version": "12.2.1", + "version": "12.2.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 199d2bff..476d8fe2 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": "12.2.1", + "version": "12.2.2", "license": "Apache-2.0", "repository": { "type": "git",