Skip to content

Conversation

@phm07
Copy link
Contributor

@phm07 phm07 commented Oct 10, 2025

The slice containing the JSON schemas was not initialized, leading to it being serialized to null when empty.

Fixes #1173

@codecov
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.85%. Comparing base (73b208f) to head (685dfa8).
⚠️ Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1191      +/-   ##
==========================================
- Coverage   70.33%   69.85%   -0.48%     
==========================================
  Files         245      271      +26     
  Lines       10772    12262    +1490     
==========================================
+ Hits         7576     8566     +990     
- Misses       2509     2897     +388     
- Partials      687      799     +112     
Flag Coverage Δ
e2e 52.46% <100.00%> (+0.57%) ⬆️
unit 63.98% <100.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@phm07 phm07 merged commit ff8f207 into main Oct 10, 2025
6 checks passed
@phm07 phm07 deleted the fix-empty-list-null branch October 10, 2025 10:47
apricote pushed a commit that referenced this pull request Oct 21, 2025
### Storage Box API Experimental

This release adds support for the [Storage Box
API](https://docs.hetzner.cloud/reference/hetzner#storage-boxes).

The Storage Box integration will be introduced as an **experimental**
feature. This experimental phase is expected to last until **21 November
2025**. During this period, upcoming minor releases of the project may
include breaking changes to features related to the Storage Box API. You
can find out the current state of this in
[#1202](#1202).

This release includes all changes from the recent [Storage Box API
changelog](https://docs.hetzner.cloud/changelog#2025-10-21-storage-box-api-update)
entry.

#### Examples

```shell
hcloud storage-box create \
    --name backups \
    --type bx11 \
    --location fsn1 \
    --password "$PASSWORD" \
    --enable-ssh \
    --reachable-externally

hcloud storage-box enable-snapshot-plan backups \
    --max-snapshots 10 \
    --minute 0 \
    --hour 2
```

### Features

- **server,load-balancer**: add --ip-range argument to attach-to-network
commands (#1164)
- add support for Storage Boxes (#1118)

### Bug Fixes

- list commands print `null` instead of `[]` in JSON mode (#1191)
- outdated JSON output after creating resources (#1194)
- formatting of server-type describe output (#1196)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

List commands outputting json should print [] when nothing was found

3 participants