From c2aa8888e05138bb5b5d08f54b8255f80cda8cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 16 May 2026 11:21:45 +0200 Subject: [PATCH] chore(release): v1.4.29.1 Daily-step aggregation hotfix. The dashboard 7-day step chart now renders daily totals (sums in the thousands), not per-sample averages, by routing cumulative HealthKit types through the sum branch of the client-side daily aggregator. --- CHANGELOG.md | 23 +++++++++++++++++++++++ package.json | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15c69de11..13f25ad5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [1.4.29.1] — 2026-05-16 — Daily-step aggregation hotfix + +A one-line follow-up to v1.4.29. The dashboard 7-day step chart now +renders daily totals (sums in the thousands), not per-sample averages +(hundreds), matching the server-side `aggregate=daily` contract that +landed earlier today. + +### Fixed + +- **Client-side daily aggregator.** `health-chart.tsx` reduced every + HealthKit type with `sum / count` regardless of whether the + metric is cumulative or spot. The branch now consults + `CUMULATIVE_HK_TYPES` and picks `sum` for steps, active energy, + flights climbed, walking + running distance, and time in + daylight, while the spot metrics (BP, weight, pulse, BG, body + fat, mood, sleep) keep the mean. + +### Tests + +- The existing chart suite (137 specs) continues to pass; the + one-line branch is exercised by the v1.4.29 server-side + aggregation tests and needs no additional coverage. + ## [1.4.29] — 2026-05-16 — Dashboard performance + chart polish A targeted performance + polish patch. The headline is a faster diff --git a/package.json b/package.json index 936a2d61a..a0194a851 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "healthlog", - "version": "1.4.29", + "version": "1.4.29.1", "description": "Self-hosted personal-health-tracking PWA with Withings integration, AI insights, and doctor-report PDF export.", "license": "AGPL-3.0-only", "homepage": "https://healthlog.dev",