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

latest releases: v0.55.0, gitoxide-core-v0.59.0, gix-fsck-v0.23.0...
5 hours ago

New Features (BREAKING)

  • add leaf-only tree-editor removal via Editor::remove_leaf()
    Motivation comes from gitbutlerapp/gitbutler#14312,
    where callers had to split tree-entry deletions from additions to avoid
    accidentally deleting a newly-added subtree after adding A/one and then deleting
    A.

    Add Editor::remove_leaf() to gix-object and expose it through gix object tree
    editors and cursors. The new API keeps remove() behavior unchanged, remains
    tolerant of absent paths, but returns an error when the target entry exists and
    is a tree.

  • Add Write::*_with_known_id() variants.
    Add write_buf_with_known_id() and write_stream_with_known_id() to the
    Write trait without default bodies.
    That way it's possible to precompute the hash and avoid recomputing it here.

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Merge pull request #2654 from GitoxideLabs/tree-editor-improvement (f051396)
    • Add leaf-only tree-editor removal via Editor::remove_leaf() (cd610db)
    • Merge pull request #2549 from GitoxideLabs/no-dupl-compute (69caccd)
    • Add Write::*_with_known_id() variants. (879694a)
    • Merge pull request #2618 from GitoxideLabs/report (f7d4f33)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.