What's Changed
Bug Fixes
-
Email MFA detection (PR #371 by @jedrazb): Widget SSO login failed to detect the "GARMIN Authentication Application" page title used for email one-time-code MFA, causing login to fail for accounts using email-based MFA instead of an authenticator app.
-
Workout ConditionType IDs (issue #370): Several end-condition type IDs were wrong — DISTANCE was 1 (correct: 3), HEART_RATE was 3 (correct: 6), POWER was 6 (correct: 5), and CADENCE was 5 (not a valid end condition). Workouts using distance or heart-rate end conditions were silently sending incorrect IDs to Garmin. Also adds LAP_BUTTON, FIXED_REST, FIXED_REPETITION, and REPS.
-
Workout enum corrections (follows from #370): SportType corrected (SWIMMING was 3→4, MULTI_SPORT 5→10, OTHER 8→3) and expanded with STRENGTH_TRAINING, CARDIO_TRAINING, YOGA, PILATES, HIIT, MOBILITY. TargetType renamed for clarity (PACE_ZONE, POWER_ZONE, HEART_RATE_ZONE, SPEED_ZONE) and expanded with GRADE, HEART_RATE_LAP, POWER_LAP, POWER_3S (10), POWER_10S (11), POWER_30S (12), RESISTANCE. StepType adds OTHER and MAIN. (Resolves #336 — power.10s target type is now available as TargetType.POWER_10S.)
Tests
- Full coverage for widget MFA detection and completion flow
- Regression tests pinning all corrected workout constant values