github GitoxideLabs/gitoxide git-path-v0.6.0
git-path v0.6.0

23 months ago

New Features (BREAKING)

  • upgrade edition to 2021 in most crates.
    MSRV for this is 1.56, and we are now at 1.60 so should be compatible.
    This isn't more than a patch release as it should break nobody
    who is adhering to the MSRV, but let's be careful and mark it
    breaking.

    Note that git-features and git-pack are still on edition 2018
    as they make use of a workaround to support (safe) mutable access
    to non-overlapping entries in a slice which doesn't work anymore
    in edition 2021.

Bug Fixes (BREAKING)

  • absolutize() now takes a mandatory current_dir() parameter and returns Option<path>
    Previously the function was willing to return an empty path despite it
    being invalid. With the current_dir being required, this won't be the
    case anymore and will yield logically consistent results in all cases.

    This forces the caller to deal with the relative path being invalid
    or crafted to produce some other path, maybe to bypass sanity checks.

Commit Statistics

  • 9 commits contributed to the release over the course of 62 calendar days.
  • 62 days passed between releases.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • prepare changelogs prior to release (e4648f8)
    • Merge branch 'discover-rel-path' (5f908fb)
    • improve documentation to clarify intent (b8f73aa)
    • Merge branch 'cwd-consistency' (ea7c6a3)
    • Adapt to changes in git-discover and git-path and git-odb (98c2501)
    • absolutize() now takes a mandatory current_dir() parameter and returns Option<path> (7dbab1c)
    • Merge branch 'version2021' (0e4462d)
    • upgrade edition to 2021 in most crates. (3d8fa8f)
    • Merge branch 'diff' (25a7726)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.