Repository navigation
Description
Source: garmin/fit-sdk-tools release 21.222.0 — Profile.xlsx, 278,712 bytes, sha256 8e229cd7c7e17c563c9396f655eb46f143e3a3fd3e8b4c26055813039fc94d22, released 2026-11-17.
The bundled profile is 21.221.0 (#87). Delta, computed by parsing both spreadsheets with fit_tool.gen.profile.Profile:
- 6 new enum values in 3 types:
sub_sport.station= 147;manufacturer.purple_dog_custom= 361,manufacturer.nua= 362;garmin_product.hrm_200_single_byte_product_id= 23,garmin_product.hrm_600_single_byte_product_id= 24,garmin_product.hrm_600= 4607. - No new messages, fields, enum types or file types. Catalog counts are unchanged: 127 messages / 1593 fields / 119 enum types / 167 enum fields.
- One semantic change:
session.total_cyclesnow resolves itstotal_repssubfield forsub_sport = station(147), not onlyfloor_climbing(20).
Observed before/after on a session message with sub_sport = 147:
| 21.221.0 | 21.222.0 | |
|---|---|---|
| DOMAIN/FULL PROFILE validation | Native field session.sub_sport has value 147 outside Profile enum 'sub_sport'. |
no finding |
session.total_reps |
None (falls back to total_cycles) |
120 (same as total_cycles) |
Garmin's 21.222.0 announcement also lists the tsb_* messages and file types, edge_1060 / marq3 / descent_x10, and the fair_weather_athletics / hatch_factory / torqano / rockbros manufacturer ids. Those are already present in 21.221.0, so they are not part of this delta.
Work
- Replace
fit_tool/gen/Profile_21.221.0.xlsxwith the 21.222.0 spreadsheet; bumpSDK_VERSIONinfit_tool/__init__.py - Run
uv run gen-profile. 132 generated modules change; onlyprofile_type.py,field_catalog.pyandmessages/session_message.pychange beyond the# Profile:header - Sync version strings:
README.md,docs/CAPABILITY_BOUNDARY.md(2 spots),docs/FIT_CONFORMANCE_DESIGN.md(3 spots),docs/EPIC_SHA12_RELEASE_NOTES.md,fit_tool/tests/data/README.md(2 spots) - Update the pinned literals in
test_public_api.py,test_garmin_sdk_interop.pyandtest_fit_file_header.py; the validation count snapshots intest_validation_profile.pyare unchanged - Add a
news/<id>.depfragment -
uv run pytest,uv run ruff check fit_tool,uv run mypy
Verification from a dry run
Regenerating in a scratch copy produced 444 passed, 1 skipped and 3 failures — exactly the three pinned version literals above — with ruff clean. The change is purely additive to the profile; no field or message was removed or renamed.
Activity