You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4376f1d
Browse filesBrowse the repository at this point in the historyBrowse files
writes invalid values for null array entries on FIT export
Since @garmin/fitsdk 21.218 the encoder throws on values that are not a
number, string, boolean or date, including null entries inside array
fields. The decoder returns exactly such nulls for unset array slots,
which Garmin files carry in e.g. device settings, so these files could
no longer be exported at all ("Failed to encode FIT file").
Before encoding, null array entries are now replaced with the invalid
value of the field's base type, as the encoder did itself before. Scale
and offset are reversed so the encoder lands on the raw invalid value.
fixes#56
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments