github SamR1/FitTrackee v1.1.0

5 hours ago

This version includes pace display, elevation correction from OpenElevation API or Valhalla Elevation API, and total calories from the file.
Notes: For workouts uploaded prior to the version 1.1.0, they must be refreshed to displayed the new data (via the User Interface or the Workouts CLI).

Two environment variables have been added to enable elevation correction: OPEN_ELEVATION_API_URL and VALHALLA_API_URL.

A new option has also been added to the Workouts CLI (--with-elevation) to allow refreshing workouts without calling Elevation service (which may result in rate limit issues when a large number of workouts are updated). The missing elevations are updated only when --with-elevation is provided.

Starting with this version, ENABLE_GEOSPATIAL_FEATURES is no longer used and can be removed. In addition, the --add-missing-geometry has also been removed from the Workouts CLI.

Endpoints associated with the gpx file now return the status code 410 Gone.
And the POST method for the endpoint that allows to modify the sports configuration is deprecated and will be removed in a next version.

Warning

  • PostgreSQL 13 is no longer supported.
  • This release contains database migrations (see upgrade instructions in documentation).
  • This version requires all workouts to be updated before installation.
    Otherwise, the following error will be displayed:
$ ftcli db upgrade                                          
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade 141d3978536a -> e63433a1d62e, remove workout_segment.segment_id and workout.gpx
  
  Error:
  Can not run migration, workouts with file and without geometry exist.
  Please downgrade to the previous version of FitTrackee (<1.1.0) and run Workout Refresh CLI with '--add-> missing-geometry' option.

Note: This release note includes the changes from the beta versions.

Features and enhancements

  • #302 - Display pace
  • #701 - Add altitude correction
  • PR#910 - Get elevation from a remote service when missing in the import
  • #976 - Extract and display the total calories stored in file
  • #1025 - Add Whitewater sports
    Notes: For these sports, elevation is displayed, unlike their equivalents on flatwater (see PR#1018)
  • 5ec828e - refresh workout (with file) on sport change
  • 5fa9b6a - CLI - add option to change sport when refreshing workouts
  • PR#1035 - Minor changes
    • updated the order of the Administration menu
    • updated the translation of the maximum speed calculation strategy in user preferences
  • PR#1040 - Change the default value for chart display preferences

Bugs Fixed

  • 30a71bd - added missing error message in translations
  • 0fe6a8d handling of .fit files when the manufacturer value is not a string
  • PR#1031 - minor fixes:
    • fix modal display on error
    • fix stopped speed threshold update when value is invalid
    • fix getting weather when last segment has only one point

Fix on v1.1.0beta3:

  • PR#1042 - Fix statistics display on menu change

Translations

  • PR#1003 - Translations update from Hosted Weblate (German)
  • PR#1034 - Translations update from Hosted Weblate (Kabyle and Russian)
  • PR#1039 - Init Danish and Swedish translations files
  • PR#1041 - Translations update from Hosted Weblate (Galician)

Translation status for languages available on the interface:

  • Basque: 96%
  • Bulgarian: 52%
  • Catalan: 25%
  • Chinese (Simplified): 94%
  • Croatian: 96%
  • Czech: 46%
  • Dutch: 95%
  • English: 100%
  • French: 100%
  • Galician: 96%
  • German: 90%
  • Italian: 96%
  • Kabyle: 5%
  • Norwegian Bokmål: 43%
  • Polish: 94%
  • Portuguese: 51%
  • Russian: 96%
  • Spanish: 68%
  • Turkish: 1%

Misc

  • #952 - Remove unnecessary methods following workouts update in v1.0.0
  • #995 - Drop PostgreSQL13 support

Documentation

  • PR#1032 - fix(docs): send StandardOutput and StandardError to journal
  • 6385ff4 - reorganize and complete the documentation

Thanks to the contributors:

And thanks to the beta-testers for feedback.

Don't miss a new FitTrackee release

NewReleases is sending notifications on new releases.