diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cfdc5807..3b83046cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,25 @@ ## [Unreleased] +## [1.32.17] — 2026-07-24 + +The mood correlations on the Insights page could line up a day off. Your mood +is dated by the calendar day you logged it in your own timezone, but the +metrics it was matched against were still grouped by the UTC day. If you live +away from UTC, an evening reading slid onto the next UTC day, so a mood and a +reading from the same evening were paired as if a day apart. A regression from +v1.32.12, when the mood side moved to local days on its own. + +- **Mood now pairs with metrics from the same local day.** The blood pressure, + weight, and resting pulse series that mood is correlated against are grouped + by the day you logged them in your own timezone, so both sides of the pairing + share one calendar. An evening entry no longer drifts onto the next day. +- **Non-UTC users get the correct same-day figures.** For anyone west of UTC an + evening reading used to pair with the wrong day's mood, turning a same-day + relationship into a one-day-apart one. Those correlations and their scatter + charts now reflect the day the data was actually recorded. UTC users see no + change. + ## [1.32.16] — 2026-07-24 Changing which tiles and charts appear on your dashboard could get undone if diff --git a/docs/api/openapi.yaml b/docs/api/openapi.yaml index 0998fe392..8eae52a6f 100644 --- a/docs/api/openapi.yaml +++ b/docs/api/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.1.0 info: title: HealthLog API - version: 1.32.16 + version: 1.32.17 description: >- Self-hosted personal-health-tracking PWA — public API surface for the iOS native client and external ingest. diff --git a/package.json b/package.json index 4cba5ff7c..081084681 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "healthlog", - "version": "1.32.16", + "version": "1.32.17", "description": "Self-hosted personal-health-tracking PWA with Withings integration, AI insights, and doctor-report PDF export.", "license": "PolyForm-Noncommercial-1.0.0", "homepage": "https://healthlog.dev", diff --git a/public/sw.js b/public/sw.js index d672582af..845fd4148 100644 --- a/public/sw.js +++ b/public/sw.js @@ -36,7 +36,7 @@ try { // v1.4.38.4 → v1.4.42. Do not hand-edit; bump `package.json` and rebuild. const CACHE_VERSION = (typeof self !== "undefined" && self.__APP_VERSION__) || - /* @sw-version-fallback */ "v1.32.16"; + /* @sw-version-fallback */ "v1.32.17"; const STATIC_CACHE = `healthlog-static-${CACHE_VERSION}`; const PAGE_CACHE = `healthlog-pages-${CACHE_VERSION}`; // v1.18.6 — read-only data cache for a curated allowlist of safe GET `/api/*`