# Version 13.3.1 - Added food-journal integrity protection. - Before any merge, the app stores both nutrition copies, entry counts, and all journal dates in a safety snapshot. - The app merges unique entries from `mzjV13Nutrition` and `mzjV81Nutrition`, preventing one incomplete copy from hiding dates stored in the other. - No journal date is intentionally deleted by this update. # Changelog ## 13.2 Stable — 2026-07-27 - Promoted the working 13.1.8 categorized food search to the stable baseline. - Preserved Cloudflare synchronization and backup compatibility. - Fixed the food-log empty-state message appearing beneath saved meals. - Standardized hidden-element behavior across the interface. - Updated application, asset, and service-worker version labels. - Added a clean stable cache name to force the new release to load. ## Version 13.1.6 — Unified Food Search - Removed the duplicate legacy food-search input handler. - Replaced the two competing result panels with one unified results list. - Everyday local foods remain visible even when the online packaged-food database is unavailable. - Fresh/plain foods are shown before cans, jars, bottles, and branded products. - Updated cache and visible version markers to 13.1.6. ## 13.1.3 — Combined Food Results Fix - Renders everyday and online foods in one result list so fresh foods cannot be hidden in a separate scroll area. - Everyday foods always appear before packaged and branded products. - Bumps the service-worker cache to force browsers to load the corrected code. # Version 13.1.2 — Everyday Food Search Fix - Search Foods now always rebuilds local everyday-food matches before loading online products. - Fresh/plain vegetables remain above canned, jarred, bottled, pickled, and branded results. - Fixes mobile/autofill cases where only online packaged results appeared. # Changelog ## 13.1.2 — Food Search Patch - Prioritizes fresh, raw, plain, cooked, and steamed foods above canned, jarred, bottled, pickled, and branded products. - Separates everyday local foods from packaged and branded online results. - Adds typo tolerance for common one-letter misspellings such as “cucomber.” - Improves ranking across vegetables and other everyday foods, not only cucumber and green beans. ## 13.1.0 — Nutrition Update - Added My Nutrition Blueprint under More. - Added common local foods including fresh green beans, cucumber, watermelon, protein powder, and several sausage types. - Improved food search with normalization, multi-word matching, aliases, partial matches, and ranked results. - Updated service-worker cache and version labels. ## 13.1.4 - Fixed stale 13.0 asset URLs in index.html. - Rebuilt service-worker cache strategy for app code. - Pinned everyday foods above online packaged results. ## 13.1.8 — Search-only stability patch - Removed the browser-blocked Open Food Facts request from the food search button. - Food search now uses the built-in database only, so cucumber and green beans work without internet access or CORS. - Added a missing `formatDate` helper to prevent the startup ReferenceError seen in the console. - Bumped service-worker cache to 13.1.8. ## 13.1.8 — Categorized Search Polish - Separates fresh/everyday, packaged/prepared, and restaurant results. - Keeps fresh everyday matches at the top. - Preserves partial and typo-tolerant matching. ## Version 13.2.2 — Beef and Steak Search Fix - Added built-in steak choices: generic cooked steak, sirloin, ribeye, New York strip, filet mignon, and T-bone. - Added cooked chuck roast and stew beef. - Searching “steak” or “beef” now returns immediate built-in results without requiring online search or manual re-entry. - Existing saved nutrition data and storage were not changed. ## 13.3 — Complete Online Food Search - Added authenticated Cloudflare Worker proxy for USDA FoodData Central. - Added combined built-in + USDA + Open Food Facts search. - Added USDA setup instructions and safe DEMO_KEY fallback.