github Byron/gitoxide git-ref-v0.12.0
git-ref v0.12.0

2 years ago

New Features

  • Fullname(Ref)::category() and Category
    A way to classify references.
  • FullName(Ref)::strip_prefix()
    Get a short-hand for any reference name.
  • Add git_config::values::Path for a typesafe git path
    Add a Path type to the git_config::values which
    can be interpolated according to gits own path interpolation
    rules.
  • FullNameRef::file_name()
  • Display implementation for FullName.

Bug Fixes

  • support Rust 1.52

Changed (BREAKING)

  • Target::as_(id|name) -> Target::try_(id|name)
    Conform to naming conventions, whenever something returns an option
    or Result while there is a more direct name that panics, prefix try_.

Commit Statistics

  • 34 commits contributed to the release over the course of 68 calendar days.
  • 69 days passed between releases.
  • 7 commits where understood as conventional.
  • 6 unique issues were worked on: #298, #301, #329, #331, #333, #364

Thanks Clippy

Clippy helped 3 times to make code idiomatic.

Commit Details

view details
  • #298
    • Use hash_hasher based hash state for better keys/less collisions (814de07)
    • FullNameRef::file_name() (28e3251)
    • Display implementation for FullName. (cf50ae2)
  • #301
    • performance issue on windows is due to slow process execution speed (60bcffc)
    • speed up git-pack testing on windows (8ca400c)
  • #329
    • Document all features related to serde1 (72b97f2)
  • #331
    • Add git_config::values::Path for a typesafe git path (e4d6685)
  • #333
    • Use git_features::path everywhere where there is a path conversion (2e1437c)
    • remove os-str-bytes everywhere (71a086a)
    • Found one valid case for using os-str-bytes (9c294bf)
    • Make real clear panics are only possible on windows (6b283dc)
    • one usage of os_str_bytes down, along with some custom conversion code (1cc95ce)
    • gitoxide-core without os-str-bytes (909aa14)
    • Don't use os_str_ext in git-features; adapt git-ref (9258b7b)
    • Use new git-features::path module (7c53b27)
  • #364
    • Target::as_(id|name) -> Target::try_(id|name) (7984e19)
    • refactor (b1b9871)
    • Fullname(Ref)::category() and Category (e7e4ba2)
    • FullName(Ref)::strip_prefix() (af2d399)
    • Full error handling for CommitRefIter (b94471a)
  • Uncategorized
    • Merge branch 'for-onefetch' (8e5cb65)
    • Release git-hash v0.9.3, git-features v0.20.0, git-config v0.2.0, safety bump 12 crates (f0cbb24)
    • Merge branch 'svetli-n-refactor_git_config_tests' (babaa9f)
    • thanks clippy (2066a80)
    • adapt to breaking changes in git-actor (40c48c3)
    • Release git-tempfile v2.0.0, safety bump 6 crates (90b1c42)
    • thanks clippy (a8e9497)
    • thanks clippy (f242a24)
    • Merge branch 'AP2008-implement-worktree' (f32c669)
    • Release git-actor v0.8.1 (08fe550)
    • support Rust 1.52 (42e0487)
    • Release git-bitmap v0.0.1, git-hash v0.9.0, git-features v0.19.0, git-index v0.1.0, safety bump 9 crates (4624725)
    • Release git-hash v0.9.2, git-object v0.17.1, git-pack v0.16.1 (0db19b8)
    • Merge branch 'index-information' (025f157)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.