Skip to content

chore: upgrade garmin fit sdk profile version 21.195.0#27

Merged
shaonianche merged 3 commits intomainfrom
21.195.0
Feb 26, 2026
Merged

chore: upgrade garmin fit sdk profile version 21.195.0#27
shaonianche merged 3 commits intomainfrom
21.195.0

Conversation

@shaonianche
Copy link
Owner

@shaonianche shaonianche commented Feb 26, 2026

Close: #26

Signed-off-by: friendsa <github@duanfei.org>
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @shaonianche, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a routine update of the Garmin FIT SDK profile version to 21.195.0. This ensures the fit_tool library remains compatible with the latest Garmin FIT protocol, incorporating any new data types, messages, or fields introduced in this version. The changes primarily involve updating version constants and autogenerated code comments to align with the new profile.

Highlights

  • Garmin FIT SDK Profile Version Update: The core SDK profile version has been upgraded from 21.194.0 to 21.195.0 across the codebase, indicating support for the latest Garmin FIT protocol specifications.
  • New Manufacturer Added: A new manufacturer, REAL_VELO with ID 345, has been added to the Manufacturer enum in profile_type.py.
  • Autogenerated Message Files Update: Numerous autogenerated message files within the fit_tool/profile/messages directory have been updated to reflect the new SDK profile version in their header comments.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • fit_tool/init.py
    • Updated SDK_VERSION from '21.194.0' to '21.195.0'.
  • fit_tool/profile/messages/aad_accel_features_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/accelerometer_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/activity_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/ant_channel_id_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/ant_rx_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/ant_tx_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/aviation_attitude_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/barometer_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/beat_intervals_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/bike_profile_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/blood_pressure_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/cadence_zone_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/camera_event_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/capabilities_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/chrono_shot_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/chrono_shot_session_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/climb_pro_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/common_fields.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/connectivity_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/course_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/course_point_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/developer_data_id_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/device_aux_battery_info_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/device_info_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/device_settings_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/dive_alarm_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/dive_apnea_alarm_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/dive_gas_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/dive_settings_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/dive_summary_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/event_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/exd_data_concept_configuration_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/exd_data_field_configuration_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/exd_screen_configuration_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/exercise_title_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/field_capabilities_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/field_description_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/file_capabilities_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/file_creator_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/file_id_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/goal_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/gps_metadata_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/gyroscope_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hr_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hr_zone_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hrm_profile_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hrv_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hrv_status_summary_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hrv_value_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_accelerometer_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_body_battery_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_configuration_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_event_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_gyroscope_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_heart_rate_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_respiration_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_spo2_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_step_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_stress_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/hsa_wrist_temperature_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/jump_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/lap_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/length_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/magnetometer_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/max_met_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/memo_glob_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/mesg_capabilities_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/message_factory.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/met_zone_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/monitoring_hr_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/monitoring_info_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/monitoring_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/nmea_sentence_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/obdii_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/ohr_settings_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/one_d_sensor_calibration_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/power_zone_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/raw_bbi_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/record_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/respiration_rate_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/schedule_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/sdm_profile_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/segment_file_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/segment_id_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/segment_lap_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/segment_leaderboard_entry_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/segment_point_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/session_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/set_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/skin_temp_overnight_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/slave_device_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/sleep_assessment_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/sleep_disruption_overnight_severity_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/sleep_disruption_severity_period_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/sleep_level_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/software_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/speed_zone_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/split_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/split_summary_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/spo2_data_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/sport_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/stress_level_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/tank_summary_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/tank_update_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/three_d_sensor_calibration_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/time_in_zone_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/timestamp_correlation_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/totals_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/training_file_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/training_settings_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/user_profile_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/video_clip_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/video_description_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/video_frame_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/video_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/video_title_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/watchface_settings_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/weather_alert_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/weather_conditions_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/weight_scale_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/workout_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/workout_session_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/workout_step_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/messages/zones_target_message.py
    • Updated profile version comment to 21.195.0.
  • fit_tool/profile/profile_type.py
    • Updated profile version comment to 21.195.0.
    • Added 'REAL_VELO' to the Manufacturer enum with value 345.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request upgrades the Garmin FIT SDK profile version to 21.195.0. The changes primarily consist of updating the SDK version constant and regenerating various profile files. This is reflected in updated comment headers across numerous files and the addition of a new manufacturer, REAL_VELO, to the Manufacturer enum in fit_tool/profile/profile_type.py. The changes are consistent with the stated goal of the pull request and appear to be correct.

@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.10%. Comparing base (42fbd5f) to head (8f4f93c).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage   89.10%   89.10%           
=======================================
  Files          21       21           
  Lines        1404     1404           
  Branches      300      300           
=======================================
  Hits         1251     1251           
  Misses        109      109           
  Partials       44       44           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shaonianche shaonianche merged commit 61f5862 into main Feb 26, 2026
6 checks passed
@shaonianche shaonianche deleted the 21.195.0 branch February 26, 2026 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

upgrade garmin fit sdk profile version 21.195.0

1 participant