Skip to content

Commit 3e34d97

Browse files
authored
Merge pull request #4 from Siderust/rework-scales
Update dependencies and refactor format/scale types in tempoch
2 parents dafab2d + 38f482d commit 3e34d97

29 files changed

Lines changed: 2377 additions & 1349 deletions

CHANGELOG.md

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
All notable changes to this project will be documented in this file.
2+
3+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
4+
and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5+
6+
## [0.5.0]
7+
8+
### Breaking
9+
10+
- Renamed `TimeRepresentation``TimeFormat`; canonical module is now
11+
`format` (was `representation`). The old names are still re-exported from
12+
the crate root with deprecation notices for migration.
13+
- Renamed `RepresentationForScale<S>``FormatForScale<S>`.
14+
- Renamed `InfallibleRepresentationForScale<S>`
15+
`InfallibleFormatForScale<S>`.
16+
- Swapped type parameter order on `Coord` and `Offset`:
17+
`Coord<F, S>` / `Offset<F, S>``Coord<S, F>` / `Offset<S, F>`. The
18+
new order (Scale first, Format second) matches `EncodedTime<S, F>` and
19+
makes type signatures read in the natural order "JD on TT" →
20+
`Coord<TT, JD>`.
21+
- Updated all constants in `tempoch::constats` to the new parameter order:
22+
`J2000_JD_TT: Coord<TT, JD>`, `GPS_EPOCH_JD_TAI: Coord<TAI, JD>`, etc.
23+
- Renamed `ScaleKind` variants to follow the `<Format><Scale>` pattern:
24+
- `Tdb``JdTdb`
25+
- `Tai``JdTai`
26+
- `Tcg``JdTcg`
27+
- `Tcb``JdTcb`
28+
- `Ut1``JdUt1`
29+
- `GpsDays``JdGps`
30+
31+
### Changed
32+
33+
- All doc comments now use "format" (not "representation") for the encoding
34+
phantom-type axis.
35+
- `Coord` module documentation updated to clarify the `<S, F>` ordering
36+
convention.
37+
- `tempoch_core::format` is now the canonical public module for format
38+
traits and markers; `tempoch_core::representation` is a re-export shim.
139

240
## [0.4.5] - 2026-05-11
341

@@ -7,11 +45,6 @@
745
- Earth Orientation Parameters finals2000A (IERS)
846
# Changelog
947

10-
All notable changes to this project will be documented in this file.
11-
12-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
13-
and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
14-
1548
## [0.4.4 - 2026-05-09]
1649

1750
### Changed
@@ -45,6 +78,8 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
4578

4679

4780

81+
## [0.4.3 - 2026-05-04]
82+
4883
### Changed
4984

5085
- Updated release dependencies to `affn 0.6.2`, `qtty 0.7.0`, and `qtty-ffi 0.7.0`.

0 commit comments

Comments
 (0)