Skip to content

Commit 9583303

Browse files
committed
Prepare v0.3.4
1 parent 0d881e3 commit 9583303

6 files changed

Lines changed: 18 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# CoursePointer Changelog
22

3+
## v0.3.4
4+
5+
- Use the current time, instead of an arbitrary fixed timestamp, as
6+
`time_created` in the CLI, and as the default value in the library. Thanks to
7+
@nicolacimmino for pointing out that a fixed timestamp can cause devices to
8+
treat different routes as though they have the same unique identifier.
9+
- Updated to GeographicLib 2.5.2.
10+
311
## v0.3.3
412

513
- Changed default FIT sport to Generic.

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "coursepointer"
33
description = "Converts waypoints into Garmin FIT course points"
4-
version = "0.3.3"
4+
version = "0.3.4"
55
edition = "2024"
66
rust-version = "1.85"
77
default-run = "coursepointer"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "coursepointer"
3-
version = "0.3.3"
3+
version = "0.3.4"
44
description = "Add your description here"
55
requires-python = ">=3.13"
66
dependencies = [

src/fit.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,11 @@ impl Default for FitCourseOptions {
840840
// time_created field, as a key to uniquely identify courses, so it
841841
// isn't safe to default to a fixed timestamp. Using the current
842842
// time mimics the behavior of Garmin Connect.
843+
//
844+
// See ANT+'s "FIT File Types Description" document, revision 2.2,
845+
// which states: "If the combination of type, manufacturer, product
846+
// and serial_number is insufficient, [...] the time_created or
847+
// number fields must be populated to differentiate the files."
843848
start_time: Utc::now(),
844849
sport: Sport::Cycling,
845850
product_name: "".to_owned(),

web/coursepointer-wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "coursepointer-wasm"
3-
version = "0.3.3-dev"
3+
version = "0.3.4"
44
edition = "2024"
55
license = "MIT"
66

0 commit comments

Comments
 (0)