github GitoxideLabs/gitoxide git-ref-v0.17.0
git-ref v0.17.0

2 years ago

New Features

  • transaction::Change::new_value() to get easy access to new values of references.
    That's more convenient than matching on the enum.
  • FullName::try_from(&BString) for convenience.
    Sometimes when matching one only has a &BString, and it's hard to
    convert it to &BStr without an extra line of code, it's cumbersome,
    so we workaround by adding another conversion.

Changed (BREAKING)

  • file::Transaction::prepare() now takes two git_lock::acquisition::Fail instances.
    This allows to configure the file-ref lock failure mode differently from
    the packed-refs lock failure mode, which is exactly what git does as
    well defaulting them to 100ms and 1000ms till lock acquisition gives up.

Commit Statistics

  • 10 commits contributed to the release over the course of 20 calendar days.
  • 20 days passed between releases.
  • 3 commits were understood as conventional.
  • 1 unique issue was worked on: #450

Commit Details

view details
  • #450
    • transaction::Change::new_value() to get easy access to new values of references. (370ed3d)
    • file::Transaction::prepare() now takes two git_lock::acquisition::Fail instances. (e699291)
    • FullName::try_from(&BString) for convenience. (658c125)
    • Improve docs slightly (4850202)
  • Uncategorized
    • prepare changelogs for release (d232567)
    • Merge branch 'main' into new-http-impl (702a161)
    • make fmt (53acf25)
    • Merge branch 'fetch-pack' (3c49400)
    • Merge branch 'fix-git-features' (82fd251)
    • Merge branch 'diff' (25a7726)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.