github GitoxideLabs/gitoxide gix-object-v0.59.0
gix-object v0.59.0

one day ago

Documentation

  • add crate-root doctests

Bug Fixes

  • detect trailers when they are the sole body content

  • allow tree-parsing with entries whose paths has leading spaces work again
    Related to gitbutlerapp/gitbutler#13198

  • deduplicate entry-finding logic
    The logic for finding entries is duplicated 3 times.

    Use std::ops::ControlFlow for simpler, callback-friendly code.

  • remove now-unused dependency gix-path

  • std::path::Component has infallible conversion to &[u8]
    Instead of relying on a fallible path and using a default value,
    we can convert directly between a Component and a &[u8].

New Features (BREAKING)

  • add hash_kind to TreeRefIter and Data for SHA-256 support
  • allow commit::message::Body to parse multi-line trailers
    Also add more tests for more complete compliance with git interpret-trailers.
    Note that the new behaviour is more conforming, which means that trailer
    blocks must be parseable in full to be be recognised.

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Update changelogs prior to release (f9fbcba)
    • Run more fuzz artifacts as part of the test-suite (a1ad31b)
    • Merge pull request #2530 from GitoxideLabs/advisories (63b8419)
    • Add corpus-builder scripts when corpus files are available; auto-run artifacts in test suite (e64e3b8)
    • Add fuzz tests for 10 more crates, and related fixes (0396152)
    • Merge pull request #2528 from GitoxideLabs/pass-hash-len-to-tree-ref-iter (465b366)
    • SHA-256 tests for gix-object (c148ed2)
    • Merge pull request #2497 from cruessler/pass-hash-len-to-tree-ref-iter (7d50c30)
    • Review (d9b358b)
    • Add hash_kind to TreeRefIter and Data for SHA-256 support (3b156e8)
    • Merge pull request #2518 from GitoxideLabs/improvements (444a92b)
    • Make package.include patterns more specific so they don't match ignored files (c2c917f)
    • Merge pull request #2514 from mtsgrd/fix/body-ref-trailer-as-sole-body-content (c261237)
    • Allow commit::message::Body to parse multi-line trailers (e3995bb)
    • Refactor (fb3c526)
    • Detect trailers when they are the sole body content (c7908d1)
    • Merge pull request #2507 from GitoxideLabs/improvements (e51c40b)
    • Allow tree-parsing with entries whose paths has leading spaces work again (06a1248)
    • Merge pull request #2499 from GitoxideLabs/dependabot/cargo/cargo-17cc682121 (44020e0)
    • Bump the cargo group with 26 updates (9d04035)
    • Merge pull request #2487 from GitoxideLabs/top-level-examples (29c275e)
    • Add crate-root doctests (b1102c2)
    • Merge pull request #2459 from datdenkikniet/unify-traversal (de3f064)
    • Refactor (fc09ed2)
    • Deduplicate entry-finding logic (b37fef1)
    • Merge pull request #2480 from GitoxideLabs/report (98bae84)
    • Merge branch 'main' into report (7eb98cb)
    • Merge pull request #2461 from datdenkikniet/mini-optimize (6abbe82)
    • Merge pull request #2458 from datdenkikniet/direct-u8 (2ce6dde)
    • Remove now-unused dependency gix-path (24faf05)
    • std::path::Component has infallible conversion to &[u8] (0e173d6)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.