Skip to content

Releases: matinzd/react-native-health-connect

Release 3.3.2

28 Dec 15:56
e44d297
Compare
Choose a tag to compare

3.3.2 (2024-12-28)

Bug Fixes

  • saving VO2_MAX recording does not work (#189) (c8cc34b)

New Contributors

Full Changelog: v3.3.1...v3.3.2

Release 3.3.1

23 Nov 16:25
851c65b
Compare
Choose a tag to compare

3.3.1 (2024-11-23)

Bug Fixes

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

  1. 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;
}
  1. Request permission API has changed and does not accept package name anymore. The new signature looks like this:
function requestPermission(
  permissions: (Permission | WriteExerciseRoutePermission)[]
): Promise<Permission[]>

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)