⚠️ Important:
⚠️ Backup before upgrading. If you don’t see the latest updates, please refresh or clear your browser cache.
⚠️ Though you don't need to immediately upgrade, in the upcoming months the Postgres upgrade will be mandated.
Have caution. Below guide might have flaws. Research yourself before performing the upgrade.
https://codewithcj.github.io/SparkyFitness/install/postgres-upgrade
⚠️ If you are using Chatbot in Web, you must configure MCP server. If you had previously setup MCP, you must add below env variables for web Chatbot to work.
Add these under MCP container section.
SPARKY_FITNESS_SERVER_HOST: ${SPARKY_FITNESS_SERVER_HOST:-sparkyfitness-server}
SPARKY_FITNESS_SERVER_PORT: ${SPARKY_FITNESS_SERVER_PORT:-3010}
SPARKY_FITNESS_FRONTEND_URL: ${SPARKY_FITNESS_FRONTEND_URL:-http://0.0.0.0:3004}
You only needs these to be again added to MCP section if you had used these for Server container. Otherwise, you can skip these.
ALLOW_PRIVATE_NETWORK_CORS: ${ALLOW_PRIVATE_NETWORK_CORS:-false}
SPARKY_FITNESS_EXTRA_TRUSTED_ORIGINS: ${SPARKY_FITNESS_EXTRA_TRUSTED_ORIGINS:-}
Refer the updated docker compose as reference if above instruction is not clear.
What's Changed
Features
- feat(mobile): equivalent serving sizes by @apedley in #1319
- chore: update expo to v55 by @apedley in #1331
- Feat/mobile net carbs by @jsandai in #1339
- feat(mobile): fix food search for smaller screens by @apedley in #1351
- feat: add error handling for fatsecret by @apedley in #1374
- Updated chatbot to use MCP server by @CodeWithCJ in #1377
- feat(mobile): add Camera shutter toggle in App Settings by @jsandai in #1381
- feat(mobile): add gallery picker to food photo estimate by @jsandai in #1376
- feat: AI assisted conversions by @BryceKrispiess in #1324
- Added support for multiple images in AI Chatbot. by @CodeWithCJ in #1401
- feat(#1014): allergen tracking from OpenFoodFacts with user preferences and warning badges by @bulkinglb in #1370
Fixes
- fix(ci): attach files to releases with correct pnpm version by @apedley in #1330
- fix(#1290): use custom identity endpoint for email change by @bulkinglb in #1333
- fix(mcp): publish proper inputSchema for sparky_manage_* tools by @ATECHPCS in #1343
- fix: add patches and shared to docker by @apedley in #1352
- Adjusted slider behavior at personalplan.tsx by @Tronus1409 in #1357
- fix(mobile): don't send etag to prevent cache issues by @apedley in #1360
- fix(mobile): update healthkit record sync to capture distance by @apedley in #1368
- fix for MCP Server double-scales logged food nutrients in the diary by @CodeWithCJ in #1369
- PolarFlow API replacement by @CodeWithCJ in #1383
- polar api endpoint fixes by @CodeWithCJ in #1392
- fix: preserve model name on AI Service by @BryceKrispiess in #1386
- Gemini feedback on bcryptjs changes by @CodeWithCJ in #1394
- support for x64 and arm64 images due to docker optimization by @CodeWithCJ in #1396
- Updated chatservice to Forward proxy headers so Better Auth accepts secure cookies over internal HTTP by @CodeWithCJ in #1397
- better-auth proxy forward issue between server and mcp server to handle non-https route by @CodeWithCJ in #1399
- Fix Health Connect body fat sync mapping by @geracobo in #1403
Documentation
- docs(#1346): add build from source instructions to README by @bulkinglb in #1349
Other Changes
- Updated bcrypt to bcryptjs and optimized Dockerfile.backend for better speed. by @CodeWithCJ in #1393
- Delete SparkyFitnessServer/db/migrations/20260527120000_add_allergens… by @CodeWithCJ in #1402
New Contributors
- @bulkinglb made their first contribution in #1333
- @Tronus1409 made their first contribution in #1357
- @geracobo made their first contribution in #1403
Full Changelog: v0.16.6.3...v0.16.7