Breaking change for imperial unit users!
Weights stored in the database since this release are now correctly converted from the user's preferred unit (kilograms or pounds). However, the weights stored before this release were not converted before storing. If you entered "10 pounds", it was stored as "10 kg" but shown as "10 pounds". This means that data entered before this release will be wrong. What was 10 pounds will now show 22 pounds...
If you want to update all weights in the workout table (eg. all your users use pounds), you can run this single query:
update map_data set total_weight = total_weight * 2.20462262;
What's Changed
- chore(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 in the all group by @dependabot in #408
- fix(database): Handle zero duration in workout average speed calculation by @jovandeginste in #409
- feat(import): Implement export and import CLI commands by @jovandeginste in #410
- fix(app): Fix redirect URLs after workout creation by @jovandeginste in #415
- Translations update from Hosted Weblate by @weblate in #413
- Translations update from Hosted Weblate by @weblate in #414
- chore(deps): bump the all group with 5 updates by @dependabot in #418
- chore(deps): bump actions/setup-go from 5.2.0 to 5.3.0 in the all group by @dependabot in #416
- Bump all dependencies by @jovandeginste in #419
- fix(filter): Update the unscoped value for the
since
filter by @jovandeginste in #420 - Development improvements by @jovandeginste in #422
- Ignore templ watch files by @jovandeginste in #423
- Bug fixes and debugging tools by @jovandeginste in #424
- feat(api): Add endpoint to create manual workouts by @jovandeginste in #425
- Add daily measurements by @jovandeginste in #427
- chore(deps): bump golangci/golangci-lint-action from 6.2.0 to 6.3.2 in the all group by @dependabot in #426
- Improve the measurement conversions and interface by @jovandeginste in #428
- Update changelog by @jovandeginste in #430
Full Changelog: v2.0.3...v2.1.0