881 lines · 51.7 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.10.1 (2022-12-01)

A maintenance release without user-facing changes.

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • prepare changelogs prior to git-hashtable release (3bafb79)
    • make fmt (747008d)
    • Merge branch 'main' into http-config (6b9632e)
    • Merge branch 'optimize_hashtables' (95ad56c)
    • switch to custom Hasher implementation (269d59e)
    • Merge branch 'main' into http-config (bcd9654)

0.10.0 (2022-11-21)

New Features (BREAKING)

  • 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

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

Commit Details

view details
  • Uncategorized
    • Release git-hash v0.10.0, git-features v0.24.0, git-date v0.3.0, git-actor v0.14.0, git-glob v0.5.0, git-path v0.6.0, git-quote v0.4.0, git-attributes v0.6.0, git-config-value v0.9.0, git-tempfile v3.0.0, git-lock v3.0.0, git-validate v0.7.0, git-object v0.23.0, git-ref v0.20.0, git-sec v0.5.0, git-config v0.12.0, git-command v0.2.0, git-prompt v0.2.0, git-url v0.11.0, git-credentials v0.7.0, git-diff v0.23.0, git-discover v0.9.0, git-bitmap v0.2.0, git-traverse v0.19.0, git-index v0.9.0, git-mailmap v0.6.0, git-chunk v0.4.0, git-pack v0.27.0, git-odb v0.37.0, git-packetline v0.14.0, git-transport v0.23.0, git-protocol v0.24.0, git-revision v0.7.0, git-refspec v0.4.0, git-worktree v0.9.0, git-repository v0.29.0, git-commitgraph v0.11.0, gitoxide-core v0.21.0, gitoxide v0.19.0, safety bump 28 crates (b2c301e)
    • prepare changelogs prior to release (e4648f8)
    • Merge branch 'version2021' (0e4462d)
    • upgrade edition to 2021 in most crates. (3d8fa8f)

0.9.11 (2022-10-10)

Maintenance release without user-facing changes.

Commit Statistics

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

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • Uncategorized
    • Release git-hash v0.9.11, git-features v0.23.0, git-actor v0.13.0, git-attributes v0.5.0, git-object v0.22.0, git-ref v0.17.0, git-sec v0.4.1, git-config v0.9.0, git-url v0.10.0, git-credentials v0.6.0, git-diff v0.20.0, git-discover v0.6.0, git-traverse v0.18.0, git-index v0.6.0, git-mailmap v0.5.0, git-pack v0.24.0, git-odb v0.34.0, git-packetline v0.13.1, git-transport v0.21.0, git-protocol v0.21.0, git-revision v0.6.0, git-refspec v0.3.0, git-worktree v0.6.0, git-repository v0.25.0, safety bump 24 crates (104d922)
    • prepare changelogs for release (d232567)
    • Merge branch 'main' into fetch-pack (d686020)
    • thanks clippy (b9937ad)
    • Merge branch 'diff' (25a7726)

0.9.10 (2022-09-20)

Maintenance release without observable changes.

Commit Statistics

  • 7 commits contributed to the release over the course of 18 calendar days.
  • 18 days passed between releases.
  • 0 commits were understood as conventional.
  • 2 unique issues were worked on: #450, #470

Commit Details

view details
  • #450
  • #470
    • update changelogs prior to release (caa7a1b)
  • Uncategorized
    • Release git-hash v0.9.10, git-features v0.22.5, git-date v0.2.0, git-actor v0.12.0, git-glob v0.4.0, git-path v0.5.0, git-quote v0.3.0, git-attributes v0.4.0, git-config-value v0.8.0, git-tempfile v2.0.5, git-validate v0.6.0, git-object v0.21.0, git-ref v0.16.0, git-sec v0.4.0, git-config v0.8.0, git-discover v0.5.0, git-traverse v0.17.0, git-index v0.5.0, git-worktree v0.5.0, git-testtools v0.9.0, git-command v0.1.0, git-prompt v0.1.0, git-url v0.9.0, git-credentials v0.5.0, git-diff v0.19.0, git-mailmap v0.4.0, git-chunk v0.3.2, git-pack v0.23.0, git-odb v0.33.0, git-packetline v0.13.0, git-transport v0.20.0, git-protocol v0.20.0, git-revision v0.5.0, git-refspec v0.2.0, git-repository v0.24.0, git-commitgraph v0.9.0, gitoxide-core v0.18.0, gitoxide v0.16.0, safety bump 28 crates (29a043b)
    • make fmt (535e967)
    • Merge branch 'filter-refs-by-spec' (5c05198)
    • Merge branch 'main' into filter-refs-by-spec (1f6e5ab)
    • Merge branch 'fix-522' (5869e9f)

0.9.9 (2022-09-02)

Bug Fixes

  • don't assume hex-only characters in ObjectId::from_hex(…).

Refactor

  • replace quickerror with thiserror

Commit Statistics

  • 9 commits contributed to the release over the course of 9 calendar days.
  • 9 days passed between releases.
  • 2 commits were understood as conventional.
  • 1 unique issue was worked on: #522

Commit Details

view details
  • #522
    • don't assume hex-only characters in ObjectId::from_hex(…). (aaed7ea)
    • refactor (f3bcddf)
    • refactor (0f0de2b)
  • Uncategorized
    • Release git-hash v0.9.9 (da0716f)
    • fix docs (71cb9ea)
    • replace quickerror with thiserror (7926f47)
    • some more tests (400c6cb)
    • Merge branch 'main' into index-from-tree (bc64b96)
    • Merge branch 'main' into filter-refs-by-spec (cfa1440)

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

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

Commit Details

view details
  • 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)
    • Merge branch 'main' into remote-ls-refs (e2ee3de)
    • Merge branch 'docsrs-show-features' (31c2351)
    • 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)
    • Merge branch 'main' into remote-ls-refs (bd5f3e8)

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

  • 11 commits contributed to the release over the course of 22 calendar days.
  • 24 days passed between releases.
  • 1 commit was 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 'main' into remote-ls-refs (c4bf958)
    • first step towards everything being documented (919923c)
    • Merge branch 'main' into remote-ls-refs (de61c4d)
    • thanks clippy (4bd747c)
    • Merge branch 'rev-parse-delegate' (2f506c7)
    • Merge pull request #2 from SidneyDouw/main (ce885ad)
    • Merge branch 'Byron:main' into main (9b9ea02)
    • Merge branch 'main' into rev-parse-delegate (6da8250)
    • Merge branch 'main' into pathspec (7b61506)

0.9.6 (2022-07-22)

This is a maintenance release with no functional changes.

Commit Statistics

  • 6 commits contributed to the release over the course of 32 calendar days.
  • 39 days passed between releases.
  • 0 commits were understood as conventional.
  • 0 issues like '(#ID)' were 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)
    • Merge pull request #1 from Byron/main (085e76b)
    • assure document-features are available in all 'usable' and 'early' crates (238581c)
    • Merge branch 'main' into pathspec (89ea12b)
    • Merge branch 'main' into cont_include_if (41ea8ba)

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

  • 6 commits contributed to the release over the course of 25 calendar days.
  • 25 days passed between releases.
  • 1 commit was 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)
    • Merge branch 'revspec-parsing' (a2c8969)
    • Merge branch 'main' into SidneyDouw-pathspec (a22b1d8)
    • Merge branch 'main' into git_includeif (598c853)

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 5 calendar days.
  • 46 days passed between releases.
  • 2 commits were 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 'main' into refs-and-worktrees (9cf0c7b)
    • Merge branch 'kalkin-improve-prefix' (0866e89)
    • Implement TryFrom<&str> for Prefix (89f1b27)

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 were 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 'short-id' (5849d5b)

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 was 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 was understood as conventional.

Lines 1–500 of 881.