diff --git a/hub/CHANGELOG.md b/hub/CHANGELOG.md index 3b89bab..6e093f8 100644 --- a/hub/CHANGELOG.md +++ b/hub/CHANGELOG.md @@ -1,5 +1,12 @@ # Felhom Hub — Changelog +## v0.3.3 (2026-02-20) + +**Bugfixes** + +- Fix double "v" prefix in controller version display (showed "vv0.21.1" instead of "v0.21.1"). +- Skip deprecated `monitoring.ping_uuids.*` keys in config diff comparison (added to volatile keys). + ## v0.3.2 (2026-02-20) **Hub Version Display** diff --git a/hub/README.md b/hub/README.md index b722439..bed5493 100644 --- a/hub/README.md +++ b/hub/README.md @@ -4,7 +4,7 @@ A lightweight Go service that receives periodic reports and structured events from felhom-controller instances, stores them in SQLite, and provides a web dashboard for fleet monitoring. Also serves as the infrastructure backup store for disaster recovery, event-based dead man's switch monitoring, and notification dispatch. -**Current version: v0.3.2** +**Current version: v0.3.3** --- diff --git a/hub/internal/web/configs.go b/hub/internal/web/configs.go index a78496c..04edadf 100644 --- a/hub/internal/web/configs.go +++ b/hub/internal/web/configs.go @@ -738,9 +738,14 @@ func extractControllerYAML(infraData []byte) string { return string(data) } -// volatileKeys are YAML keys ignored during config comparison (always differ). +// volatileKeys are YAML keys ignored during config comparison (always differ or deprecated). var volatileKeys = map[string]bool{ - "web.session_secret": true, + "web.session_secret": true, + "monitoring.ping_uuids.heartbeat": true, + "monitoring.ping_uuids.system_health": true, + "monitoring.ping_uuids.db_dump": true, + "monitoring.ping_uuids.backup": true, + "monitoring.ping_uuids.backup_integrity": true, } // sensitiveKeyParts are substrings that indicate a value should be masked in diff output. diff --git a/hub/internal/web/templates/customer.html b/hub/internal/web/templates/customer.html index 7a5ad4d..caf4da1 100644 --- a/hub/internal/web/templates/customer.html +++ b/hub/internal/web/templates/customer.html @@ -19,7 +19,7 @@ {{statusIcon .OverallStatus}} {{.Customer.CustomerName}} -

Last report: {{timeAgo .Customer.ReceivedAt}} · Controller v{{.Customer.ControllerVersion}}

+

Last report: {{timeAgo .Customer.ReceivedAt}} · Controller {{.Customer.ControllerVersion}}

@@ -193,7 +193,7 @@
Current version - v{{.Customer.ControllerVersion}} + {{.Customer.ControllerVersion}}
{{if .LatestVersion}}
diff --git a/hub/internal/web/templates/customer_unified.html b/hub/internal/web/templates/customer_unified.html index 3b74664..386a343 100644 --- a/hub/internal/web/templates/customer_unified.html +++ b/hub/internal/web/templates/customer_unified.html @@ -20,7 +20,7 @@ {{if .CustomerName}}{{.CustomerName}}{{else}}{{.CustomerID}}{{end}} {{if .HasReports}} -

Last report: {{timeAgo .Customer.ReceivedAt}} · Controller v{{.Customer.ControllerVersion}}

+

Last report: {{timeAgo .Customer.ReceivedAt}} · Controller {{.Customer.ControllerVersion}}

{{else}}

No reports received yet

{{end}} @@ -348,7 +348,7 @@
Current version - v{{.Customer.ControllerVersion}} + {{.Customer.ControllerVersion}}
{{if .LatestVersion}}
diff --git a/manifests/hub.yaml b/manifests/hub.yaml index 2af3961..baf5f8f 100644 --- a/manifests/hub.yaml +++ b/manifests/hub.yaml @@ -117,7 +117,7 @@ spec: spec: containers: - name: hub - image: gitea.dooplex.hu/admin/felhom-hub:v0.3.2 + image: gitea.dooplex.hu/admin/felhom-hub:v0.3.3 ports: - containerPort: 8080 name: http