Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 7, 2025

This PR contains the following updates:

Package Type Update Change
jiff dependencies patch 0.2.15 -> 0.2.16
jiff workspace.dependencies patch 0.2.15 -> 0.2.16

Release Notes

BurntSushi/jiff (jiff)

v0.2.16

Compare Source

===================
This release contains a number of enhancements and bug fixes that have accrued
over the last few months. Most are small polishes. A couple of the bug fixes
apply to panics that could occur when parsing invalid TZ strings or invalid
strptime format strings.

Also, parsing into a Span should now be much faster (for both the ISO 8601
and "friendly" duration formats).

Enhancements:

  • #​298:
    Add Serde helpers for (de)serializing std::time::Duration values.
  • #​396:
    Add Sub and Add trait implementations for Zoned (in addition to the
    already existing trait implementations for &Zoned).
  • #​397:
    Add BrokenDownTime::set_meridiem and ensure it overrides the hour when
    formatting.
  • #​409:
    Switch dependency on serde to serde_core. This should help speed up
    compilation times in some cases.
  • #​430:
    Add new Zoned::series API, making it consistent with the same API on other
    datetime types.
  • #​432:
    When lenient mode is enabled for strftime, Jiff will no longer error when
    the formatting string contains invalid UTF-8.
  • #​432:
    Formatting of %y and %g no longer fails based on the specific year value.
  • #​432:
    Parsing of %s is now a bit more consistent with other fields. Moreover,
    BrokenDownTime::{to_timestamp,to_zoned} will now prefer timestamps parsed
    with %s over any other fields that have been parsed.
  • #​433:
    Allow parsing just a %s into a Zoned via the Etc/Unknown time zone.

Bug fixes:

  • #​386:
    Fix a bug where 2087-12-31T23:00:00Z in the Africa/Casablanca time zone
    could not be round-tripped (because its offset was calculated incorrectly as
    a result of not handling "permanent DST" POSIX time zones).
  • #​407:
    Fix a panic that occurred when parsing an empty string as a POSIX time zone.
  • #​410:
    Fix a panic that could occur when parsing %: via strptime APIs.
  • #​414:
    Update some parts of the documentation to indicate that TimeZone::unknown()
    is a fallback for TimeZone::system() (instead of the jiff 0.1 behavior of
    using TimeZone::UTC).
  • #​423:
    Fix a panicking bug when reading malformed TZif data.
  • #​426:
    Fix a panicking bug when parsing century (%C) via strptime.
  • #​445:
    Fixed bugs with parsing durations like -9223372036854775808s
    and -PT9223372036854775808S.

Performance:

  • #​445:
    Parsing into Span or SignedDuration is now a fair bit faster in some cases.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)

@cakebaker cakebaker merged commit c39b4f1 into main Nov 7, 2025
121 checks passed
@cakebaker cakebaker deleted the renovate/jiff-0.x-lockfile branch November 7, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants