Skip to content

Garmin Running Data Normalizer v2.2.0

Choose a tag to compare

@tsubotti63 tsubotti63 released this 04 Nov 13:27
· 41 commits to main since this release
4546a1b

Garmin Running Data Normalizer v2.2.0

These are the release notes for v2.2.0, which adds ways to look at the
numbers of an output on the view page of the local GUI. Version 2.2.0 is the
current stable release, published from the release-ready main source after the
v2.2.0 tag, GitHub Release, and Production PyPI publication gates. For the same
input, timezone, and options, the normalization, its outputs, and the Snapshot
Store are those of v2.1.0.

Added: layouts

  • Layouts above the item shelf holds six built-in layouts of items
    (Running, Sleep and heart rate, Running volume, Running form, Load, and
    Garmin estimates) and up to 20 of your own, each of one to six items.
    Manage layouts… renames, moves, overwrites, and removes your own, and
    hides or shows the built-in ones.
  • A layout holds the items and their order. The period, the grouping, and the
    activity types are remembered apart.

Added: Compare years

  • Compare years in the heading of a panel compares its item year by year,
    for up to six years: One row per year, Overlay, Running total, or
    Calendar (the days of each year, colored by their values), each also
    with Show as a table. Show all panels again goes back.
  • Compare by race day lines up the years by your race marks, by week,
    when there are two race marks or more.

Added: marks and the activities of a period

  • Marks… keeps your own events on the panels: a race, an injury, new
    shoes, or another one, on a day or over a span, with a name.
  • On a panel of the training or running-form items, a period of the chart
    opens the list of the activities of that period under the panel.

Added: other views and the summary

  • Other views shows Plot two items, Distribution, or By shoes
    in the place of the panels.
  • Summary… opens a table of the items of the panels: the value of each in
    the period shown and in the period of the same length just before it, and
    their difference.

Added: conditions

Conditions… chooses the activities of the training and running-form items
by the words of their names, a distance, and a duration, for the panels and
the other views. series takes no conditions: its numbers are those of the
page without conditions.

Added: saving as an image

Save as image… saves what you see, the panels, a comparison of years, or
another view, as one SVG file. With the panels, its window chooses all of
them or one, the light colors or those of the screen, and whether the marks
go in. A panel shown as a table, the overview, the list, and the buttons do
not go in.

Added: what the GUI remembers

  • The view of the view page: the layout and items, the period, the grouping,
    the activity types, and how years are compared, as you left them.
  • The timezone of the last run that made an output, which a later run takes
    on the page of the GUI.

Changed

  • The settings file of the GUI is of format 2. v2.2.0 reads a file of format 1
    and writes it again as format 2. Once v2.2.0 has saved its settings, v2.1.0
    does not use the file and starts as at a first launch, without writing over
    it, so that what v2.2.0 remembers is kept. The marks are in gui-marks.json
    next to it.
  • Forget the remembered settings… of v2.2.0 removes the settings and the
    marks, which cannot be restored. That of v2.1.0 removes the settings file
    only, and the marks stay.
  • At every request of numbers, the view page checks that the output is as it
    was, and reads it again where it changed, and when the date changes.
  • The GUI Guide (English and Japanese) describes what the view page adds, with
    pictures from synthetic data.

Fixed: three problems of 2.1.0

  • At a later launch, the timezone was taken as the default Asia/Tokyo even
    when the run before had used another one. The timezone of the last run that
    made an output is now remembered.
  • Settings whose file would be over 64 KiB were written, and then the file
    could not be read at the next launch. They are now not written, the file
    before stays, and the page says that they were not remembered.
  • Under a heavy load, the operating system could refuse a connection that
    waited for the server, which the view page took for a stopped app. More
    connections now wait for the server (64 instead of 5).

Output changes

Outputs record product_version 2.2.0, and what is made from a Snapshot
Store also records parser_version 2.2.0; the values that include them
change with them: the digests and hashes, and the sizes of the files that
hold the version. The datasets, fields, audit records, and warning codes are
those of v2.1.0.

validate-handoff, doctor --run-output, support-bundle, and series of
v2.2.0, and the view page, stop for an output of v2.1.0 with
OUTPUT_OTHER_VERSION, as each version does for the outputs of other
versions; for an output of v1.3, which passes the checks, series and the
view page stop with SERIES_OUTPUT_OTHER_VERSION. The GUI shows the change
since an earlier output only for an output of the same version. To look at
the numbers of an earlier output, normalize its Export again with v2.2.0 into
a new folder.

Compatibility

  • The 17 datasets, 247 fields, stable keys, and output paths are unchanged.
  • Snapshot Stores need no migration. The Snapshot lifecycle contract and
    policy registry stay v1.0, and the store format stays 1.
  • The Product exit mapping stays PASS -> 0, PASS_WITH_WARNINGS -> 0,
    PARTIAL_SUCCESS -> 3, and Fatal -> 2, with 130 for Ctrl+C.
  • PARTIAL_SUCCESS / exit 3 is a completed result: the Activities are valid
    and a file or row was left out, which the warnings name. It is not a Fatal
    result.
  • The commands and options of the CLI are those of v2.1.0.
  • The settings file of the GUI is of format 2 (see Changed).
  • Python 3.11 or later, and no new runtime dependency.

See the Migration Notes.

How it was checked

  • Two release candidates were published on TestPyPI only and checked before
    this release (see Release Readiness):
    • 2.2.0rc1, on macOS: its installation from TestPyPI, the view page in a
      scripted browser, and by hand in Safari and Chrome with a synthetic
      Export;
    • 2.2.0rc1, with the maintainer's own real Export, on macOS, by a script
      that recorded only whether each check passed (the normalization has not
      changed since);
    • 2.2.0rc1, on one physical Windows 11 PC, with Windows PowerShell 5.1,
      Python 3.14.5, Microsoft Edge, and the display at 150%: the line of the
      README for a release candidate, which installed it from TestPyPI; a
      synthetic Export normalized on the page; parts of what 2.2.0 adds to the
      view page; its tabs, full screen, saving an image, and quitting from it;
    • 2.2.0rc1, by two new AI sessions with no context: one read the parts of
      the GUI Guide marked as from 2.2.0, and one used the view page from its
      screen only and found the answer to a question;
    • 2.2.0rc2, with the words and looks that those checks found, on macOS:
      its installation from TestPyPI, what changed in a scripted browser at
      three sizes in English and Japanese, its refusal of an output of
      2.2.0rc1, and by hand in Safari and Chrome with a synthetic Export. For
      2.2.0rc2, the fonts, display scaling, contrast themes, and Edge of
      Windows, and the width of the text of a saved image opened there, were
      not checked.
  • The CI runs the tests with Python 3.11 on Linux and Windows and with Python
    3.15 on Linux, macOS, and Windows.

Install

python -m pip install garmin-running-data-normalizer==2.2.0
garmin-running-data-normalizer --version

To install the GUI with its icon, use the line in
What you need of the GUI Guide. To update an
installed v2.1.0, follow
Update to a new version, which
stops the GUI first.