Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,40 @@ jobs:
workspaces: server -> target
key: ${{ matrix.target }}

# Two zigs, two consumers — both needed, and both must agree on 0.13.
#
# * this action puts a `zig` executable on PATH. The libpcap step below
# builds C with `CC="zig cc -target …"`, so without it that configure
# fails with "C compiler cannot create executables".
# * pip pulls `ziglang` in as a hard dependency of cargo-zigbuild, and
# *that* copy is what links the Rust side.
#
# They are separate installs, so a version pinned on one says nothing
# about the other.
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0

- name: Install cargo-zigbuild
- name: Install cargo-zigbuild + pin its zig
# cargo-zigbuild must be >= 0.23.0: rustc stable passes
# `-Wl,--fix-cortex-a53-843419` for aarch64 targets and zig's linker
# rejects unknown args outright, so the aarch64-musl leg failed at link
# time ("unsupported linker arg"). 0.23.0 added a filter for it
# (rust-cross/cargo-zigbuild#452). The old pin, 0.19.6, is from 2024 and
# predates the flag entirely.
#
# `ziglang` needs pinning for a different reason: the dependency is
# declared `ziglang>=0.9.0`, so pip resolves it to whatever is newest.
# It reached 0.16, where both Linux targets silently produced
# *dynamically linked* binaries and the static check below rejected
# them. Pinning it to 0.13.0 matches the action above.
#
# 0.13 rather than something newer is also deliberate: zig 0.15+ wants
# clang 18+ for crates that use bindgen, and duckdb-sys does.
run: |
pip install cargo-zigbuild==0.19.6
pip install cargo-zigbuild==0.23.4 ziglang==0.13.0
echo "PATH zig: $(zig version)"
echo "pip zig: $(python -m ziglang version)"

# libpcap is C, not pure Rust. Build it from source against the same
# zig/musl target so cargo-zigbuild produces a fully static binary.
Expand Down
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.8.0] — 2026-09-12
## [0.8.1] — 2026-09-12

`v0.8.0` was tagged from this same content but never released: the
`aarch64-unknown-linux-musl` leg of the release matrix failed to link, so no
release was created and nothing shipped. 0.8.1 is that content plus the build
fix — there is no released 0.8.0 to upgrade from.

### Changed

Expand Down Expand Up @@ -58,6 +63,13 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### Fixed

- **The aarch64 Linux release binary could not be linked.** rustc stable passes
`-Wl,--fix-cortex-a53-843419` for aarch64 targets and zig's linker rejects
unknown arguments outright, so that leg of the release matrix failed and, with
it, the whole release. `cargo-zigbuild` gained a filter for the flag in
0.23.0; the pin here was 0.19.6, from 2024. Nothing in Heron changed —
`rust-toolchain@stable` moved underneath a pinned build tool, which is what
broke `v0.8.0`.
- **`/api/runtime-config` was handing out stored credentials.** It returns the
whole `AppConfig` to the console, and `heron config validate --json` prints
it, so `storage.aglake.hec_token` and `storage.clickhouse.password` were
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.0
0.8.1
2 changes: 1 addition & 1 deletion console/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "console",
"private": true,
"version": "0.8.0",
"version": "0.8.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exclude = ["h-ebpf-prog"]
resolver = "2"

[workspace.package]
version = "0.8.0"
version = "0.8.1"
edition = "2021"
license = "Apache-2.0"

Expand Down
Loading