diff --git a/CHANGELOG.md b/CHANGELOG.md index e93ca89f7..f7e8b3a4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,27 @@ ## [Unreleased] +## [1.32.27] — 2026-07-25 + +Target and threshold panels now follow the metric and imperial preference. The +previous release listed this as the one place still reading in kilograms and +Celsius: with imperial selected a weight chart read in pounds while the target +reference right below it read in kilograms. + +- **Target ranges read in your unit.** On the weight insight page the target + band, the range bar, the status pill, and the 30 day average all read in + pounds when imperial is selected. Body water and bone mass follow the same + rule in the threshold settings. +- **Editing a target works in the unit you see.** The target editor and the + threshold settings seed their fields from the stored value converted to your + unit, check what you type against limits expressed in that same unit, and + convert back before saving. A value typed at the displayed limit is accepted + instead of being rejected against a kilogram bound you never saw. Saving and + reopening shows the number you typed. +- **Storage is unchanged.** Targets are still kept in canonical SI, and a metric + account's saved values are untouched by this release. +- **Known remaining.** Height is still entered in centimetres. + ## [1.32.26] — 2026-07-25 The metric and imperial display preference is now applied everywhere your diff --git a/docs/api/openapi.yaml b/docs/api/openapi.yaml index 35d684eff..68f1a5e20 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.26 + version: 1.32.27 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 a39b086fa..3acabb0c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "healthlog", - "version": "1.32.26", + "version": "1.32.27", "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 b965a2c19..f7112ce6e 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.26"; + /* @sw-version-fallback */ "v1.32.27"; 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/*`