github GitoxideLabs/gitoxide git-repository-v0.29.0
git-repository v0.29.0

23 months ago

New Features

  • Make reqwest TLS backend configuration easy.
    We provide the choice of native-tls or rust-tls. If none is
    provided, the user can configure on their on similar to how it's done
    in git-repository.

    Please note that a choice now has to be made or HTTPS will not be
    available, so use one of…

    • blocking-http-transport-reqwest-rust-tls
  • blocking-http-transport-reqwest-native-tls

Bug Fixes

  • git_repository::Commit::describe() chooses tag names (more) correctly.
    Previously, if there were multiple choices for tags on the same commit,
    git describe would disagree with gitoxide due to different
    prioritization of names.

    This has now been fixed.

  • also sort entries lexicographically

Other

  • Set GIT_EDITOR in make_rebase_i_repo.sh
    If the user has core.editor set in their global git config, then that value
    takes precidence over the EDITOR environment variable. The GIT_EDITOR
    environment variable, however, has higher precidence than core.editor. For
    this test, using GIT_EDITOR ensures that the desired sed command line is
    used.

New Features (BREAKING)

  • rename blocking-http-transport feature to blocking-http-transport-curl; add blocking-http-transport-reqwest.
    With the new and relatively immature second tier http backend we pave
    the way to support builds without the use of open-ssl and probably many
    other C libraries.

    Note that it's early and not http configuration option is implemented
    yet.

  • upgrade edition to 2021 in most crates.
    MSRV for this is 1.56, and we are now at 1.60 so should be compatible.
    This isn't more than a patch release as it should break nobody
    who is adhering to the MSRV, but let's be careful and mark it
    breaking.

    Note that git-features and git-pack are still on edition 2018
    as they make use of a workaround to support (safe) mutable access
    to non-overlapping entries in a slice which doesn't work anymore
    in edition 2021.

Commit Statistics

  • 24 commits contributed to the release over the course of 3 calendar days.
  • 4 days passed between releases.
  • 7 commits were understood as conventional.
  • 1 unique issue was worked on: #606

Commit Details

view details
  • #606
    • git_repository::Commit::describe() chooses tag names (more) correctly. (c6a6902)
  • Uncategorized
    • prepare changelogs prior to release (e4648f8)
    • Make reqwest TLS backend configuration easy. (3ddbd2d)
    • Merge branch 'max-pure' (03ff188)
    • rename blocking-http-transport feature to blocking-http-transport-curl; add blocking-http-transport-reqwest. (bc2a399)
    • Merge branch 'jpgrayson/main' (72abac6)
    • Merge branch 'breadthfirst-improvements' (b755b5b)
    • improve docs for breadthfirst traversal - talking about sorting seems odd (6dc3ec1)
    • Set GIT_EDITOR in make_rebase_i_repo.sh (f302fc1)
    • add Repository::empty_tree() to obtain the empty tree object. (ff9e157)
    • Merge branch 'cwd-consistency' (ea7c6a3)
    • Adapt to changes in git-discover and git-path and git-odb (98c2501)
    • Merge branch 'pierrechevalier83/main' (a5b1d73)
    • restore original representation of Tag at the cost of some duplication (dd0a23d)
    • refactor (c02a6bd)
    • stabilize tests (unwrap() -> ?) and improve fixture (d4f58a9)
    • [refactor] Deduplicate Tag and TagRef (6003fa2)
    • add additional tests (5b97d1b)
    • Sort like described in the comment (dfe125e)
    • rename tuple fields to what they actually are (without changing logic) (3177b2b)
    • refactor (cf523cd)
    • Merge branch 'version2021' (0e4462d)
    • upgrade edition to 2021 in most crates. (3d8fa8f)
    • also sort entries lexicographically (84ed89c)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.