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

23 months ago

New Features

  • Id implements std::fmt::Display
  • Remote::repo() to obtain the underlying repository.
    For convenience.
  • Support for user-costomizable user agent strings.
    Doable by setting the gitoxide.userAgent variable.
  • add env::agent() for obtaining the default client agent string.

Other

  • try to apply maybe-async in a place where it's probably not possible.
    The goal is to re-use the existing tests, but right now they only
    compile in async mode as the maybe-async crates needs
    a feature to be set. Doing so is hard(er) if it's not already used
    in the main crate, which we do not and will do our best to avoid.

New Features (BREAKING)

  • add remote::Connection::with_transport_config(), change the way *::transport_mut() is used.
    Previously transport_mut() was supposed to be used for calling
    configure(), but that doesn't work anymore as configure() can
    only effectivey be called once the initialization of the Connection
    is complete, as it may depend on the Remote name AND the credential
    provider for proxy auth credential acquisition.

    Thus we allow callers to set the transport options they need in advance
    for it to be used when needed.

Commit Statistics

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

Thanks Clippy

Clippy helped 2 times to make code idiomatic.

Commit Details

view details
  • Uncategorized
    • prepare changelogs prior to release (fe5721f)
    • Merge branch 'http-config' (665b53e)
    • fix docs (b5c316e)
    • adapt to changes in git-protocol (bd70847)
    • adapt to changes in git-protocol (c421187)
    • Id implements std::fmt::Display (58e1488)
    • Assure clones write their refs into packed-refs right away. (25dcae7)
    • fix warnings (8eec815)
    • use convenience traits everywhere when applying leniency (9ff64bb)
    • refactor (db7ad53)
    • Make application of lenient configuration values way easier and nicer to read (a59c791)
    • refactor (b5ca8a6)
    • Also read the connectTimeout in simple HTTP options (e055617)
    • keep track of no_proxy environment variable support (f0625de)
    • Add proxy-prefix and explicitly allow empty proxy values (70303c1)
    • Empty proxies can disable the proxy; cleanup test fixture, let it have its own (21f3283)
    • Merge branch 'main' into http-config (f4ff821)
    • Merge branch 'async-fetch' (0c9c48b)
    • remove blocking-only tests in favor of tests that test blocking and async implementations (7c4dd21)
    • remove optional blocking dependency as it's not going to be used for now. (9b5f0eb)
    • Add last remaining test to validate entire packs can be fetched in async mode without issues. (5cc3087)
    • Another test seems to be working (01e99b4)
    • the first working test (ce84fb3)
    • remove futures-executor in favor of futures-lite::future::block_on (2cd28ee)
    • Prepare a first test for receiving an empty pack, but… (7471ab3)
    • thanks clippy (854ca68)
    • Share all code when performing a ref-map test (886c017)
    • actually get maybe-async to work! (f3a6424)
    • the first simple test to validate we can connect. (2bf860a)
    • try to apply maybe-async in a place where it's probably not possible. (6beb6f2)
    • Remote::repo() to obtain the underlying repository. (25f7aab)
    • fix build warnings (32b1ba9)
    • leniency for all UTF-8 conversion failures (1b53efb)
    • support for handling of illformed UTF-8 (4a29331)
    • lenient support for all values that could previously fail (d302c67)
    • refactor (e93768b)
    • Currently http transport is only available for blocking io (1236cf2)
    • thanks clippy (1553308)
    • add remote::Connection::with_transport_config(), change the way *::transport_mut() is used. (db9040f)
    • extra-headers respects empty entries to clear the list (9707f7f)
    • adjust for changes in git-transport (ef64395)
    • First simple-http optiosn test passing (585047b)
    • refactor (0ced3a4)
    • refactor (e3a24e6)
    • implement a couple of http values, needs some refactoring (a44c9ea)
    • fix docs (d4089e7)
    • add missing assertions for simple options (9ff70e9)
    • first step for basic test of simple http configuration (21bd85d)
    • fix build (2ef0e09)
    • Support for user-costomizable user agent strings. (709a732)
    • add env::agent() for obtaining the default client agent string. (e60d079)
    • Merge branch 'main' into http-config (7c5b37d)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.