This commit is contained in:
Balena CI 2022-09-13 16:43:37 -04:00 committed by VersionBot
parent 9160a8b269
commit 2ec9274b78
6 changed files with 28 additions and 5 deletions

View File

@ -1,3 +1,21 @@
- commits:
- subject: Fix withDefault type helper to work with boolean
hash: 3e45e9561e109186ea038c6d3b67f54071ee8a67
body: |
`withDefault` is a type helper that allows to create a type that
defaults to a default value when trying to decode a nullish value.
That type was not correctly working with boolean types, causing `false`
values to be replaced by true. This would specifically cause issues when
parsing the target state, where a `running: false` in a service would
become a `running: true` due to the type decoding.
footer:
Change-type: patch
change-type: patch
author: Felipe Lalanne
nested: []
version: 14.0.21
title: "'Fix withDefault type helper to work with boolean'"
date: 2022-09-13T20:13:18.136Z
- commits: - commits:
- subject: Fix filtering of the supervisor app on the target state - subject: Fix filtering of the supervisor app on the target state
hash: 5a57647450aa594b7112da01b9d2fc89885b6fae hash: 5a57647450aa594b7112da01b9d2fc89885b6fae

View File

@ -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! automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/). This project adheres to [Semantic Versioning](http://semver.org/).
# v14.0.21
## (2022-09-13)
* Fix withDefault type helper to work with boolean [Felipe Lalanne]
# v14.0.20 # v14.0.20
## (2022-09-12) ## (2022-09-12)

View File

@ -1 +1 @@
14.0.20 14.0.21

View File

@ -2,6 +2,6 @@ name: balena-supervisor
description: 'Balena Supervisor: balena''s agent on devices.' description: 'Balena Supervisor: balena''s agent on devices.'
joinable: false joinable: false
type: sw.application type: sw.application
version: 14.0.20 version: 14.0.21
provides: provides:
- slug: sw.compose.long-volume-syntax - slug: sw.compose.long-volume-syntax

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "balena-supervisor", "name": "balena-supervisor",
"version": "14.0.20", "version": "14.0.21",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,7 +1,7 @@
{ {
"name": "balena-supervisor", "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.", "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.0.20", "version": "14.0.21",
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {
"type": "git", "type": "git",
@ -141,6 +141,6 @@
} }
}, },
"versionist": { "versionist": {
"publishedAt": "2022-09-12T19:32:49.651Z" "publishedAt": "2022-09-13T20:13:18.516Z"
} }
} }