Skip to content

Releases: balena-os/balena-supervisor

v16.5.2

07 Aug 21:59
338fdfd
Compare
Choose a tag to compare

a255001 (Verify that LED_FILE exists on blinking setup, 2024-08-07)

v16.5.1

05 Aug 19:18
8f5131c
Compare
Choose a tag to compare

0d2e2e5 (Update blinking to v1, 2024-07-31)
d789e5b (Avoid leaking memory on deep promise recursions, 2024-07-31)

v16.5.0

30 Jul 18:49
0124952
Compare
Choose a tag to compare

Logs processing improvements

  • The supervisor no longer uses the database to store the last log sent timestamp. Using the database for this is not justified since journal logs are lost between reboots in most cases and even when they are not, the logs throughput is limited by the network speed and the storage provided by the backend, so overall the number of lost logs will be minimal.
  • Removes use of the JSONStream module for log processing, switching to the native JSON.parse.
  • It modifies the logs processing pipe to use an async Node pipeline, this will avoid memory leaks due to an error on the pipe. Because it uses async processing, it prevents the stream handling from overwhelming the event loop and ensures control is yielded back to the event loop while messages are being sent.
  • This PR also modifies the balena log backend (what uploads logs to the API), to use async functions, also yielding control back to the event loop between messages and creating backpressure on the log stream.

Overall the changes above should result in less memory and less CPU being used when processing logs, ensuring proper operation of the supervisor even under high load scenarios

List of commits

8bc0875 (Use promises for setup/writing for logging backend, 2024-07-22)
f3fcb0d (Improve the LogBackend interface, 2024-07-22)
5af9484 (Use stream pipeline instead of pipe, 2024-07-10)
dbacca9 (Do not use DB to store container logs info, 2024-07-10)

v16.4.6

30 Jul 14:44
4a8bf14
Compare
Choose a tag to compare

Update semver to v7.6.3

Notable changes

npm/node-semver (semver)

v7.6.3

Compare Source

Bug Fixes
Documentation

List of commits

340e69d (Update semver to v7.6.3, 2024-07-25)

v16.4.5

25 Jul 14:31
c399792
Compare
Choose a tag to compare

Update balena-io/deploy-to-balena-action action to v2.0.74

Notable changes

  • Update dependency balena-io/balena-cli to v18.2.33 [Self-hosted Renovate Bot]
  • Update Node.js to v18.20.4 [Self-hosted Renovate Bot]
balena-io/deploy-to-balena-action (balena-io/deploy-to-balena-action)

v2.0.74

Compare Source

  • Update dependency balena-io/balena-cli to v18.2.33 [Self-hosted Renovate Bot]

v2.0.73

Compare Source

  • Update Node.js to v18.20.4 [Self-hosted Renovate Bot]

List of commits

92be067 (Update balena-io/deploy-to-balena-action action to v2.0.74, 2024-07-25)

v16.4.4

17 Jul 14:49
f2f2299
Compare
Choose a tag to compare
v16.4.4

v16.4.3

16 Jul 22:28
ef8414b
Compare
Choose a tag to compare
v16.4.3

v16.4.2

16 Jul 21:56
405ddf2
Compare
Choose a tag to compare
v16.4.2

v16.4.1

05 Jul 21:14
c4a530c
Compare
Choose a tag to compare

fbdd7ee (Update docker-delta to v4.1.0, 2024-07-05)
2870651 (Remove custom typings for docker-delta, 2024-07-04)

v16.4.0

04 Jul 20:26
7c340f9
Compare
Choose a tag to compare

f99ccb5 (Remove unnecessary exports from host-config, 2024-07-01)
53f5641 (Refactor host-config to be its own module, 2024-05-01)
be986a6 (Add HostConfig.parse method, 2024-05-01)
f17f7ef (Add HostConfig.patchProxy method, 2024-05-01)
9c6681b (Add RedsocksConf.stringify method, 2024-05-01)
1e224be (Add RedsocksConf.parse method, 2024-05-01)
725d779 (Move noProxy handling to separate module, 2024-04-30)
0cf5a4b (Move hostname get/set to separate "module" (directory), 2024-04-30)