Skip to content

gix-discover v0.53.0

Choose a tag to compare

@Byron Byron released this 22 Jun 13:07
· 4 commits to main since this release
6428edc

New Features

  • add support for relative worktree directories

Other

  • improve documentation on from_plain_file_relative_to_file and from_plain_file
    Follow up on review comments from PR #2599 after the PR was merged.

    Update plain-path docs to describe trailing-whitespace trimming, invalid empty
    path files, and relative path-file semantics for single-component relative
    paths.

New Features (BREAKING)

  • allow assuming trust during upward discovery
    upward discovery options should allow callers
    to override the trust level during discovery. When a trust level is provided,
    discovery should not compute trust from path ownership and should instead assume
    the provided level.

    This intentionally changes the public Options::trust (formerly required_trust)
    field from gix_sec::Trust to gix_discover::upwards::Trust so the field can
    represent either a required computed trust threshold or an assumed trust level.
    Existing callers that set required_trust directly need to wrap their threshold
    in Trust::Required(_).

    The fix keeps the default as the existing reduced-trust requirement, while
    Trust::Assume(level) skips Trust::from_path_ownership() and returns the provided
    trust level.

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Merge pull request #2652 from GitoxideLabs/override-upward-trust (52d26d7)
    • Allow assuming trust during upward discovery (c9ebac7)
    • Merge pull request #2623 from GitoxideLabs/followup-2599 (1d2d3b4)
    • Improve documentation on from_plain_file_relative_to_file and from_plain_file (3cb24ed)
    • Merge pull request #2599 from GitoxideLabs/relative-workree-path (a209dc1)
    • Add support for relative worktree directories (1ae4465)
    • Merge pull request #2618 from GitoxideLabs/report (f7d4f33)