Skip to content

Release 3.3.0

Latest
Compare
Choose a tag to compare
@matinzd matinzd released this 10 Nov 12:25
b0c34c4

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;
}