Skip to content

v1.48.3

Choose a tag to compare

@MBombeck MBombeck released this 20 Nov 01:01
· 715 commits to main since this release
ea0d2fb

1.48.2 was barely out when the next round of reports came in, most of them from people re-importing real Apple Health exports and running local models. This patch is their round: no new features, but your Local provider settings stop disappearing, an export re-import stops doubling workouts, and more of your lab results make it in.

Local AI provider

Switching the active provider to a gateway or a cloud provider used to clear the Local provider's address, and Local shared one model field with OpenAI and Anthropic, so the Local card came back empty. Local now keeps its own address and model. A kept address is only used while Local is the active provider or when you put it in a named chain, so switching away really switches away. Test checks the provider on the card you are looking at and says which one, and a failed test gives a reason you can read. Thanks to @ch3funio. (#1417)

A chain with a single entry that times out or can't be reached now ends the Coach or document chat with a message saying so, instead of a blank screen after two minutes. Every AI call also logs which chain and provider served it (ai.chain.served, ai.chain.failed), and the docs mention that the hourly read and scan limits count failed attempts. Thanks again to @ch3funio. (#1404)

Apple Health exports

Re-importing an export added most workouts again, because a workout was recognised by its raw date and duration text, and that text differs between exports. A workout is now recognised by its activity type and its start and end time, and the update merges the copies you already have: the oldest stays, and a route or heart rate curve moves over if it had none. Distance, energy and heart rate from the export's workout statistics now fill what the workout left empty, without counting the parts of a multisport workout twice. Restoring a backup from before this version merges its copies the same way. Thanks to @camiracode for the numbers that made this easy to find. (#1414)

The lab import from Health Records takes more of your results: 10*9/L and 10^9/L are the same unit now, as are ng/ml (FEU) and ng/mL (FEU), and x10E3/uL converts. A result that is already there counts as a duplicate before its unit is checked, and a <5 matches the same value at the same time in the same unit, which also cleans up the duplicates the previous import created. If a marker has no unit but already holds numbers, the import tells you to set the marker's unit instead of reporting a mismatch. The import card now shows why readings were skipped. Thanks again to @camiracode. (#1421)

Smaller fixes

  • The admin audit log names the account that acted, so a guardian's upload into a managed profile shows the guardian. Choosing an action in the audit log no longer returns nothing. The document sheet says when an edit was saved, storage use is always shown, and Chrome on Android gets a download instead of a blocked PDF preview. The docs now say that managed profiles use only the server's AI key. Thanks to @ch3funio. (#1403)
  • Sheets stay above the iPhone keyboard, also in the app added to the home screen, and tapping a medication reminder opens the dose's card, where you can take or skip it. Thanks to @2q2code.
  • Document chats answer in the app's language, not only in English or German. Thanks to @ferges123 for the fix. (#1420)

Security

effect is raised to 3.22.1 or later (GHSA-7589-6fvf-x4pw), in the app and in the migration tool the image installs on its own.

Updating

Pull and restart. Two migrations run on the first start: 0512 gives the Local provider its own model, and 0513 merges duplicate workouts from Apple Health exports and removes duplicate censored lab results. Please take a backup first. Going back to 1.48.2 works, but the merged copies only come back from a backup, and an older version re-importing an export would create duplicates again. The steps are in docs/ops/deploy.md.

Thank you

@camiracode re-tested 1.48.2 with a full export within hours and came back with exact counts for every failure. @ch3funio tested the AI chains and the guardian documents on a real setup and wrote down every rough edge. @ferges123 sent the language fix with a test, and @2q2code found the iPhone sheet and reminder problems by using the app every day. Thank you all.