github openathleteorg/openathlete v1.7.0

16 hours ago

Upgrading

  • Fourteen database migrations, run automatically at startup. They add clubs (roles, groups, invitations, join codes, a shared library, weekly club sessions), coach join links, batches of sessions planned for several athletes, scheduled messages, coach dashboard settings and metric alerts, German as a language, the second onboarding and the source of Garmin data. One changes existing data: AI usage is now counted per day instead of per month (ai_usage.month becomes day; past months keep their totals on the 1st). On an instance with Stripe, every paid subscription running when the migration runs becomes a founder subscription, which keeps its price.
  • Hosted AI budget, weekly. AI_HOSTED_MONTHLY_BUDGET_USD still applies without Stripe, now spread over the weeks: the allowance refills every Monday at midnight in each user's time zone.
  • Only if you sell subscriptions with Stripe:
    • Supporter now has three amounts. Create their prices with scripts/stripe/setup-pricing-v2.ts; the API finds them by lookup key. STRIPE_PRICE_SUPPORTER_* only stand in for the lowest amount.
    • Hosted AI with Stripe needs the new AI_HOSTED_BUDGET_SHARE (optionally AI_HOSTED_BUDGET_SHARE_<OFFER>) and AI_EUR_TO_USD. Without them, hosted AI is off and the API logs why at boot; it never fails to start. Users with their own key are not affected.
  • Nothing else to change in your .env or docker-compose.yml. Without Stripe, nothing is required.

Highlights

  • Clubs. A club space with an owner, admins, coaches, assistants and athletes, and groups inside it. Invite a member list or share a join code, keep one workout library for the whole club, plan a session for a group, and run weekly club sessions that land in each member's calendar with who is coming. Free, with no athlete limit.
  • Coaching at scale. Copy a day, a week or a template to several athletes; write to several athletes at once, now or at a set time; choose the coach dashboard's columns, compare athletes and periods, and get alerts on metrics. The sidebar holds thirty athletes, and a shareable link lets athletes join a coach. AI agents can plan for a whole group through the MCP server.
  • Modelled FTP for running and cycling from your recent power, and running power shown in watts (#162, #161, thanks @mrcshllr).
  • German, in the app, the emails, the notifications, the AI texts, the exercise library and the website.
  • A new onboarding, built around connecting your watch, which imports your last three months.
  • Supporter in three amounts, 5, 8 or 12 € a month or 50, 80 or 120 € a year, with the same thank-yous: AI on our keys, now within a weekly allowance, and unlimited coached athletes. Subscriptions taken out before keep their price.
  • The iPhone app is on the App Store, next to the Android app on Google Play.

Fixes

  • Suunto imports your whole history, not only the last 30 days.
  • Garmin activity files keep being retried until a history import saves them, and details of up to 100 MB are accepted.
  • Garmin data is attributed where it is shown.
  • The date picker opens inside a dialog in Safari (#159, thanks @mrcshllr).
  • The calendar batches its real-time refreshes, and autofill no longer triggers keyboard shortcuts.
  • Deleting a club takes its sessions out of the calendars, and a club's link opens sign-up on an invite-only instance.

What's Changed

  • fix(web): the date picker opens inside a dialog in Safari by @mrcshllr in #159
  • feat: model running and cycling FTP from recent power by @mrcshllr in #162
  • fix(shared): show running power in watts by @mrcshllr in #161
  • build(deps): bump the docs group across 1 directory with 4 updates by @dependabot[bot] in #157
  • build(deps): bump the minor-and-patch group across 1 directory with 31 updates by @dependabot[bot] in #168

New Contributors

Full Changelog: v1.6.0...v1.7.0

Don't miss a new openathlete release

NewReleases is sending notifications on new releases.