github GitoxideLabs/gitoxide gix-date-v0.9.0
gix-date v0.9.0

2 months ago

This is a breaking release as the time is gone and it's API isn't available publicly anymore.

Bug Fixes

  • Don't panic on dates too far in the past when parsing them.

Other

  • switch from time to jiff
    This swaps out time for jiff. It doesn't completely remove time
    from the dependency tree. The last remaining use of time is in
    prodash, outside of the gitoxide project.

  • bump MSRV to Rust 1.70
    The bump to Rust 1.70 (released over 1 year ago) is needed since that's
    Jiff current MSRV. This doesn't bump the MSRV of the broader gitoxide
    project, however, so this is probably wrong or incomplete.

  • make time a private dependency of gix-date
    This should make the swap from time to jiff easier.

    This comment[1] indicates that it's okay for time to be a public
    dependency, but since this patch series is about swapping time for
    jiff, it seemed appropriate to take this step first. And in
    particular, it was almost already the case that time was a private
    dependency of gix-date. The only thing we really had to button up was
    the exposure of time's custom formatting description language.

    Jiff doesn't support time's custom formatting machinery and instead
    uses a strftime/strptime like API. We could expose that instead, but
    since nothing (other than a test) was actually utilizing time's custom
    formatting machinery external to gix-date, I figured we might as well
    completely encapsulate it.

Commit Statistics

  • 11 commits contributed to the release over the course of 26 calendar days.
  • 60 days passed between releases.
  • 4 commits were understood as conventional.
  • 1 unique issue was worked on: #1485

Commit Details

view details
  • #1485
    • Don't panic on dates too far in the past when parsing them. (a729c4b)
    • Reproduce fuzzer failure in gix-date (3a8b9e2)
  • Uncategorized
    • Prepare changelogs prior to release (0f25841)
    • Merge branch 'fix-fuzz' (3604a3b)
    • Merge branch 'improvements' (12313f2)
    • Add more (but technically duplicate) tests for time parsing and formatting (9d5d8a6)
    • Merge branch 'ag/jiff' (5871fb1)
    • Assure the next release is breaking (9fd1090)
    • Switch from time to jiff (28ac657)
    • Bump MSRV to Rust 1.70 (1b9c30d)
    • Make time a private dependency of gix-date (5a88413)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.