# July Updates 2024

Check out what we've been doing at Terra over the month of July 2024!

## Backend 💾

### Integrations

* Eight Sleep integration is now live again!

### Features

* Provider user ID can now be retrieved from athlete payload for MyFitnessPal
* Add a fallback for average breaths per minute calculation for Polar in case it is not provided
* Updated and added new activity type mappings for Fitbit
* Improve retrieval speed and details in planned workouts for TrainingPeaks

### Bug fixes

* Fixed a bug where Oura weren't returning the correct min and average heartrate values. We now compute these from ourself instead!
* Fixed a bug where steps value in a fall back case, could return an object instead of None for Fitbit/Daily
* Fixed a bug where Polar Hr samples were not returning timestamps in microseconds correctly
* Fixed a bug where Apple synced sleep data into GoogleFit had very large asleep time values
* Fixed an issue where HealthGauge integration were not allowing for auth
* Fixed a bug where Garmin may sometimes send a duplicate payload
* Fixed a bug with requests to Huawei where it would return Forbidden due to too many data types requested
* Fix a bug where microseconds were truncated for RR intervals for Apple body payloads

## Health Scores

* Stress score has been added! You can now get a Stress rating for each activity done for each user!

## Teams API

* Kinexon Integration
* Catapult Integration
* Added custom Terra enumerations for metrics!

***

## SDK 📱

### [TerraiOS](ref:reference-ios-sdk)

* Fixed a bug where sleep data synced into Health Kit from Ultrahuman were not being returned correctly

### [TerraAndroid](ref:reference-android-sdk)

* Fixed an issue where Google Playstore may pin an issue on Terra's SDK for weak encryption algorithm used


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tryterra.co/changelog/2024/2024-july-updates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
