Releases: matinzd/react-native-health-connect
Release 3.3.0
3.3.0 (2024-11-10)
This major release introduces exciting new features that have been long-awaited. I didn’t have the chance to implement these myself, so a huge thanks goes to @ugurakin1 and @taisuke-j for their contributions! They’ve added support for requesting exercise permission routes and enabled grouping by duration with aggregation.
Features
- add aggregateGroupByDuration API (#171) (60efc22)
- adds a new method for requesting exercise permissions (#167) (3cbe841)
Breaking changes
The TimeRangeSlicer
interface has changed a bit. It will accept length
instead of duration
:
export interface DurationRangeSlicer {
duration: 'MILLIS' | 'SECONDS' | 'MINUTES' | 'HOURS' | 'DAYS';
- duration: number;
+ length: number;
}
export interface PeriodRangeSlicer {
period: 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS';
- duration: number;
+ length: number;
}
Release 3.2.1
Release 3.2.0
Release 3.1.2
Release 3.1.1
3.1.1 (2024-09-10)
Caution
V3.x contains a breaking change compared to v2. The readRecords
API result has changed to include pageToken
in the response.
Bug Fixes
Thanks @ugurakin1 for fixing this.
Release 3.1.0
Caution
V3.x contains a breaking change compared to v2. The readRecords
API result has changed to include pageToken
in the response.
What's Changed
Full Changelog: v3.0.0...v3.1.0
Release 3.0.0
3.0.0 (2024-08-09)
Caution
V3.x contains a breaking change compared to v2. The readRecords
API result has changed to include pageToken
in the response.
Features
Breaking Changes
- [BREAKING] feat: return pageToken in readRecords by @Minishlink in #131
Thanks to @Minishlink for the implementation 🌸
Full Changelog: v2.2.0...v3.0.0
Release 2.2.0
Release 2.1.0
2.1.0 (2024-06-30)
Features
Bug fixes
- fix(#90): maximize lib compatibility
Important changes
You don't need to add react-native-health-connect
to app.json
anymore. Adding expo-health-connect
to app.json
should be enough.
Make sure expo-health-connect
is listed under dependencies not devDependencies.