Repository navigation
chore: upgrade garmin fit sdk profile version 21.218.0 - #69
Merged
Merged
Conversation
Replace the bundled Garmin Profile spreadsheet with 21.218.0 from garmin/fit-sdk-tools, bump SDK_VERSION, and regenerate typed profile code. The profile delta adds the battery message (global id 104), 157 new fields across session, lap, length, segment_lap, barometer_data, split, and split_summary, 15 new types, and 19 new enum values (fenix9 family, Approach S72, new manufacturers). Catalog counts move to 124 messages / 1566 fields / 115 enum types; the change is purely additive. Update hardcoded profile version and count snapshots in tests, and drop the superseded 21.213.0 news fragment, which never shipped. Closes #68 Amp-Thread-ID: https://ampcode.com/threads/T-01a1807e-ff92-7664-9b45-5f950bfc7564 Co-authored-by: Amp <amp@ampcode.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #69 +/- ##
=======================================
Coverage 92.72% 92.72%
=======================================
Files 36 36
Lines 2721 2721
Branches 461 461
=======================================
Hits 2523 2523
Misses 117 117
Partials 81 81 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
shaonianche
added a commit
that referenced
this pull request
Oct 28, 2026
Replace the bundled Garmin Profile spreadsheet with 21.218.0 from garmin/fit-sdk-tools, bump SDK_VERSION, and regenerate typed profile code. The profile delta adds the battery message (global id 104), 157 new fields across session, lap, length, segment_lap, barometer_data, split, and split_summary, 15 new types, and 19 new enum values (fenix9 family, Approach S72, new manufacturers). Catalog counts move to 124 messages / 1566 fields / 115 enum types; the change is purely additive. Update hardcoded profile version and count snapshots in tests, and drop the superseded 21.213.0 news fragment, which never shipped. Closes #68 Amp-Thread-ID: https://ampcode.com/threads/T-01a1807e-ff92-7664-9b45-5f950bfc7564
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
21.218.0from garmin/fit-sdk-tools and bumpSDK_VERSIONnews/68.dep(the superseded 21.213.0 fragment is dropped, since it never shipped)Profile delta (purely additive)
battery, global id 104)split,split_summary,lap,session,length,segment_lap,barometer_data)split_status,dive_section_type,apnea_discipline)Catalog counts: 124 messages / 1566 fields / 115 enum types / 164 enum fields. No messages, fields, or type values were removed.
Verification
uv run pytest— 440 passed, 1 skipped (live Garmin JS SDK test needsFIT_JS_SDK_PATH+ Node)uv run ruff check fit_tooland the CI mypy subset — cleanuv run gen-profile— idempotent, no diff on rerunpalisade.fit,activity_multiple_developer_index.fit,stagesLink_25622166.fit) decode then re-encode byte-identically; a newBatteryMessageround-trips through build/parseuv buildsucceedsCloses #68