Skip to content

chore(release): prepare 0.10.0 - #93

Merged
shaonianche merged 1 commit into
mainfrom
release/0.10.0
Nov 20, 2026
Merged

shaonianche merged 1 commit into
mainfrom
release/0.10.0

Conversation

@shaonianche

Copy link
Copy Markdown
Owner

Release prep for 0.10.0. This PR only bumps the version and builds the changelog; it does not tag or publish.

Why 0.10.0: this is the first release with a Breaking Changes section — decoded invalid FIT values are now None instead of sentinel numbers, so callers doing arithmetic or comparisons must change. Pre-1.0 semver puts that in the minor digit, and a 0.9.18 patch would deliver the break to anyone pinned fit-tool~=0.9.17.

Diff scope: pyproject.toml version, uv.lock version line (same as the 0.9.17 release commit), the new ## Release v0.10.0 (2026-11-20) section, and the consumed news/* fragments. news/.gitkeep is kept.

Fragment decisions

  • news/86.dep is dropped and news/88.dep carries the single Dependencies line: 21.222.0 supersedes 21.221.0.
  • The breaking-change note now covers CSV export: to_csv writes an empty value cell where it used to write the sentinel's decoded value (255 bpm cadence, 65.535 m/s speed, 127.5 % battery_soc), and to_rows() returns None there. Verified against palisade.fit on both the pre-change and current code.

Checks run locally

  • uv run ruff check fit_tool → All checks passed
  • uv run mypy → Success: no issues found in 3 source files
  • uv run pytest → 493 passed, 1 skipped (Garmin JS interop needs FIT_JS_SDK_PATH; CI runs it)
  • uv build → fit_tool-0.10.0-py3-none-any.whl / fit_tool-0.10.0.tar.gz, both accepted by the workflow's name/version gate
  • Workflow changelog gate (awk extraction of ## Release v0.10.0 ) → passes, 47 lines

After merge: tag v0.10.0 on the merge commit and push it to run build → publish → github-release. main is at 18b0e49 and CI is green there; the tag push is a maintainer step.

Bump the package version to 0.10.0 (minor, because this release carries the
first Breaking Changes section) and build the changelog from the pending
fragments:

- invalid FIT sentinel values now decode as None, including the CSV effect
- WIRE record-size false errors and the Activity serial_number requirement
- subfield-gated event components on event.data
- bundled Garmin FIT SDK Profile 21.222.0

news/86.dep is dropped so Dependencies carries the single 21.222.0 line, which
supersedes 21.221.0.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1f85e-6b0b-7474-bcdb-1fa420219d85
@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.43%. Comparing base (18b0e49) to head (88db435).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #93   +/-   ##
=======================================
  Coverage   93.43%   93.43%           
=======================================
  Files          46       46           
  Lines        2771     2771           
  Branches      440      440           
=======================================
  Hits         2589     2589           
  Misses        104      104           
  Partials       78       78           

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shaonianche
shaonianche merged commit 32e100f into main Nov 20, 2026
10 checks passed
@shaonianche
shaonianche deleted the release/0.10.0 branch November 20, 2026 10:33
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.

1 participant