Releases: christophhagen/HealthKitExtensions
Releases · christophhagen/HealthKitExtensions
0.4.0
This release changes the public-facing API significantly.
- There is now a new wrapper
HealthStore
aroundHKHealthStore
to separate the typed functions. - There are additional functions to query workouts using nicer predicates.
- Renamed
read
functions tosamples
- Allow sorting and filtering of sample arrays
- Improved metadata handling
0.3.3
Allow HKWorkout
in functions for health permission handling:
HKHealthStore().authorizationStatus(for: HKWorkout.self)
0.3.2
Add additional properties for HKCorrelationContainer
s for known associated samples.
0.3.1
- Conform type identifiers to
CaseIterable
- Conform type identifiers to
CustomStringConvertible
- Add default unit to quantity type identifiers
0.3.0
- 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
- Additional parameter
reason
forInsulinDelivery
- 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
Fix availability on iOS 15
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