mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
v16.4.0
This commit is contained in:
parent
da807e45f6
commit
7c340f9675
@ -1,3 +1,66 @@
|
|||||||
|
- commits:
|
||||||
|
- subject: Refactor host-config to be its own module
|
||||||
|
hash: 53f5641ef1cd2e5374f55a50a601fb80d4872511
|
||||||
|
body: >
|
||||||
|
The host-config module exposes the following interfaces: get,
|
||||||
|
|
||||||
|
patch, and parse.
|
||||||
|
|
||||||
|
|
||||||
|
`get` gets host configuration such as redsocks proxy configuration
|
||||||
|
|
||||||
|
and hostname and returns it in an object of type HostConfiguration.
|
||||||
|
|
||||||
|
|
||||||
|
`patch` takes an object of type HostConfiguration or
|
||||||
|
LegacyHostConfiguration
|
||||||
|
|
||||||
|
and updates the hostname and redsocks proxy configuration, optionally
|
||||||
|
|
||||||
|
forcing the patch through update locks.
|
||||||
|
|
||||||
|
|
||||||
|
`parse` takes a user input of unknown type and parses it into type
|
||||||
|
|
||||||
|
HostConfiguration or LegacyHostConfiguration for patching, erroring if
|
||||||
|
|
||||||
|
parse was unsuccessful.
|
||||||
|
|
||||||
|
|
||||||
|
LegacyHostConfiguration is a looser typing of the user input which does
|
||||||
|
|
||||||
|
not validate values of the five known proxy fields of type, ip, port,
|
||||||
|
|
||||||
|
username, and password. We should stop supporting it in the next
|
||||||
|
|
||||||
|
major Supervisor API release.
|
||||||
|
footer:
|
||||||
|
Change-type: minor
|
||||||
|
change-type: minor
|
||||||
|
Signed-off-by: Christina Ying Wang <christina@balena.io>
|
||||||
|
signed-off-by: Christina Ying Wang <christina@balena.io>
|
||||||
|
author: Christina Ying Wang
|
||||||
|
nested: []
|
||||||
|
- subject: Add HostConfig.parse method
|
||||||
|
hash: be986a62a5835116d58903fac9ffcf5c7d1fd0e1
|
||||||
|
body: |
|
||||||
|
Parses input from PATCH /v1/device/host-config into either
|
||||||
|
type HostConfiguration, or if LegacyHostConfiguration if
|
||||||
|
input is of an acceptable shape (for backwards compatibility).
|
||||||
|
|
||||||
|
Once input has been determined to be of type HostConfiguration,
|
||||||
|
we can easily extract ProxyConfig from the object for patching,
|
||||||
|
stringifying, and writing to redsocks.conf.
|
||||||
|
footer:
|
||||||
|
Change-type: minor
|
||||||
|
change-type: minor
|
||||||
|
Signed-off-by: Christina Ying Wang <christina@balena.io>
|
||||||
|
signed-off-by: Christina Ying Wang <christina@balena.io>
|
||||||
|
author: Christina Ying Wang
|
||||||
|
nested: []
|
||||||
|
version: 16.4.0
|
||||||
|
title: ""
|
||||||
|
date: 2024-07-04T20:25:36.036Z
|
||||||
- commits:
|
- commits:
|
||||||
- subject: Fix engine deadlock on network+service change
|
- subject: Fix engine deadlock on network+service change
|
||||||
hash: ede27b63cecc2a9ae3139a905d9c6ab32418a72b
|
hash: ede27b63cecc2a9ae3139a905d9c6ab32418a72b
|
||||||
|
@ -4,6 +4,12 @@ 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/).
|
||||||
|
|
||||||
|
# v16.4.0
|
||||||
|
## (2024-07-04)
|
||||||
|
|
||||||
|
* Refactor host-config to be its own module [Christina Ying Wang]
|
||||||
|
* Add HostConfig.parse method [Christina Ying Wang]
|
||||||
|
|
||||||
# v16.3.17
|
# v16.3.17
|
||||||
## (2024-06-25)
|
## (2024-06-25)
|
||||||
|
|
||||||
|
@ -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: 16.3.17
|
version: 16.4.0
|
||||||
provides:
|
provides:
|
||||||
- slug: sw.compose.long-volume-syntax
|
- slug: sw.compose.long-volume-syntax
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "balena-supervisor",
|
"name": "balena-supervisor",
|
||||||
"version": "16.3.17",
|
"version": "16.4.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "balena-supervisor",
|
"name": "balena-supervisor",
|
||||||
"version": "16.3.17",
|
"version": "16.4.0",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@balena/systemd": "^0.5.0",
|
"@balena/systemd": "^0.5.0",
|
||||||
|
@ -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": "16.3.17",
|
"version": "16.4.0",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -135,6 +135,6 @@
|
|||||||
"yargs": "^17.7.2"
|
"yargs": "^17.7.2"
|
||||||
},
|
},
|
||||||
"versionist": {
|
"versionist": {
|
||||||
"publishedAt": "2024-06-25T01:03:27.276Z"
|
"publishedAt": "2024-07-04T20:25:36.608Z"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user