github Byron/gitoxide git-repository-v0.22.0
git-repository v0.22.0

20 months ago

Chore

  • uniformize deny attributes

New Features

  • support avoiding usage of fast-sha1 in git-features separately.
    That way one has an angle on compile failures in client libraries,
    see o2sh/onefetch#752 for motivation.
  • Repository::write_blob[_stream]() to more easily write blobs.
    That way, one won't have to use the underlying objects database but
    can remain in the land of Repository enabled types for longer.
  • SnapshotMut::apply_cli_overrides() to make it easy to support things like -c
  • Repository::config_snapshot_mut() to mutate configuration values in memory.
    It's a first step towards writing changes back to disk, which can work
    already, but probably wouldn't as we currently don't localize changes
    to only one section type, i.e. Api, but instead may change values
    from other sections.
  • use docsrs feature in code to show what is feature-gated automatically on docs.rs
  • pass --cfg docsrs when compiling for https://docs.rs

Bug Fixes

  • Don't fail worktree tests if the system's git version is not supporting required features

Commit Statistics

  • 43 commits contributed to the release over the course of 4 calendar days.
  • 4 days passed between releases.
  • 8 commits where understood as conventional.
  • 2 unique issues were worked on: #450, #488

Thanks Clippy

Clippy helped 3 times to make code idiomatic.

Commit Details

view details
  • #450
    • remove TODO, doesn't apply anymore (dcd6619)
    • fix docs (7d30eb3)
    • SnapshotMut::apply_cli_overrides() to make it easy to support things like -c (d35cd2a)
    • Adjust to changes in git-config (8f4ad3c)
    • set remote protocol version using configuration instead of using a special mechanism. (1a74da5)
    • Repository::config_snapshot_mut() to mutate configuration values in memory. (2a839f3)
    • fix build (5e924cb)
    • Support for overriding the protocol version to use when connecting. (e5c53a8)
    • change connection API to be consuming, otherwise async mode doesn't work due to lack of async drop (129176f)
    • add docs (332a978)
    • refactor (eba5b13)
    • A first working test to show all refs of a remote. (86c80e6)
    • first vague implementation of ls-refs (563e56f)
    • Make Remote::connect() both sync and async. (f30db4c)
    • prepare for refs implementation, it won't need a delegate anymore. (2a881ca)
  • #488
    • Don't fail worktree tests if the system's git version is not supporting required features (ff71730)
  • Uncategorized
    • Release git-date v0.0.5, git-hash v0.9.8, git-features v0.22.2, git-actor v0.11.3, git-glob v0.3.2, git-quote v0.2.1, git-attributes v0.3.2, git-tempfile v2.0.4, git-lock v2.1.1, git-validate v0.5.5, git-object v0.20.2, git-ref v0.15.2, git-sec v0.3.1, git-config v0.7.0, git-credentials v0.4.0, git-diff v0.17.2, git-discover v0.4.1, git-bitmap v0.1.2, git-index v0.4.2, git-mailmap v0.3.2, git-chunk v0.3.1, git-traverse v0.16.2, git-pack v0.21.2, git-odb v0.31.2, git-packetline v0.12.7, git-url v0.7.2, git-transport v0.19.2, git-protocol v0.19.0, git-revision v0.4.2, git-refspec v0.1.0, git-worktree v0.4.2, git-repository v0.22.0, safety bump 4 crates (4974eca)
    • support avoiding usage of fast-sha1 in git-features separately. (c28bcec)
    • Release git-path v0.4.1 (5e82346)
    • Merge branch 'example-write-blob' (afedd7f)
    • Repository::write_blob[_stream]() to more easily write blobs. (4f87a06)
    • refactor (2faa919)
    • refactor (05ab87b)
    • Merge pull request #494 from ultrasaurus/patch-1 (86fe22c)
    • Merge branch 'main' into remote-ls-refs (95f2f4f)
    • thanks clippy (856f803)
    • write blob (a3bec66)
    • thanks clippy (f90d772)
    • Merge branch 'example-new-repo' (946dd3a)
    • rename example init-repo-and-commit.rs (3630684)
    • add comments (04bf807)
    • Use anyhow for error handling in example; prefer user-defined directory. (3a5169d)
    • Make clear what tmp.into_path() is for (e540a76)
    • A more explicit name for the example (15aa860)
    • refactor (bfc3432)
    • git-repository example for creating new repo (367b809)
    • Merge branch 'main' into remote-ls-refs (e2ee3de)
    • fix typo in git-repository doc (05c6b42)
    • use docsrs feature in code to show what is feature-gated automatically on docs.rs (b1c40b0)
    • uniformize deny attributes (f7f136d)
    • pass --cfg docsrs when compiling for https://docs.rs (5176771)
    • thanks clippy (581f8ae)
    • Merge branch 'main' into remote-ls-refs (c82bbfa)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.