chore(deps): update rust crate gix-hash to v0.26.2 - #7
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/gix-hash-0.x-lockfile
branch
from
August 23, 2026 13:43
2bc3b7b to
cc8ecd2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.26.0→0.26.2Release Notes
GitoxideLabs/gitoxide (gix-hash)
v0.26.2: gix-hash v0.26.2Compare Source
New Features
compare hash types with text
Allow ObjectId, oid, ChangeId, Prefix, HexDisplay, and ReverseHexDisplay to
compare with str and String values without allocating, reusing the existing
stack encoders and Kind::hex_buf().
Make full object and change ID comparisons symmetric but intentionally less
lenient than parsing: only their exact canonical lowercase spelling compares
equal. Uppercase input remains parseable, but treating differently-cased strings
as equal through the same hash would violate PartialEq transitivity even though
the strings differ from each other.
Keep Prefix and truncated display comparisons directional, with the hash value
on the left, because their text omits the hash kind or remaining digest and
therefore cannot uniquely identify the structural value. This prevents distinct
hashes from forming non-transitive equality chains through a shared textual
prefix.
Commit Statistics
Commit Details
view details
75ad70c)b8914ff)v0.26.1: gix-hash v0.26.1Compare Source
New Features
add allocation-free prefix hex utilities
ObjectIdconsumers such as notes fanout need to work with byte-aligned portionsof an ID and emit their hexadecimal form without allocating intermediate
strings.
Add
oid::to_prefix()for standalone byte ranges and Prefix output APIs fordisplay, caller-provided buffers, and writers. Decode even and odd hexadecimalprefixes directly into ObjectId storage, avoiding temporary
Vecallocations,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
Commit Details
view details
ebe9095)7424676)7f7367c)f3bbfad)d6aca2b)gix-testtools(0cbe539)ae8845a)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.