Skip to content

v1.1.2-dev01

Pre-release
Pre-release

Choose a tag to compare

@thebigjoe1 thebigjoe1 released this 06 Aug 18:17
· 6 commits to main since this release

First dev build of the v1.1.2 patch cycle. Signed APK attached, Docker image published as ghcr.io/traceapps/nutritrace:dev and traceapps/nutritrace:dev.

Changes since v1.1.1

  • OFF search fully migrated to search-a-licious + v3 barcode endpoint (#133). Text search hits search.openfoodfacts.org/search with Lucene special-char escaping and multilingual analysis. Barcode lookups on /api/v3/product/. Add-time hydration fetches full serving-size + per-serving nutriments on tap so nothing regresses on the picker even though search-a-licious drops those fields at index time. Local OFF mirror unaffected (proxy still intercepts both URL shapes).
  • Barcode scan of an OFF-known product now opens the nutrition-facts sheet instead of jumping into the editor. Matches the flow when you tap an OFF search result. Barcodes OFF doesn't know still open the editor directly.
  • Kilojoules goal and Calories goal no longer drift out of sync (#146, thanks @dominicbui). Kilojoules is now a display-mode alias for Calories, one source of truth. One-time migration on next Goals page open transfers any legacy Kilojoules-only goal to Calories cleanly.
  • Disabled Calorie Goal Mode buttons look and explain themselves (#147, thanks @dominicbui). Dynamic mode requires a wearable that reports calorie burn (Fitbit, Garmin, or Google Health). Disabled state now clearly grayed out, plus a visible line under the mode selector explains what Dynamic needs.

Test focus for this build

  • OFF text search on the Foods page: results, image thumbnails, country flags where OFF has origin data, add-to-diary flow (hydration should be invisible ~200ms delay)
  • Barcode scan: OFF-known product opens detail sheet; unknown code opens editor
  • Goals page → Kilojoules row: should match Diary's calorie math (both derive from Calories now)
  • Settings → Goals → Calorie Goal Mode: Dynamic button clearly grayed if no wearable, helper text visible below

Reports welcome. nutritrace:dev Docker tag has the same code for anyone who prefers pulling.

docker compose pull && docker compose up -d