github GitoxideLabs/gitoxide gix-hash-v0.26.1
gix-hash v0.26.1

one hour ago

New Features

  • add allocation-free prefix hex utilities

    ObjectId consumers such as notes fanout need to work with byte-aligned portions
    of an ID and emit their hexadecimal form without allocating intermediate
    strings.

    Add oid::to_prefix() for standalone byte ranges and Prefix output APIs for
    display, caller-provided buffers, and writers. Decode even and odd hexadecimal
    prefixes directly into ObjectId storage, avoiding temporary Vec allocations,
    and cover empty and ranged prefixes.

  • add JJ-compatible change IDs to gix-hash

    Represent change IDs as object hashes while formatting and parsing them with
    Jujutsu's reverse-hex alphabet. Preserve the underlying hash bytes so conversion
    from an ObjectId produces exactly the identifier that JJ displays for the same
    byte sequence.

    Extend hash prefixes with symmetric reverse-hex parsing and formatting,
    including odd-nibble prefixes, so callers can resolve abbreviated change IDs
    through the existing binary prefix comparison machinery.

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Update manifests prior to release (ebe9095)
    • Merge pull request #2930 from GitoxideLabs/gix-notes (7424676)
    • Add allocation-free prefix hex utilities (7f7367c)
    • Merge pull request #2905 from GitoxideLabs/various-improvements (f3bbfad)
    • Add JJ-compatible change IDs to gix-hash (d6aca2b)
    • Adapt to changes in gix-testtools (0cbe539)
    • Merge pull request #2812 from GitoxideLabs/report-july (ae8845a)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.