Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate jiff to v0.1.27 #10972

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 27, 2025

This PR contains the following updates:

Package Type Update Change
jiff workspace.dependencies patch 0.1.24 -> 0.1.27

Release Notes

BurntSushi/jiff (jiff)

v0.1.27

Compare Source

===================
This is a small release with a bug fix for precision loss in some cases when
doing arithmetic on Timestamp or Zoned.

Bug fixes:

  • #​223:
    Fix the check for fractional seconds before taking the fast path.

v0.1.26

Compare Source

===================
This is a small release with another deprecation and a new API for doing
prefix parsing via strptime. There's also a bug fix for a corner case
when dealing with daylight saving time gaps with the Zoned::with API.

Deprecations:

  • #​210:
    Deprecate ISOWeekDate::to_date in favor of ISOWeekDate::date.

Enhancements:

  • #​209:
    Add fmt::strtime::BrokenDownTime::parse_prefix for parsing only a prefix.

Bug fixes:

  • #​211:
    Fix unintuitive behavior of Zoned::with when time falls in a DST gap.

v0.1.25

Compare Source

===================
This release contains a number of deprecations in preparation for a jiff 0.2
release. The deprecations are meant to facilitate a smoother transition. The
deprecations, when possible, come with new APIs that will permit users to write
forward compatible code that will work in both jiff 0.1 and jiff 0.2.

This release also includes a handful of new conversion specifiers in Jiff's
strftime and strptime APIs. This improves compatibility with the analogous
implementation with GNU libc.

Deprecations:

  • #​28:
    The intz methods on Zoned, Timestamp, civil::DateTime and civil::Date
    have been deprecated in favor of in_tz.
  • #​32:
    The Eq and PartialEq trait implementations on Span have been deprecated
    in favor of using the new SpanFieldwise type.
  • #​48:
    Silently assuming days are always 24 hours in some Span APIs has now been
    deprecated. This will become an error in jiff 0.2. To continue assuming
    days are 24 hours without a relative reference date, you can use the new
    SpanRelativeTo::days_are_24_hours API. In jiff 0.1, you'll seen a
    WARN-level log message emitted if you're code will be broken by jiff 0.2.
  • #​147:
    Both %V and %:V have been deprecated in favor of %Q and %:Q. In
    jiff 0.2, %V will correspond to the ISO 8601 week number and %:V will
    result in an error. This change was made to improve compatibility with other
    strtime implementations. %V and %:V continue to correspond to IANA
    time zone identifiers in jiff 0.1, but using them for parsing or formatting
    will result in a WARN-level deprecation message.

Enhancements:

  • #​147:
    Adds a number of new conversion specifiers to Jiff's strftime and
    strptime APIs. Specifically, %C, %G, %g, %j, %k, %l, %n, %R,
    %s, %t, %U, %u, %W, %w. Their behavior should match the
    corresponding specifiers in GNU libc.

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.


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

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

@renovate renovate bot added the internal A refactor or improvement that is not user-facing label Jan 27, 2025
@charliermarsh charliermarsh merged commit a1ce4aa into main Jan 27, 2025
82 checks passed
@charliermarsh charliermarsh deleted the renovate/jiff-0.x-lockfile branch January 27, 2025 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal A refactor or improvement that is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant