Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2025

Bumps jiff from 0.1.24 to 0.1.25.

Changelog

Sourced from jiff's changelog.

0.1.25 (2025-01-21)

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.
Commits
  • 0edf9d7 0.1.25
  • ef4ad19 changelog: 0.1.25
  • 717b3f0 span: unexport unused crate-public API
  • 28fa7b4 fmt: improve str{f,p}time compatibility
  • a694986 fmt/strtime: deprecate %V in favor of %Q
  • 71e2815 span: deprecate silent "days are 24 hours" in some cases
  • 15bbaf9 span: add SpanFieldwise, deprecate Eq and PartialEq for Span
  • 4d8a4ca api: add in_tz and deprecate intz
  • 9dd0b5e lint: squash dead code warnings
  • 684839f doc: suggest intz in to_zoned docs
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jiff](https://github.com/BurntSushi/jiff) from 0.1.24 to 0.1.25.
- [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md)
- [Commits](BurntSushi/jiff@0.1.24...0.1.25)

---
updated-dependencies:
- dependency-name: jiff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 22, 2025
@dependabot dependabot bot requested a review from ryanfowler January 22, 2025 14:57
@ryanfowler ryanfowler merged commit df1c321 into main Jan 22, 2025
1 check passed
@ryanfowler ryanfowler deleted the dependabot/cargo/jiff-0.1.25 branch January 22, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants