Skip to content

Releases: matinzd/react-native-health-connect

Release 3.3.0

10 Nov 12:25
b0c34c4
Compare
Choose a tag to compare

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

10 Oct 18:51
781cfb9
Compare
Choose a tag to compare

3.2.1 (2024-10-10)

Bug Fixes

  • pod install failure on ios with new architecture turned on (#169) (d7a2c1f)

Release 3.2.0

09 Oct 14:50
8c2cf39
Compare
Choose a tag to compare

3.2.0 (2024-10-09)

Caution

V3.x contains a breaking change compared to v2. The readRecords API result has changed to include pageToken in the response.

Features

Release 3.1.2

09 Oct 09:39
0edc1a2
Compare
Choose a tag to compare

3.1.2 (2024-10-09)

Caution

V3.x contains a breaking change compared to v2. The readRecords API result has changed to include pageToken in the response.

Bug Fixes

  • fixes type definition for PowerRecordResult where samples would be missing time field (#166) (b3e4470)

Release 3.1.1

10 Sep 21:16
0a1685e
Compare
Choose a tag to compare

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

  • fixes incorrectly mapping from granted permissions to record types (#153) (175dcfe)

Thanks @ugurakin1 for fixing this.

Release 3.1.0

09 Aug 09:03
9c87f49
Compare
Choose a tag to compare

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

  • feat: add metadata input for all types by @matinzd in #133

Full Changelog: v3.0.0...v3.1.0

Release 3.0.0

09 Aug 07:59
7601b32
Compare
Choose a tag to compare

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

Thanks to @Minishlink for the implementation 🌸

Full Changelog: v2.2.0...v3.0.0

Release 2.2.0

04 Aug 10:59
d1df454
Compare
Choose a tag to compare

2.2.0 (2024-08-04)

Bug Fixes

Features

  • add support to elevation gained aggregation (#129) (f513500)
  • add zoneOffset to ExerciseSessionRecord results (#126) (6965097)

Release 2.1.0

30 Jun 20:17
a9d5cbb
Compare
Choose a tag to compare

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.

v2.0.3

16 May 21:16
703b579
Compare
Choose a tag to compare

2.0.3 (2024-05-16)

Bug Fixes

  • lib crashing when proguard is enabled (#93) (b296bd5)