Skip to content

Releases: christophhagen/HealthKitExtensions

0.4.0

19 Mar 14:39
Compare
Choose a tag to compare

This release changes the public-facing API significantly.

  • There is now a new wrapper HealthStore around HKHealthStore to separate the typed functions.
  • There are additional functions to query workouts using nicer predicates.
  • Renamed read functions to samples
  • Allow sorting and filtering of sample arrays
  • Improved metadata handling

0.3.3

12 Mar 14:44
Compare
Choose a tag to compare

Allow HKWorkout in functions for health permission handling:

HKHealthStore().authorizationStatus(for: HKWorkout.self)

0.3.2

12 Mar 09:26
Compare
Choose a tag to compare

Add additional properties for HKCorrelationContainers for known associated samples.

0.3.1

09 Mar 15:02
Compare
Choose a tag to compare
  • Conform type identifiers to CaseIterable
  • Conform type identifiers to CustomStringConvertible
  • Add default unit to quantity type identifiers

0.3.0

06 Mar 13:24
Compare
Choose a tag to compare
  • All concrete sample types are now structs, instead of type aliases (improves code completion results)
  • Simplified logic using protocols to get rid of additional structs for each type
  • Fixed some bugs with metadata
  • Separate cumulative and discrete samples
  • Expose sample type identifiers on all types

0.2

09 Feb 19:59
Compare
Choose a tag to compare
0.2
  • Additional parameter reason for InsulinDelivery
  • Expose AppleSleepingWristTemperature
  • Expose additional properties with sample types on all samples
  • Fix some read/write permissions for types
  • Add authorisation status overloads

0.1.1

09 Feb 17:09
Compare
Choose a tag to compare

Fix availability on iOS 15

0.1

05 Feb 11:32
Compare
Choose a tag to compare
0.1

First version with all major features.

Open issues:

  • Provide better ways to read data from HKHealthStore
  • Find and prevent ways to easily create runtime errors through forced casts