github GitoxideLabs/gitoxide gix-ref-v0.63.0
gix-ref v0.63.0

latest releases: v0.53.0, gitoxide-core-v0.57.0, gix-fsck-v0.21.0...
10 hours ago

New Features

  • add Category::is_remote_tracking_branch().
    Mere convenience.

Bug Fixes

  • don't fail reflog creation if newlines are used in the configured user name

    Look at #2491 and compare this with what Git at /Users/b
    yron/dev/github.com/git/git does. I think it will allow newlines and just trim whitespace. Once validat
    ed, create a test in gix-ref to reproduce the issue, then fix it.

New Features (BREAKING)

  • add sha-256 support to gix-ref.
    This predominantly restricts parsing so it won't allow any hash
    but the one that was passed.

Bug Fixes (BREAKING)

  • Limit Commit and Tag parsing to a given gix_hash::Kind
    Doing so adds conformity with Git, but also simplifies the parser
    which now only parse hex-hashes of a single valid length.

  • remove winnow and replace it with hand-implemented parsers everywhere.
    This will allow for simplified maintenance and editing (both human and machine)
    down the road, and enable additional performance optimisations.

    Parser compbinators to me ultimately were a failed experiment as I couldn't maintain
    them anyway, with it being too difficult for me to grasp and express everything
    in its very own kind of language, with a lot of different things to consider.

    Note that this also removes detailed errors from all parsers that previously
    used winnow, with the option to re-add those if there is demand.

Commit Statistics

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

Commit Details

view details
  • #2491
    • Don't fail reflog creation if newlines are used in the configured user name (1bf4099)
  • Uncategorized
    • Add Category::is_remote_tracking_branch(). (d5f9bf5)
    • Address auto-review (87b2da8)
    • Add sha-256 support to gix-ref. (731248f)
    • Limit Commit and Tag parsing to a given gix_hash::Kind (d4439cd)
    • Remove winnow and replace it with hand-implemented parsers everywhere. (91c854e)
    • Merge pull request #2540 from GitoxideLabs/reporting (4d5ba23)
    • Merge pull request #2529 from GitoxideLabs/reflog-newline-handling (2c3a08e)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.