From 83fb6ed1129116952b598ac5259f64386a149a12 Mon Sep 17 00:00:00 2001 From: Yudong Sun Date: Sun, 5 Jul 2026 12:05:41 -0400 Subject: [PATCH] fix(birdnet-pipy): re-tag 0.8.2-1 as 0.8.2.1 so HA offers it as an update awesomeversion (what HA's update entity uses since core's is-newer check) parses "0.8.2-1" as semver with pre-release "1", and pre-releases sort BELOW the base version: AwesomeVersion("0.8.2-1") > AwesomeVersion("0.8.2") is False. Users stuck on the broken 0.8.2 nginx release therefore see 0.8.2-1 as "Up-to-date" with a disabled Update button and get no update notification. Four-segment 0.8.2.1 compares strictly greater than both 0.8.2 and 0.8.2-1, and less than the next upstream 0.8.3, so the fix becomes installable for everyone. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_016acGazhHvyCNUFt71xzFxm --- birdnet-pipy/CHANGELOG.md | 3 +++ birdnet-pipy/config.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/birdnet-pipy/CHANGELOG.md b/birdnet-pipy/CHANGELOG.md index d76eba7fbb..2819771ec2 100644 --- a/birdnet-pipy/CHANGELOG.md +++ b/birdnet-pipy/CHANGELOG.md @@ -1,4 +1,7 @@ +## 0.8.2.1 (2026-07-05) +- Re-tag of 0.8.2-1 with no content change. Home Assistant compares add-on versions with semver semantics, where a `-N` suffix counts as a *pre-release* and sorts **below** the base version — so users already on 0.8.2 saw the 0.8.2-1 nginx fix as "Up-to-date" with the Update button disabled. Four-segment `0.8.2.1` sorts above both `0.8.2` and `0.8.2-1` (and below the next upstream `0.8.3`), so the update becomes installable everywhere. + ## 0.8.2-1 (2026-07-04) - Fix nginx failing to start with `limit_req_zone "api_rl" already bound` (502 on every page, Suncuss/BirdNET-PiPy#59). Upstream 0.8.2 added http-level rate-limit zones, and the ingress config was generated as a full copy of nginx.conf — duplicating those declarations in the shared http context. `ingress.conf` is now built from the `server` block only, so http-level directives stay declared once. - Comment out the new upstream Content-Security-Policy header in ingress mode, matching the existing X-* security-header handling (ingress runs inside Home Assistant's authenticated frame; direct access keeps the full CSP). diff --git a/birdnet-pipy/config.yaml b/birdnet-pipy/config.yaml index 8b0968a53d..f3497b6f3b 100644 --- a/birdnet-pipy/config.yaml +++ b/birdnet-pipy/config.yaml @@ -96,4 +96,4 @@ schema: ssl: bool? slug: birdnet-pipy url: https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pipy -version: "0.8.2-1" +version: "0.8.2.1"