diff --git a/CHANGELOG.md b/CHANGELOG.md index e5c8f92b9..563cd824e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,32 @@ ## [Unreleased] +## [1.32.26] — 2026-07-24 + +The metric and imperial display preference is now applied everywhere your +weight, body composition, waist, and temperature readings appear. Until now the +setting was saved but almost nothing read it, so the numbers stayed in +kilograms and Celsius regardless of the choice. Thanks to a self-hoster who +reported the gap and traced how the unit was being handled. + +- **Weight and body composition follow the preference.** With imperial + selected, weight, muscle mass, body water, bone mass, fat mass, and grip + strength read in pounds across the dashboard tiles, the charts, the record + list, the insight pages, and the coach read strip. Body temperature, skin and + wrist temperature read in degrees Fahrenheit, and waist reads in inches. + Storage is unchanged: every reading is still kept in canonical SI, and a + metric user sees exactly the same numbers as before. +- **Manual entry converts at the point of entry.** When you log or edit a value + with imperial selected, the field is labelled in your unit and the number you + type is converted back to canonical on save, so a pound reading is stored as + the correct kilogram value rather than a mislabelled one. +- **A logging tool can no longer store a foreign unit.** The measurement logging + tool used by connected assistants now converts a recognised unit hint (such as + pounds or Fahrenheit) to canonical, and refuses anything it does not + recognise, so a reading is never saved under the wrong unit. +- **Known remaining.** Height is entered in centimetres for now; an imperial + height entry is a separate follow-up. + ## [1.32.25] — 2026-07-24 Mirrored medications are now marked as such, and the server limits how many diff --git a/docs/api/openapi.yaml b/docs/api/openapi.yaml index 37001e20a..35d684eff 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.25 + version: 1.32.26 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 42b589920..a39b086fa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "healthlog", - "version": "1.32.25", + "version": "1.32.26", "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 c27c3ffc0..b965a2c19 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.25"; + /* @sw-version-fallback */ "v1.32.26"; 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/*`