Skip to content

v1.3.0

Latest

Choose a tag to compare

@DTTerastar DTTerastar released this 21 Jul 02:19
6cbb1dc

Output contract

  • bodyweight is now a JSON number in workouts list / workouts show (#33). It was emitted as a quoted string ("175") while workouts stats emitted the same field as a number — one field, two types depending on subcommand. It is now a number everywhere, or null when absent or unparseable. null rather than 0 so a missing measurement can't be mistaken for a real one. This is a breaking change for consumers that read bodyweight as a string.
  • New sessionDurationSeconds field (#36). sessionDuration was only available as a human phrase ("01 hours 06 minutes 01 seconds") sitting next to genuinely numeric caloriesBurned and prCount. The numeric field is additive — the human string is preserved, so existing consumers are unaffected.
  • No more usage dump on error (#31). Cobra printed its full usage/flags block to stderr on any flag-parse or RunE failure, burying the actual message. Errors are now a single Error: <msg> line on stderr, exit 1; stdout stays data-only. --help and bare invocation are unchanged.

Fixes

  • One bodyweight row per day (#30). Bodyweight is read off each workout post, so logging two workouts on one calendar day produced two rows for that date, double-counting it in per-day trend and plateau analysis. Entries now collapse to one row per local calendar day, keeping the latest measurement. Applies to both bodyweights list and the monthly averages in bodyweights stats.
  • Routines: no more placeholder sets (#51). Zero-weight/zero-rep placeholder sets were rendered as real sets, and bodyweight-only movements picked up a meaningless @+0 suffix.

Install

brew tap quantcli/tap
brew install liftoff-export
# or upgrade:
brew upgrade liftoff-export

What's Changed

  • bodyweights: collapse to one row per local day (#30) (#53)
  • workouts list/show JSON: numeric bodyweight + sessionDurationSeconds (#33, #36) (#54)
  • Silence cobra usage/error dump on failure (#31) (#52)
  • fix(routines): drop placeholder zero sets and "@+0" bodyweight suffix (#51)

Thanks to @vinistoisr for #52, #53, and #54.

Full Changelog: v1.2.0...v1.3.0