diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 03a5ef51..a92a6888 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,23 @@ +- commits: + - subject: Make sure to correctly convert config emit events after validation + hash: 3d6dc88eb0c77d4bdeec93645d01d730c54e87d7 + body: | + We were validating the input configuration values by coercing them to + the correct type, and then using the initial value to be saved (which + currently is always converted to a string). + + We now use the coerced value as the actual value we will store, and more + importantly emit. This means that the config.on('change' ...) calls will + always be properly typed, which before this change was not a guarantee + that we could make. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Cameron Diver + signed-off-by: Cameron Diver + author: Cameron Diver + version: 9.7.4 + date: 2019-02-11T11:24:08.324Z - commits: - subject: Set default delta apply timeout of 0 hash: 88f19b414737b2f3ab2bf9587464450e46460ff3 diff --git a/CHANGELOG.md b/CHANGELOG.md index ac311b87..ecfeea33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ 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/). +## 9.7.4 - 2019-02-11 + +* Make sure to correctly convert config emit events after validation [Cameron Diver] + ## 9.7.3 - 2019-02-11 * Set default delta apply timeout of 0 [Cameron Diver] diff --git a/package.json b/package.json index 71976845..611c9b16 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": "9.7.3", + "version": "9.7.4", "license": "Apache-2.0", "repository": { "type": "git",