698 lines · 39.9 KB · Markdown
RawDownload

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.9.8 (2022-08-24)

Chore

  • uniformize deny attributes

New Features

  • use docsrs feature in code to show what is feature-gated automatically on docs.rs
  • pass --cfg docsrs when compiling for https://docs.rs

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Merge branch 'example-new-repo' (946dd3a)
    • 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)

0.9.7 (2022-08-15)

New Features

  • Prefix::from(ObjectId) This conversion will never fail and is useful as fallback to handle failed hash shortenings, which can now default to a prefix that represents the original and thus unique hash.

Commit Statistics

  • 9 commits contributed to the release over the course of 19 calendar days.
  • 24 days passed between releases.
  • 1 commit where understood as conventional.
  • 1 unique issue was worked on: #427

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • #427
  • Uncategorized
    • Release git-hash v0.9.7, git-features v0.22.1 (232784a)
    • Merge branch 'format_git_date_time' (99e12be)
    • Merge branch 'main' into write-index-v2 (a938986)
    • first step towards everything being documented (919923c)
    • thanks clippy (4bd747c)
    • Merge branch 'write-index-files' into write-index-v2 (cddc2ca)
    • Merge branch 'write-index-files' into rev-parse-delegate (370110d)
    • Merge branch 'main' into rev-parse-delegate (4ae2bed)

0.9.6 (2022-07-22)

This is a maintenance release with no functional changes.

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Release git-hash v0.9.6, git-features v0.22.0, git-date v0.0.2, git-actor v0.11.0, git-glob v0.3.1, git-path v0.4.0, git-attributes v0.3.0, git-tempfile v2.0.2, git-object v0.20.0, git-ref v0.15.0, git-sec v0.3.0, git-config v0.6.0, git-credentials v0.3.0, git-diff v0.17.0, git-discover v0.3.0, git-index v0.4.0, git-mailmap v0.3.0, git-traverse v0.16.0, git-pack v0.21.0, git-odb v0.31.0, git-url v0.7.0, git-transport v0.19.0, git-protocol v0.18.0, git-revision v0.3.0, git-worktree v0.4.0, git-repository v0.20.0, git-commitgraph v0.8.0, gitoxide-core v0.15.0, gitoxide v0.13.0, safety bump 22 crates (4737b1e)
    • prepare changelog prior to release (3c50625)
    • assure document-features are available in all 'usable' and 'early' crates (238581c)

0.9.5 (2022-06-13)

New Features

  • expose Prefix::MIN_HEX_LEN. That way other crates can know which candidates to discard off the bat instead of having to match on an error. It's mere convenience.

Commit Statistics

  • 3 commits contributed to the release over the course of 5 calendar days.
  • 25 days passed between releases.
  • 1 commit where understood as conventional.
  • 1 unique issue was worked on: #427

Commit Details

view details
  • #427
    • expose Prefix::MIN_HEX_LEN. (652f228)
  • Uncategorized
    • Release git-date v0.0.1, git-hash v0.9.5, git-features v0.21.1, git-actor v0.10.1, git-path v0.2.0, git-attributes v0.2.0, git-ref v0.14.0, git-sec v0.2.0, git-config v0.5.0, git-credentials v0.2.0, git-discover v0.2.0, git-pack v0.20.0, git-odb v0.30.0, git-url v0.6.0, git-transport v0.18.0, git-protocol v0.17.0, git-revision v0.2.1, git-worktree v0.3.0, git-repository v0.19.0, safety bump 13 crates (a417177)
    • update changelogs prior to release (bb424f5)

0.9.4 (2022-05-18)

New Features

  • Prefix::from_hex()
  • Implement TryFrom<&str> for Prefix Currently there is no easy way to create a struct Prefix from a hex string. The method Parser::from_hex() is NIY.

Commit Statistics

  • 10 commits contributed to the release over the course of 46 calendar days.
  • 46 days passed between releases.
  • 2 commits where understood as conventional.
  • 2 unique issues were worked on: #301, #413

Commit Details

view details
  • #301
    • update changelogs prior to release (84cb256)
  • #413
  • Uncategorized
    • Release git-hash v0.9.4, git-features v0.21.0, git-actor v0.10.0, git-glob v0.3.0, git-path v0.1.1, git-attributes v0.1.0, git-sec v0.1.0, git-config v0.3.0, git-credentials v0.1.0, git-validate v0.5.4, git-object v0.19.0, git-diff v0.16.0, git-lock v2.1.0, git-ref v0.13.0, git-discover v0.1.0, git-index v0.3.0, git-mailmap v0.2.0, git-traverse v0.15.0, git-pack v0.19.0, git-odb v0.29.0, git-packetline v0.12.5, git-url v0.5.0, git-transport v0.17.0, git-protocol v0.16.0, git-revision v0.2.0, git-worktree v0.2.0, git-repository v0.17.0, safety bump 20 crates (654cf39)
    • make fmt (e043807)
    • Merge branch 'kalkin-improve-prefix' (0866e89)
    • Implement TryFrom<&str> for Prefix (89f1b27)
    • Merge branch 'for-onefetch' (8e5cb65)

0.9.3 (2022-04-02)

New Features

  • Commit::short_id()
  • git-hash::Prefix::from_id() A way to obtain a prefix of an object id, with all non-prefix bytes set to zero.

Bug Fixes

  • don't use panicking const fn just yet to not require rust 1.57

Commit Statistics

  • 17 commits contributed to the release over the course of 54 calendar days.
  • 59 days passed between releases.
  • 2 commits where understood as conventional.
  • 4 unique issues were worked on: #298, #301, #329, #331

Commit Details

view details
  • #298
    • docs (a45f378)
    • Implement ODB::disambiguate_prefix(…) (7d4d281)
    • support MSRV (d09fd9b)
    • add documentation for lookup_prefix along with missing test (927b2ac)
    • lookup_prefix() seems to work now (b558f11)
    • A stab at implementing lookup_prefix - to no avail (69cb6d1)
    • refactor (cff6f9f)
    • refactor (5bc548e)
    • Prefix now validates all constraints and errors on violation (75efa79)
    • refactor; add docs (837db62)
    • git-hash::Prefix::from_id() (cb83bee)
  • #301
  • #329
    • Document all features related to serde1 (72b97f2)
  • #331
    • Update changelog prior to release (1d07934)
  • Uncategorized
    • Release git-hash v0.9.3, git-features v0.20.0, git-config v0.2.0, safety bump 12 crates (f0cbb24)
    • make fmt (7cf3545)
    • Merge branch 'AP2008-implement-worktree' (f32c669)

0.9.2 (2022-02-01)

A automated maintenance release without impact to the public API.

New Features

  • Implement Display for hash kind This helps 'clap' and allows for a little more type-safety during declaration.

Commit Statistics

  • 4 commits contributed to the release over the course of 8 calendar days.
  • 8 days passed between releases.
  • 1 commit where understood as conventional.
  • 1 unique issue was worked on: #298

Commit Details

view details
  • #298
    • Implement Display for hash kind (bc89fc7)
  • Uncategorized
    • Release git-hash v0.9.2, git-object v0.17.1, git-pack v0.16.1 (0db19b8)
    • update changelogs prior to git-pack release (b7e3a4a)
    • Merge branch 'index-information' (025f157)

0.9.1 (2022-01-23)

Changed (BREAKING)

  • rename oid::try_from() to try_from_bytes(), add from_bytes_unchecked() This change was done in the name of consistency, as from_bytes() is used in many other git-* crates

  • Remove Kind:Efrom_len_in_bytes() from public API It shouldn't be encouraged to assume the hash can be deduced from its length, also git doesn't assume this.

    If that would happen, we would have other problems though, so let's hope it doesn't happen nonetheless.

  • Remove ObjectId::null_sha1() from public API Use Kind::Sha1.null() instead if it's a value where the actual repository object hash doesn't matter.

  • rename Kind::null() to null_ref() and Kind::null_owned() to null() This naming is consistent with typical Rust APIs and the naming used throughout the git-* crates thus far.

  • remove Kind::new_sha1() from public API

  • Kind::from_len_in_bytes() is infallible

  • remove ObjectId::from_20_bytes() from public API Use ObjectId::from() or ObjectId::try_from() instead.

  • remove various SHA1 specific hex utilities in favor of unspecific new ones

    • removed to_sha1_hex(), use oid::hex_to_buf() and oid::hex_to_buf() instead.

New Features

  • Implement Display for hash kind This helps 'clap' and allows for a little more type-safety during declaration.
  • Assign version numbers to Kind and implement TryFrom<u8> This makes reading and writing the hash number easier for newer file formats.
  • add Kind::from_len_in_bytes() const fn
  • Kind::len_in_bytes() method It yields the amount of bytes needed to store the hash.

Bug Fixes

  • don't use panicking const fn just yet to not require rust 1.57

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Release git-hash v0.9.1, git-features v0.19.1, git-actor v0.8.0, git-config v0.1.10, git-object v0.17.0, git-diff v0.13.0, git-tempfile v1.0.4, git-chunk v0.3.0, git-traverse v0.12.0, git-pack v0.16.0, git-odb v0.26.0, git-packetline v0.12.3, git-url v0.3.5, git-transport v0.15.0, git-protocol v0.14.0, git-ref v0.11.0, git-repository v0.14.0, cargo-smart-release v0.8.0, safety bump 4 crates (373cbc8)
    • prepar changelogs for cargo-smart-release release (8900d69)
    • don't use panicking const fn just yet to not require rust 1.57 (d2e2ea0)

0.9.0 (2022-01-19)

New Features

  • Assign version numbers to Kind and implement TryFrom<u8> This makes reading and writing the hash number easier for newer file formats.
  • add Kind::from_len_in_bytes() const fn
  • Kind::len_in_bytes() method It yields the amount of bytes needed to store the hash.

Changed (BREAKING)

  • rename oid::try_from() to try_from_bytes(), add from_bytes_unchecked() This change was done in the name of consistency, as from_bytes() is used in many other git-* crates

  • Remove Kind:Efrom_len_in_bytes() from public API It shouldn't be encouraged to assume the hash can be deduced from its length, also git doesn't assume this.

    If that would happen, we would have other problems though, so let's hope it doesn't happen nonetheless.

  • Remove ObjectId::null_sha1() from public API Use Kind::Sha1.null() instead if it's a value where the actual repository object hash doesn't matter.

  • rename Kind::null() to null_ref() and Kind::null_owned() to null() This naming is consistent with typical Rust APIs and the naming used throughout the git-* crates thus far.

  • remove Kind::new_sha1() from public API

  • Kind::from_len_in_bytes() is infallible

  • remove ObjectId::from_20_bytes() from public API Use ObjectId::from() or ObjectId::try_from() instead.

  • remove various SHA1 specific hex utilities in favor of unspecific new ones.

    removed to_sha1_hex(), use oid::hex_to_buf() and oid::hex_to_buf() instead. remove ObjectId::write_hex_to() in favor of oid::write_hex_to()

  • oid::null_sha1() replaced with Kind::null()

  • remove ObjectId::from_borrowed_sha1()

  • remove ObjectId::to_sha1_hex_string() Use .to_hex().to_string() instead.

  • SIZE_OF_SHA1_DIGEST is now private Replace it with your own constant derived from

  • rename Kind::to_hex() to Kind::to_hex_with_len(); add Kind::to_hex() The latter prints the oid in full.

Commit Statistics

  • 25 commits contributed to the release over the course of 30 calendar days.
  • 92 days passed between releases.
  • 16 commits where understood as conventional.
  • 3 unique issues were worked on: #279, #287, #293

Commit Details

view details
  • #279
    • Basic multi-pack index creation (89428b2)
    • multi-pack index writing complete with large-offset support (f7d5c7f)
    • Assign version numbers to Kind and implement TryFrom<u8> (84e26a7)
    • rename oid::try_from() to try_from_bytes(), add from_bytes_unchecked() (79dc0d5)
    • Remove Kind:Efrom_len_in_bytes() from public API (1b75541)
    • Remove ObjectId::null_sha1() from public API (b12ee8a)
    • rename Kind::null() to null_ref() and Kind::null_owned() to null() (eaf48bd)
    • remove Kind::new_sha1() from public API (60a4eb5)
    • Kind::from_len_in_bytes() is infallible (c079fbe)
    • refactor (7331e99)
    • remove ObjectId::from_20_bytes() from public API (2a799e6)
    • fix docs (cd981e2)
    • remove various SHA1 specific hex utilities in favor of unspecific new ones (53c748d)
    • oid::null_sha1() replaced with Kind::null() (67652cb)
    • remove ObjectId::from_borrowed_sha1() (3363f1e)
    • remove ObjectId::to_sha1_hex_string() (75b901e)
    • SIZE_OF_SHA1_DIGEST is now private (b596fa0)
    • rename Kind::to_hex() to Kind::to_hex_with_len(); add Kind::to_hex() (3373946)
    • add Kind::from_len_in_bytes() const fn (ce673bf)
    • Kind::len_in_bytes() method (9a0d8b8)
  • #287
    • Very rough version of repository verification (80a4a7a)
  • #293
    • prepare changelogs for git-index and dependencies (f54bf4b)
  • Uncategorized
    • 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)
    • Better not have items within items in changelogs (6946125)
    • thanks clippy (d8925f5)

v0.8.0 (2021-10-19)

A maintenance release due to reset the entire crate graph to new minor releases.

Commit Statistics

  • 5 commits contributed to the release over the course of 3 calendar days.
  • 3 days passed between releases.
  • 1 commit where understood as conventional.
  • 1 unique issue was worked on: #222

v0.7.0 (2021-10-15)

BREAKING Changes

  • rename oid::short_hex() to oid::to_hex()
  • oid::short_hex(len) for truncated hex representations

Commit Statistics

  • 16 commits contributed to the release over the course of 11 calendar days.
  • 38 days passed between releases.
  • 2 commits where understood as conventional.
  • 1 unique issue was worked on: #198

Commit Details

view details
  • #198
    • Fix stop-release-for-changelog logic and fix all affected changelogs (52b38bc)
    • deduplicate conventional message ids (e695eda)
    • regenerate all changelogs to get links (0c81769)
    • format links for commit ids (9426db5)
    • Mention actual issues that where worked on (a517e39)
    • Allow 'refactor' and 'other' in conventional messages if they have breaking changes (4eebaac)
    • Rebuild all changelogs to assure properly ordered headlines (4a9a05f)
    • Sort all commits by time, descending… (f536bad)
    • greatly reduce changelog size now that the traversal fix is applied (a0bc98c)
    • rename oid::short_hex() to oid::to_hex() (8be4036)
    • Fixup remaining changelogs… (2f75db2)
    • Generate changelogs with details (e1861ca)
    • oid::short_hex(len) for truncated hex representations (ed16bce)
  • Uncategorized
    • Release git-hash v0.7.0, git-features v0.16.5, git-actor v0.5.3, git-config v0.1.7, git-validate v0.5.3, git-object v0.14.1, git-diff v0.10.0, git-tempfile v1.0.3, git-lock v1.0.1, git-traverse v0.9.0, git-pack v0.12.0, git-odb v0.22.0, git-packetline v0.11.0, git-url v0.3.4, git-transport v0.12.0, git-protocol v0.11.0, git-ref v0.8.0, git-repository v0.10.0, cargo-smart-release v0.4.0 (59ffbd9)
    • Adjusting changelogs prior to release of git-hash v0.7.0, git-features v0.16.5, git-actor v0.5.3, git-validate v0.5.3, git-object v0.14.1, git-diff v0.10.0, git-tempfile v1.0.3, git-lock v1.0.1, git-traverse v0.9.0, git-pack v0.12.0, git-odb v0.22.0, git-packetline v0.11.0, git-url v0.3.4, git-transport v0.12.0, git-protocol v0.11.0, git-ref v0.8.0, git-repository v0.10.0, cargo-smart-release v0.4.0, safety bump 3 crates (a474395)
    • Update changelogs just for fun (21541b3)

v0.6.0 (2021-09-07)

Breaking

  • ObjectId::empty_tree() now has a parameter: Kind
  • ObjectId::null_sha(…) -> ObjectId::null(…)

Commit Statistics

  • 2 commits contributed to the release over the course of 1 calendar day.
  • 20 days passed between releases.
  • 0 commits where understood as conventional.
  • 0 issues like '(#ID)' where seen in commit messages

Commit Details

Lines 1–500 of 698.