diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f14a149a..89172e489 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,28 @@ ## [Unreleased] +## [1.32.20] — 2026-07-24 + +The medication-adherence insight now passes through the same safety screen as +every other insight card. It was the one card of eight that showed the model's +text without running that screen first. It already held back a reply that came +back broken or cut off, but a dose-change instruction or an invented figure +could still reach it. It now runs the same check the other seven cards run, and +anything that trips the check falls back to the plain, data-grounded line the +card shows when no model is set up. + +- **The medication-adherence card is screened like the rest.** A reply that + reads as a dose change, or that cites a made-up risk figure, is held back and + the card shows its plain fallback. A normal grounded summary still shows as + before. +- **Two background notification lines can no longer print a raw model reply.** + The "just in" reaction line and the proactive coach nudge now catch a reply + that arrived as structured data or got cut off partway, and use their fixed + wording instead of printing it as is. +- **Smaller cleanups in the same area.** A stray marker left behind by a + cut-off coach reply is now stripped from the text, and an unreachable branch + in the adherence figure was removed. + ## [1.32.19] — 2026-07-24 After you logged a dose, the Today view could keep showing it as still due diff --git a/docs/api/openapi.yaml b/docs/api/openapi.yaml index 61272e806..0ddcc2d0a 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.19 + version: 1.32.20 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 394273a58..6da91b935 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "healthlog", - "version": "1.32.19", + "version": "1.32.20", "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 555646c48..2aede105f 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.19"; + /* @sw-version-fallback */ "v1.32.20"; 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/*`