# April Updates 2024

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

## Backend 💾

### Features

* Developer Reference Id, Created\_at and Last\_webhook\_update fields are now always filled for all users in all payloads
* The endpoint [List Integrations (Detailed)](ref:list-integrations-detailed) now returns "enabled" field that matches the status on your Dashboard for the corresponding integration
* Added timer duration seconds to heart rate samples
* Added menstruation phase to menstruation data
* Data from cronometer now includes meal type for each food added
* Reduce Fitbit Requests to only summary in case "with\_samples" is set to false or Samples Scope is disabled
* Added Monosaturated Fat and Polysaturated Fat for MyFitnessPal
* Added Potassium and Quantity Units to MacrosFirst data

### Bug fixes

* Fixed a bug where webhook retries were not being properly retried when failed to send to webhook
* Fixed a bug where Oura users were allowed to auth without the "email" scope enabled
* Fixed a bug where sometimes sleep payloads were being deduplicated (not sent) even though there were new samples within causing a delay in some sleep payloads being updated.
* Fixed a bug where sometimes (rarely), the last sample timestamp on certain samples in an activity payload could be later than the end time reported
* All timestamps coming from the generator now adheres to the full ISO8601 format that we send: yyyy-MM-ddTHH:mm:ss.SSSSSS+ZZ:ZZ (i.e 2024-04-29T00:00:00.000000+00:00)
* Fixed a bug where Macronutrient was not returning the correct nutritional schema
* Fixed a bug where sometimes Apple Health Activities were not correctly labelled as "indoors"

### Graph API

* New customization options available:
  * Text color
  * Tick color
* Support summing metrics when multiple occur in a day (e.g. total sleep duration, counting naps)
* Improve graph display for garmin devices, which previously needed a refresh before displaying properly
* Graph API is now free of charge for staging & testing environments :money-with-wings:

***

## SDK 📱

### [TerraRTiOS](ref:reference-stream-heart-rate-ios-sdk)

* Add in Websocket event listener (will return if each message successfully sent or error'd)
* Fixed a race condition regarding internal connection to BLE devices (<https://forums.developer.apple.com/forums/thread/69100>)

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

* Fixed a bug where wrist temperature delta sends "0" even though the reading does not exist

### [TerraFlutterBridge](ref:reference-flutter-sdk)

* Extended Samsung Health native SDK Functionality to flutter under version: 0.7.0-samsung.1

***

## Frontend📺

### Dashboard

* Added Backfill trigger for SDK users under Dashboard via <https://dashboard.tryterra.co/dashboard/debug>

### Landing Page

* New Navigation bar on tryterra.co
* Created new Tutorial Page (<https://tryterra.co/terra-tutorial>)
* Terra enterprise page (<https://tryterra.co/enterprise>)
