What's new
- Adds support for pretty much all iOS Health data samples that Shortcuts can export, including Heart Rate, Resting Heart Rate, Heart Rate Variability, Cycling Distance, Steps and Flights Climbed (#2)
- Switches to using Starlette and Uvicorn for the server the CLI starts up
- Switches to using Click for the CLI to improve validation and cross-platform support
- Decouples data parsing from server/CLI code, increasing maintainability in the future
Breaking changes
- Using this version and the new health sample type support requires a different version of the companion Shortcut to be installed. You can grab it here: https://www.icloud.com/shortcuts/22bb56e73c354d9aa76a3678548dfe3a
- The legacy shortcut from Heartbridge v1 will still work, but will raise warnings to upgrade when used with this version. It will be completely deprecated in the next major release.
- Export file naming has changed slightly; if you export Heart Rate data between March 2nd and March 4th as a CSV, your file name will now be
heart-rate-Mar02-2020-Mar04-2020.csv
. - Python 3.8 and higher is now required
All releases from this one forward will follow semantic versioning - this version was pretty much a rewrite of the old package.