Sourced from jiff's changelog.
0.2.8 (2025-04-13)
This release fixes a bug where the constructors on
SignedDuration
for floating point durations could panic (in debug mode) or produce incorrect results (in release mode). This bug only impacts users of thetry_from_secs_{f32,f64}
andfrom_secs_{f32,f64}
methods onSignedDuration
.Enhancements:
- #326: Add an alternate
Debug
impl forSignedDuration
that only shows its second and nanosecond components (while using only one component when the other is zero).Bug fixes:
- #324: Fix a bug that could produce a panic or incorrect results in
SignedDuration::(try_)?from_secs_{f32,f64}
.0.2.7 (2025-04-13)
This release includes a bug fix that changes how an empty but set
TZ
environment variable is interpreted (as indistinguishable fromTZ=UTC
). This also includes a new enabled by default create feature,perf-inline
, which allows toggling Jiff's use ofinline(always)
. This may help improve compile times or decrease binary size.Enhancements:
- #320: Remove some internal uses of generics to mildly improve compile times.
- #321: Add
perf-inline
crate feature for controllinginline(always)
annotations.Bug fixes:
- #311: Make
TZ=
indistinguishable fromTZ=UTC
.
d27af19
0.2.8d1921a8
changelog: 0.2.8093d6b9
signed_duration: add alternate Debug
implementationc939baa
signed_duration: fix panic in
SignedDuration::try_from_secs_f64
3e32e71
0.2.701e2414
changelog: 0.2.706b94b5
jiff-static: add perf-inline
feature to
jiff-static
cd4b25e
vim: remove most linked projects058c317
jiff-cli: re-generate shared
code in
jiff-static
32c4b93
changelog: add recent changes