github GitoxideLabs/gitoxide gix-traverse-v0.43.1
gix-traverse v0.43.1

latest releases: gix-v0.69.1, v0.40.0, gitoxide-core-v0.44.0...
one day ago

New Features

  • add topo::Builder::new fn for creating a bare builder
    Previously, the only way to create a Builder would be via
    Builder::from_iters. That fn takes as arguments both the tips and
    ends, and used to be the only possibility for specifying either of them
    during the building process. However, in order to enhance the builder-
    likeness of Builder, we recently introduced fns with_tips and
    with_ends for adding additional tips and ends.

    With those fns, the only component which needs to be supplied up-front
    is find. Users can specify and empty Iterator and None for tips
    and ends respectively when calling Builder::from_iters and add
    additional tips and ends at their leisure, without the need to chain
    Iterators or collecting them in some external data structure.

    Now, calling Builder::from_iters with a empty lists for tips and ends
    is a bit awkward. Thus, we provide a new method for creating a bare
    Builder.

  • add topo::Builder::with_tips fn for adding tips after from_iters
    Currently, Builder::from_iters takes as arguments both the tips and
    ends. Previously, this would be the only possibility for specifying
    either of them during the building process. To enhance the
    builder-likeness of Builder, we recently introduced a fn for adding
    additional ends.

    This change introduces a fn which allows adding additional tips after
    initial construction of a "fresh" Builder, allowing for more usage
    patterns.

  • add topo::Builder::with_ends for adding ends after from_iters
    Currently, Builder::from_iters takes as arguments both the tips and
    ends, and it's the only possibility for specifying either of them during
    the building process. Considering that ends in Builder::from_iters
    is an Option, this is not very builder-like and obstructs some
    use-cases.

    This change introduces a fn which allows adding additional ends after
    initial construction of a "fresh" Builder.

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Update changelogs prior to release (7ea8582)
    • Merge pull request #1720 from neithernut/traverse-broaden-with-tips-ends (3e63721)
    • Allow topo::Builder::with_tips and with_ends for non-default pred (d9426f4)
    • Merge pull request #1716 from neithernut/traverse-topo-builder-enhancements (67f20b1)
    • Minor refactor (55eaf52)
    • Impl topo::Builder::from_iters with new, with_tips and with_ends (29e3bbf)
    • Add topo::Builder::new fn for creating a bare builder (59148a2)
    • Add topo::Builder::with_tips fn for adding tips after from_iters (a7a8d7c)
    • Add topo::Builder::with_ends for adding ends after from_iters (1c1d037)
    • Merge pull request #1701 from GitoxideLabs/release (e8b3b41)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.