Skip to content

Update Rust crate jiff to v1 - #80

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/jiff-1.x
Closed

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/jiff-1.x

Conversation

@renovate

@renovate renovate Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
jiff workspace.dependencies major 0.2 → 1.0

Release Notes

BurntSushi/jiff (jiff)

v1.0.0

Compare Source

==================
This marks the Jiff 1.0 release. Barring some unforeseen major problem with the
API, this release marks an indefinite commitment to 1.x.y. Consumers of this
library should feel confident about putting Jiff types into their public API.
New major versions of Jiff will not be made lightly.

The most significant breaking change in this release large but simple: the
Zoned type has been renamed to ZonedDateTime. This also impacts APIs like
Timestamp::to_zoned, which are now called Timestamp::to_zoned_datetime. The
remaining breaking changes are pretty minor and shouldn't impact most users.

Enhancements:

  • 3211f23:
    Bump MSRV to Rust 1.85.
  • #​262:
    Use core::error::Error in lieu of std::error::Error.
  • #​314:
    BREAKING: Make Zoned::iso_week_date take &self instead of self.
  • #​624:
    Make more methods take &self.
  • #​471:
    Turn Custom into a trait object.
  • #​499:
    BREAKING: Make Offset::saturating_add fallible.
  • #​629, #​626:
    BREAKING: Make impl Sub for Timestamp return a SignedDuration.
  • #​436:
    BREAKING: Seal the ToSpan trait.
  • #​463:
    Provide an accessor for an underlying std::io::Error.
  • #​467:
    BREAKING: Make conversions from Timestamp to SystemTime fallible.
  • #​374:
    BREAKING: Rename Zoned to ZonedDateTime.
  • #​618:
    BREAKING: Make jiff_tzdb::VERSION required.
  • c03581f:
    Add Span::to_friendly routine as a convenience for format("{:#}", span).

Documentation:

  • #​545:
    Clarify specification labeling in formatting table.
  • #​630:
    Clarify the use of the propleptic Gregorian calendar.

Performance:

  • 4d66e92:
    Add inline(never) to strtime routine.

v0.2.46

Compare Source

===================
Bug fixes:

  • #​707:
    jiff_core::util::ArrayStr has an unsound API.

Documentation:

  • #​709:
    Fix documentation inconsistencies.

Performance:

  • #​708:
    Skip extension parsing for plain directives in strptime.

v0.2.45

Compare Source

===================
Enhancements:

  • #​483:
    Support ECMAScript's "primary" time zone identifiers.

Bug fixes:

  • #​701:
    Handle zero span multiplication.
  • #​702:
    Constrain ISO week numbers to the year's last week.
  • #​703:
    Timestamp::checked_add_seconds produces incorrect results across the Unix epoch.

v0.2.44

Compare Source

===================
Enhancements:

  • #​697:
    Upgrade Jiff's bundled IANA Time Zone Database to tzdb 2026f.
  • #​694:
    Make jiff::civil::Weekday methods const where possible.

Bug fixes:

  • #​695:
    Timestamp subtraction assignment.
  • #​696:
    Correct some boundary conditions on Timestamp.

v0.2.43

Compare Source

===================
This release includes a few new minor API additions.

Enhancements:

  • #​651:
    Add jiff::tz::reset_system_time_zone_cache.
  • #​653:
    Expose relative builder option on Span* types.
  • #​689:
    Add jiff_core::tz::posix::ParseError::is_missing_dst_transition_rule
    predicate.

v0.2.42

Compare Source

===================
This release includes a couple of bug fixes where panics could occur when they
should not have been. Specifically in Span::total and Span::checked_add.

Bug fixes:

  • #​683:
    Fix a panic in Span::checked_add when an internal addition would overflow
    a SignedDuration's minimum/maximum values.
  • #​685:
    Fix a panic in Span::total when a time zone transition boundary was crossed.

v0.2.41

Compare Source

===================
This release includes a bug fix for time zone transition lookups for timestamps
before the Unix epoch with a non-zero nanosecond component.

Bug fixes:

  • #​678:
    Fix timezone transition lookup in TZif data for negative timestamps with a
    non-zero nanosecond component.

v0.2.40

Compare Source

===================
This release should help reduce the number of entries Jiff adds to Cargo.lock
by default. This also improves performance for datetime<->timestamp
conversions.

Enhancements:

  • #​643:
    Don't add defmt and its dependencies to Cargo.lock when the defmt
    feature isn't enabled.

Performance:

  • #​640:
    Add branch-free implementation for part of datetime <-> timestamp conversions.

v0.2.39

Compare Source

===================
This release gathers a smattering of performance improvements and bug fixes.

Enhancements:

  • #​646:
    Added optional serde support to jiff-sqlx.
  • #​659:
    Update the Windows time zone names.
  • #​665:
    Avoid allocating IANA name during a Zoned::strftime call.
  • #​666:
    Avoid a second offset lookup when adding calendar units.

Bug fixes:

  • #​645:
    Fix Timestamp::from_nanosecond panic on out-of-range input.
  • #​649:
    Fix optional deserializers dropping null under #[serde(flatten)].
  • #​652:
    Tweak "lossless" wording for round-tripping Zoned values.
  • #​654:
    Fixes a panic when printing some very large durations.
  • #​660:
    Fixes a bug where parsing some very large spans gave an incorrect result.
  • #​668:
    Fixes a panic in Span::total for a zero span with a calendar unit.

Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • "before 6am on monday"
  • 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.


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

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

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@renovate
renovate Bot force-pushed the renovate/jiff-1.x branch from 9fae038 to 4794433 Compare November 18, 2026 02:51
@renovate
renovate Bot force-pushed the renovate/jiff-1.x branch from 4794433 to a3b25b6 Compare November 19, 2026 07:04
@crmne

crmne commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Closing for now: env_logger 0.11 (which fastframe-log and the apps use) still depends on jiff 0.2, so jiff 1.0 would put two copies in every app. We'll move once env_logger does.

@crmne crmne closed this Nov 19, 2026
@renovate

renovate Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 1.x releases. But if you manually upgrade to 1.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate
renovate Bot deleted the renovate/jiff-1.x branch November 19, 2026 07:43
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.

1 participant