Update Rust crate jiff to v0.2.9 #17508
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.4->0.2.9Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
BurntSushi/jiff (jiff)
v0.2.9Compare Source
==================
This release includes a bug fix that, in debug mode, could result in datetime
types having different hashes for the same value. This could cause problems,
for example, if you are using datetimes as keys in a hash map. This problem
didn't exist when Jiff was compiled in release mode.
This release also improves the panic message shown when the
jsfeature isn'tenabled and the current time is requested on
wasm32-unknown-unknowntargets.Enhancements:
Provide a better panic message when
Zoned::now()fails on WASM.Bug fixes:
Fix bug where
Hashon datetime types could yield different hash values forthe same underlying date/time.
v0.2.8Compare Source
==================
This release fixes a bug where the constructors on
SignedDurationfor floating point durations could panic (in debug mode) or produce
incorrect results (in release mode). This bug only impacts users of
the
try_from_secs_{f32,f64}andfrom_secs_{f32,f64}methods onSignedDuration.Enhancements:
Add an alternate
Debugimpl forSignedDurationthat only shows its secondand nanosecond components (while using only one component when the other is
zero).
Bug fixes:
Fix a bug that could produce a panic or incorrect results in
SignedDuration::(try_)?from_secs_{f32,f64}.v0.2.7Compare Source
==================
This release includes a bug fix that changes how an empty but set
TZenvironment variable is interpreted (as indistinguishable from
TZ=UTC).This also includes a new enabled by default create feature,
perf-inline,which allows toggling Jiff's use of
inline(always). This may help improvecompile times or decrease binary size.
Enhancements:
Remove some internal uses of generics to mildly improve compile times.
Add
perf-inlinecrate feature for controllinginline(always)annotations.Bug fixes:
Make
TZ=indistinguishable fromTZ=UTC.v0.2.6Compare Source
==================
This release includes a few bug fixes and support for discovering the IANA Time
Zone Database automatically on Illumos.
Enhancements:
Add support for automatically finding the tzdb on Illumos.
Bug fixes:
Fixed
Zonedrounding on days with DST time zone transitions.Fixed bug where
TimeZone::precedingcould omit historical time zonetransitions for time zones that have eliminated DST in the present.
Fixed
nth_weekday_in_month, where it would sometimes incorrectly return anerror.
v0.2.5Compare Source
==================
This release updates Jiff's bundled copy of the [IANA Time Zone Database] to
2025b. See the [2025brelease announcement][2025b release announcement] for more details.Enhancements:
Update
jiff-tzdbto2025b.Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.