Skip to content

Garmin Running Data Normalizer v2.2.1

Choose a tag to compare

@tsubotti63 tsubotti63 released this 06 Nov 05:31
· 29 commits to main since this release
7feb9c5

Garmin Running Data Normalizer v2.2.1

These are the release notes for v2.2.1, which fixes small things of the view
page and of the bar at the bottom of the pages of the local GUI. Version
2.2.1 is the current stable release, published from the release-ready main
source after the v2.2.1 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.2.0.

Fixed: the view page

  • Where the page finds, as it gives numbers (when you press the button of the
    period again, for example), that the days, the activity types, or whether
    the output is partial have changed, it opens the output again by itself, as
    choosing the same output folder with Choose another output… does. The
    overview under the panels, the years that Compare years can choose, the
    days that Custom range… can choose, and the list of the activity types
    are then of the output as it is. An enlarged panel and Show as a table
    on a panel are undone, and the years and the races chosen in Compare
    years
    are the first ones again. In 2.2.0, they stayed those of the output
    as it was opened, until it was opened again.
  • In Compare years, choosing another way in Show as after Show as a
    table
    brings back the chart, with its legend; changing the item, the
    years, the month, or the races keeps the table. In 2.2.0, the table stayed.
  • The table of Compare years fits six years or six races in its box at
    1366 × 650 and at 1470 × 830: its places and headings wrap (English at
    spaces, never inside a word), its first column is named by the grouping,
    its counts are headed Count in English, and a line under it says what
    was counted.
  • Words of the view page are clearer: the list of the activities of a day,
    week, month, or year, its limit, and a comparison of years without a value
    name the period by its grouping; an item without a unit reads Same unit
    as Garmin (not named)
    ; the warning of the window of Save as image…;
    and, in Japanese, the bars, the ranges of a distribution, the steps of a
    calendar, this computer, and whether two items are related.

Fixed: the bar at the bottom of the pages

  • The question of quitting (Quit of the normalization page and Quit the
    app…
    of the view page) and that of Forget the remembered settings…
    show right above their buttons, each in a row of its own, ending where the
    button ends; where a narrow window leaves too little room left of the
    button, across the bar. In 2.2.0, they showed at the left end of the bar.
    The order of Tab, the focus, and Escape are as before.

Fixed: forgetting the settings

  • Forget the remembered settings… also removes the half-written files
    that a write of the settings or of the marks leaves when this app stops in
    the middle of it (each holds a copy of them): one whose launch has ended,
    or one older than ten minutes (on Windows, only one older than ten
    minutes). One that another open launch of this app is writing at that
    moment stays. The button can be pressed while only such a file is there.
    It removes neither the Snapshot Store nor the outputs.

Changed

  • standalone can be the first module of the package imported; in 2.2.0, a
    script that imported it first stopped at a circular import. The command
    line and the GUI, which start elsewhere, were not affected.
  • The publish workflow also runs the repository checks and the page tests,
    checks that each distribution that it builds holds the page files, the
    catalogs, and the icons of the source, and checks the page files and the
    catalogs of each version that it installs from the index.
  • The GUI Guide (English and Japanese) says what 2.2.1 changes, answers what
    a third new reader of the guide of 2.2.0 asked, and shows pictures taken
    again with 2.2.1.

Output changes

Outputs record product_version 2.2.1, and what is made from a Snapshot
Store also records parser_version 2.2.1; 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.2.0.

validate-handoff, doctor --run-output, support-bundle, and series of
v2.2.1, and the view page, stop for an output of v2.2.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 output of v2.2.0, normalize its Export again with v2.2.1
into a new folder; with a Snapshot Store, make a new output from the
Snapshots that it holds, without importing them again.

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.2.0.
  • The settings file of the GUI stays of format 2, and the marks stay in
    gui-marks.json next to it: v2.2.1 and v2.2.0 read what the other saves.
  • Python 3.11 or later, and no new runtime dependency.

See the Migration Notes.

How it was checked

  • The release candidate 2.2.1rc1 was published on TestPyPI only and checked
    on macOS before this release (see Release Readiness),
    with synthetic data: its installation from TestPyPI, whose installed files
    are those of its tag; its refusal of an output of 2.2.0 in
    validate-handoff, doctor --run-output, support-bundle, series, and
    the view page, which wrote nothing and left both outputs as they were; what
    2.2.1 changes, in a scripted browser at 1366 × 650 and 900 × 700 in English
    and Japanese, with the images that the view page saves; and by hand in
    Safari and Chrome.
  • For the same synthetic Export, 45 of the 50 files of an output have the
    same bytes in 2.2.0 and 2.2.1rc1, and the other five differ only in the
    version and in what is computed from it; series writes the same files and
    lines in 94 cases.
  • The CI runs the tests with Python 3.11 on Linux and Windows and with Python
    3.15 on Linux, macOS, and Windows.

Not checked, and good to know

  • Windows was not checked by hand for 2.2.1: the fonts, display scaling,
    contrast themes, and Edge of Windows; how the questions of the bar and the
    table of Compare years look there; and updating an installed version
    and its icons. The ten minutes before forgetting removes a half-written
    file on Windows were checked in the CI only.
  • On macOS, opening the icon from the Finder after an update was not checked.
  • In a window about 900 pixels wide, the table of six years of Compare
    years
    moves sideways inside its box; the page itself does not.
  • As in 2.2.0: in English at 1366 × 650, Save and Cancel of the window
    of Save as image… are below the bottom of the screen until the window
    is scrolled; and Escape closes the question of quitting or of Forget the
    remembered settings…
    while the focus is in it, so that after you press
    elsewhere on the page, its own buttons close it.

Install

python -m pip install garmin-running-data-normalizer==2.2.1
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.2.0, follow
Update to a new version, which
stops the GUI first.