diff --git a/CHANGELOG.md b/CHANGELOG.md index 0017353d7..70a6f3d3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## [1.40.6] — 2026-10-05 + +The Coach reads long series again; "today" only from today's readings; the +dashboard card fits a phone; text fields lose the purple focus ring. + +### Fixed + +- **Coach series without numbers.** Since 1.21.0 every Coach tool read one + shared per-turn snapshot capped at 24,000 characters; on accounts with many + series whole blocks became a placeholder and the tool still answered + `present: true`. A trimmed block is now re-read for the tool's own source, + a single-source read is condensed (summary, newest days, weekly and monthly + means) instead of emptied, a block without numbers answers + `retrieval_failed`, and the Coach calls the table tool itself for long + histories. The step list shows the reading count; no stray comma on copy. +- **"Today" from yesterday's readings.** Signals of the day, the vitals fact, + the lead line, the health status and the morning push only speak about + today from readings taken today in the profile timezone; a stored briefing + from an earlier day is no longer served. +- **Deltas** use each metric's display precision ("+34 bpm"). + +### Changed + +- **Dashboard card on a phone.** A compact score ring at the top right beside + the lead; Today facts as label over value, full width. Desktop unchanged. +- **Text-field focus.** No purple ring on inputs, textareas, selects and date + fields; focus shows as a neutral border (`--input-focus`). Invalid fields + keep their red border. +- **Coach panel** no longer has a search field (the full conversation list + keeps its search). + ## [1.40.5] — 2026-10-05 The Coach's conversation panel runs the full height of the window. diff --git a/docs/api/openapi.yaml b/docs/api/openapi.yaml index 59e63e736..fde964456 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.40.5 + version: 1.40.6 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 e1a6e9449..dceafe607 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "healthlog", - "version": "1.40.5", + "version": "1.40.6", "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 dea9a680e..2bfd0ac0d 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.40.5"; + /* @sw-version-fallback */ "v1.40.6"; 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/*`