github the-momentum/open-wearables 0.4.3

latest release: 0.5.0
21 days ago

Highlights

Grace-period feature flag for automatic historical sync on provider connect

A HISTORICAL_SYNC_ON_CONNECT flag has been added, which is set to True by default and ensures that historical data is synchronised when pairing devices with Open Wearables (as was the case prior to version 0.4.2). In about two months’ time, we will remove it, and from then on, syncing historical data will require pressing a separate button by default in our UI portal or by accessing separate endpoint /api/v1/providers/{provider}/users/{user_id}/sync/historical when you integrate your backend. You can switch to this functionality now by setting this variable in .env to False, which we recommend.

Open Wearables Health Scores (Sleep & Resilience)

Warning

Our scores are still in beta, so there may be bugs & the algorithms may change

We are officially introducing our own proprietary scores! This release brings the new Sleep Score and Resilience Score, calculated directly by Open Wearables. To support this, we've added background Celery tasks that automatically calculate daily sleep scores for your users. Huge thanks to @anjazych, @FBegiello and @czajkub for driving these new composite metrics.

Outgoing Webhooks

Warning

This is also beta functionality, so bugs may still occur.

By popular demand, we've added support for outgoing (external) webhooks. Your application can now listen to events and data streams from Open Wearables in real-time, greatly improving sync architecture and reducing the need for polling. Full documentation for this feature is now available here: https://openwearables.io/docs/api-reference/guides/webhooks

Dashboard & Observability Upgrades

We've made several quality-of-life improvements for developers. You'll find a new SDK logs endpoint to help with sync observability, and a handy "seed data generator" built straight into the dashboard settings to speed up your testing and development workflows.

What's Changed

Integrations

  • feat: Save health scores from Garmin and Whoop by @czajkub in #818
  • fix: resolve source name correctly for workouts/sleep by @czajkub in #815

API & Backend

  • feat: introduce Sleep Score by Open Wearables by @FBegiello in #787
  • feat: introduce Resilience Score by Open Wearables by @FBegiello in #803
  • feat: add celery tasks for calculating daily sleep scores by @czajkub in #826
  • feat(backend): outgoing (external) webhooks by @KaliszS in #821
  • feat: add SDK logs endpoint for sync observability by @bartmichalak in #819
  • feat(backend): grace-period feature flag for automatic historical sync by @KaliszS in #850

Frontend & Dashboard

Docs & SEO

Chores

New Contributors

Full Changelog: 0.4.2...0.4.3

Don't miss a new open-wearables release

NewReleases is sending notifications on new releases.