🚀 What’s New in LifeOps v1.2.0 — Sport Pagination & Mobile Resilience
LifeOps v1.2.0 optimizes end-to-end mobile reliability and query scalability across growing activity histories on Supabase and Render free tier:
- Server-Side
12 / 24 / 48Pagination & RPC Summary (lifeops.sport_summary): The Fitness Module fetches only the active page (O(12)) while preserving full historical KPIs (total distance, calories, total sessions, and personal bests) viainclude_summaryand a PostgreSQL aggregate RPC. - PostgREST Embedded Joins & Compound Indexes: Eliminates linear
.in_()queries with single-roundtripselect('*, workouts(*)')joins, backed by compound indexes (user_id, category, date DESC, created_at DESC, id DESC),GZipcompression, andServer-Timingobservability. - Local JWT
ECC (P-256) / ES256Verification via JWKS: In-memory signature validation through a cachedPyJWKClient(0 msnetwork roundtrips to Supabase Auth) with immediateO(1)rejection of forged or expired tokens. - Mobile Resilience &
0 msSWR Cache: Silent session auto-refresh on HTTP401, exponential backoff retries with a75 swindow to absorb Render cold starts, background-paused alert polling (document.hidden), touch-friendly mobile cards (≥ 44 px), and ≥ 60 deterministic workouts in Sandbox Demo mode.