Skip to content

Commit a3658e9

Browse files
v3.0.42
1 parent 5a66511 commit a3658e9

File tree

3 files changed

+99
-1
lines changed

3 files changed

+99
-1
lines changed

.versionbot/CHANGELOG.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,85 @@
1+
- commits:
2+
- subject: Update balena/open-balena-base Docker tag to v20.2.0
3+
hash: f0dab7d3866bc2a64b60ed25d5f56c9b4e3a0572
4+
body: |
5+
Update balena/open-balena-base from 20.1.4 to 20.2.0
6+
footer:
7+
Change-type: patch
8+
change-type: patch
9+
author: balena-renovate[bot]
10+
nested:
11+
- commits:
12+
- subject: Fix load_env_file to use xenv for exact systemd compatibility
13+
hash: a9535db87f71657857ffde88a59596690dec4048
14+
body: |
15+
The load_env_file function now uses xenv (github.com/michurin/systemd-env-file)
16+
which wraps systemd v256's actual EnvironmentFile parser. This ensures exact
17+
compatibility when migrating from systemd to s6-overlay.
18+
19+
Key behavior (matching systemd, NOT POSIX):
20+
- Unquoted values: process escape sequences (value\;text → value;text)
21+
- Double-quoted values: NO escape processing (diverges from POSIX shell)
22+
- Single-quoted values: NO escape processing
23+
24+
Example: BUCKETS=balena-images\;balena-delta now correctly expands to
25+
"balena-images;balena-delta" (semicolons, not literal backslashes).
26+
27+
References:
28+
- xenv: https://github.com/michurin/systemd-env-file
29+
- systemd v256 parser: https://github.com/systemd/systemd/blob/v256/src/basic/env-file.c
30+
- systemd issue #10659: https://github.com/systemd/systemd/issues/10659
31+
footer:
32+
Change-type: minor
33+
change-type: minor
34+
Signed-off-by: Kyle Harding <[email protected]>
35+
signed-off-by: Kyle Harding <[email protected]>
36+
author: Kyle Harding
37+
nested: []
38+
- subject: Fix load_env_file to follow POSIX shell quoting rules
39+
hash: a56a4d516a166d1990c9c7a6cd0fe99aace304c6
40+
body: >
41+
The load_env_file function previously did not correctly handle
42+
escape
43+
44+
sequences according to POSIX standards (IEEE Std 1003.1-2017,
45+
sections
46+
47+
2.2.1-2.2.3), causing issues with values containing escaped
48+
characters
49+
50+
like semicolons.
51+
52+
53+
This matches systemd's EnvironmentFile behavior after PR #11427,
54+
which
55+
56+
fixed escape handling to follow shell syntax for quotes.
57+
58+
59+
Example: BUCKETS="balena-images\;balena-delta" now correctly
60+
expands
61+
62+
to "balena-images;balena-delta" (semicolons, not literal
63+
backslashes).
64+
65+
66+
References:
67+
- https://github.com/systemd/systemd/issues/10659
68+
- https://github.com/systemd/systemd/pull/11427
69+
- IEEE Std 1003.1-2017, sections 2.2.1-2.2.3
70+
footer:
71+
Change-type: patch
72+
change-type: patch
73+
Signed-off-by: Kyle Harding <[email protected]>
74+
signed-off-by: Kyle Harding <[email protected]>
75+
author: Kyle Harding
76+
nested: []
77+
version: open-balena-base-20.2.0
78+
title: ""
79+
date: 2025-10-21T04:33:03.133Z
80+
version: 3.0.42
81+
title: ""
82+
date: 2025-10-21T05:06:16.921Z
183
- commits:
284
- subject: Update balena/open-balena-base Docker tag to v20.1.4
385
hash: b101bebaa29a34cd81f4e2948141d8bc4619338e

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file
44
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
55
This project adheres to [Semantic Versioning](http://semver.org/).
66

7+
# v3.0.42
8+
## (2025-10-21)
9+
10+
11+
<details>
12+
<summary> Update balena/open-balena-base Docker tag to v20.2.0 [balena-renovate[bot]] </summary>
13+
14+
> ## open-balena-base-20.2.0
15+
> ### (2025-10-21)
16+
>
17+
> * Fix load_env_file to use xenv for exact systemd compatibility [Kyle Harding]
18+
> * Fix load_env_file to follow POSIX shell quoting rules [Kyle Harding]
19+
>
20+
21+
</details>
22+
723
# v3.0.41
824
## (2025-10-16)
925

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.41
1+
3.0.42

0 commit comments

Comments
 (0)