diff --git a/CHANGELOG.md b/CHANGELOG.md index 406741f71..bc35f1a3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## [1.43.5] — 2026-10-18 + +### Fixed + +- **Backups of accounts with many documents no longer run out of memory.** + The weekly in-database backup, the manual backup and the restore held the + document vault and ECG traces in memory several times over (bytes, base64, + the serialised section and the preview check), and sealed one oversized + chunk; an account with a large document vault crashed a 524 MB heap. Document + bytes are now read and written in 1.5 MB slices, ECG traces page by page, + every section is written element by element and no chunk exceeds the chunk + size. The restore reads documents without their bytes first and writes each + one on its own. The file format is unchanged (Refs #1239). +- A failed tombstone purge names its phase and condition (e.g. + `statement_timeout`) instead of a bare error. + +### Added + +- The admin support report and System status flag a heap limit below 700 MB + and point to `APP_MEMORY_LIMIT`; `/api/admin/status` carries + `memory: { heapLimitMb, low }`. + ## [1.43.4] — 2026-10-17 ### Fixed diff --git a/docs/api/openapi.yaml b/docs/api/openapi.yaml index 93399bf62..626d0e6b9 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.43.4 + version: 1.43.5 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 7fc5051e8..6dab1f0ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "healthlog", - "version": "1.43.4", + "version": "1.43.5", "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 c867722b4..62fac31c7 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.43.4"; + /* @sw-version-fallback */ "v1.43.5"; 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/*`