2271 lines · 183.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.24.1 (2023-02-17)

Bug Fixes

  • note that crates have been renamed from git-* to gix-*. This also means that the git-* prefixed crates of the gitoxide project are effectively unmaintained. Use the crates with the gix-* prefix instead.

    If you were using git-repository, then gix is its substitute.

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • note that crates have been renamed from git-* to gix-*. (e14dc7d)
    • Release git-features v0.26.4 (109f434)
    • Release git-features v0.26.3 (1ecfb7f)
    • Merge branch 'rename-crates' (6461c3d)
    • rename git-repository to gix (7bed2a9)

0.24.0 (2023-02-09)

Documentation

  • fix typos

Bug Fixes (BREAKING)

  • commiting the revlog transaction is now optional. This also means that providing no committer despite one being needed is will cause the transaction to fail entirely with an error.

    Doing this allows users who disable the reflog not to have to deal with committer configuration at all.

Commit Statistics

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

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • #691
    • set rust-version to 1.64 (55066ce)
  • Uncategorized
    • Release git-date v0.4.2, git-hash v0.10.2, git-features v0.26.2, git-actor v0.17.1, git-glob v0.5.3, git-path v0.7.1, git-quote v0.4.1, git-attributes v0.8.2, git-config-value v0.10.1, git-tempfile v3.0.2, git-lock v3.0.2, git-validate v0.7.2, git-object v0.26.1, git-ref v0.24.0, git-sec v0.6.2, git-config v0.16.0, git-command v0.2.3, git-prompt v0.3.2, git-url v0.13.2, git-credentials v0.9.1, git-diff v0.26.1, git-discover v0.13.0, git-hashtable v0.1.1, git-bitmap v0.2.1, git-traverse v0.22.1, git-index v0.12.3, git-mailmap v0.9.2, git-chunk v0.4.1, git-pack v0.30.2, git-odb v0.40.2, git-packetline v0.14.2, git-transport v0.25.4, git-protocol v0.26.3, git-revision v0.10.2, git-refspec v0.7.2, git-worktree v0.12.2, git-repository v0.34.0, safety bump 3 crates (c196d20)
    • prepare changelogs prior to release (7c846d2)
    • Merge branch 'Lioness100/main' (1e544e8)
    • revert obtai -> obtained (cd84c1a)
    • fix typos (39ed9ed)
    • thanks clippy (bac57dd)
    • make fmt (e22080e)
    • Merge branch 'adjustments-for-cargo' (7bba270)
    • Assure single-threaded git-ref tests may run. (17c0776)
    • Break cyclical dev dependencies (1fea18f)
    • commiting the revlog transaction is now optional. (65c5589)

0.23.1 (2023-01-10)

A maintenance release without user-facing changes.

Commit Statistics

  • 4 commits contributed to the release.
  • 1 day 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-date v0.4.1, git-features v0.26.1, git-glob v0.5.2, git-attributes v0.8.1, git-tempfile v3.0.1, git-ref v0.23.1, git-sec v0.6.1, git-config v0.15.1, git-prompt v0.3.1, git-url v0.13.1, git-discover v0.12.1, git-index v0.12.2, git-mailmap v0.9.1, git-pack v0.30.1, git-odb v0.40.1, git-transport v0.25.3, git-protocol v0.26.2, git-revision v0.10.1, git-refspec v0.7.1, git-worktree v0.12.1, git-repository v0.33.0 (5b5b380)
    • prepare changelogs prior to release (93bef97)
    • Merge branch 'patch-1' (b93f0c4)
    • thanks clippy (9e04685)

0.23.0 (2023-01-09)

A maintenance release without user-facing changes.

Commit Statistics

  • 3 commits contributed to the release over the course of 2 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
    • Release git-ref v0.23.0, git-config v0.15.0, git-command v0.2.2, git-diff v0.26.0, git-discover v0.12.0, git-mailmap v0.9.0, git-pack v0.30.0, git-odb v0.40.0, git-transport v0.25.2, git-protocol v0.26.1, git-revision v0.10.0, git-refspec v0.7.0, git-worktree v0.12.0, git-repository v0.32.0 (ffb5b6a)
    • prepare changelogs prior to release (4381a03)
    • Release git-date v0.4.0, git-actor v0.17.0, git-object v0.26.0, git-traverse v0.22.0, git-index v0.12.0, safety bump 15 crates (0e3d0a5)

0.22.0 (2022-12-30)

A maintenance release without user-facing changes.

Commit Statistics

  • 2 commits contributed to the release.
  • 11 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-features v0.26.0, git-actor v0.16.0, git-attributes v0.8.0, git-object v0.25.0, git-ref v0.22.0, git-config v0.14.0, git-command v0.2.1, git-url v0.13.0, git-credentials v0.9.0, git-diff v0.25.0, git-discover v0.11.0, git-traverse v0.21.0, git-index v0.11.0, git-mailmap v0.8.0, git-pack v0.29.0, git-odb v0.39.0, git-transport v0.25.0, git-protocol v0.26.0, git-revision v0.9.0, git-refspec v0.6.0, git-worktree v0.11.0, git-repository v0.31.0, safety bump 24 crates (5ac9fbe)
    • prepare changelogs prior to release (30d8ca1)

0.21.0 (2022-12-19)

A maintenance release without user-facing changes.

Commit Statistics

  • 12 commits contributed to the release over the course of 27 calendar days.
  • 27 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-date v0.3.1, git-features v0.25.0, git-actor v0.15.0, git-glob v0.5.1, git-path v0.7.0, git-attributes v0.7.0, git-config-value v0.10.0, git-lock v3.0.1, git-validate v0.7.1, git-object v0.24.0, git-ref v0.21.0, git-sec v0.6.0, git-config v0.13.0, git-prompt v0.3.0, git-url v0.12.0, git-credentials v0.8.0, git-diff v0.24.0, git-discover v0.10.0, git-traverse v0.20.0, git-index v0.10.0, git-mailmap v0.7.0, git-pack v0.28.0, git-odb v0.38.0, git-packetline v0.14.1, git-transport v0.24.0, git-protocol v0.25.0, git-revision v0.8.0, git-refspec v0.5.0, git-worktree v0.10.0, git-repository v0.30.0, safety bump 26 crates (e6b9906)
    • prepare chnagelogs prior to git-repository release (7114bbb)
    • Merge branch 'main' into read-split-index (c57bdde)
    • Merge branch 'adjustments-for-cargo' (083909b)
    • thanks clippy (f1160fb)
    • adapt to changes in git-features::fs. (35f7d59)
    • adjust to changes in git-testtools (4eb842c)
    • Release git-hash v0.10.1, git-hashtable v0.1.0 (7717170)
    • Merge branch 'main' into http-config (6b9632e)
    • Release git-features v0.24.1, git-actor v0.14.1, git-index v0.9.1 (7893502)
    • Merge branch 'main' into http-config (bcd9654)
    • make fmt (0abab7d)

0.20.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.
  • 4 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.19.0 (2022-11-17)

New Features

  • file::Transaction::rollback() allows to explicitly roll back a pending change. As opposed to dropping the Transaction, this method allows to obtain all edits that would have been applied.
  • higher performance for edits which would write the same value. Instead of moving them into place, we just drop them, without ever writing into them.

Bug Fixes

  • assure symrefs don't get deleted when moving refs to packed-refs. Previously it was possible for symbolic refs to be deleted right after they have been created or updated as they were included in the set of refs that was assumed to be part of packed-refs, which isn't the case for symbolic refs.

  • case-insensitively conflicting references can be created even on case-insensitive filesystems*. The asterisk indicates that this only works if packed-refs are present and these references are written straight to packed references without ever trying to handle the otherwise conflicting loose reference files.

    This is done by leveraging the fact that in presence of packed-refs or a pending creation of packed-refs, there is no need to create per-file locks as concurrent transactions also have to obtain the packed-refs lock and fail (or wait) until it's done.

  • instead of erroring if loose iteration is performed on missing base, correctly yield zero references. Previously it reported an error, now it does not and instead performs no iteration, which is more helpful to the user of the API I believe as they won't randomly fail just because somebody deleted the refs folder.

  • loose ref iteration on a repo with missing 'ref/' fails when creating the iterator. Previously, it would fail on first iteration, making it seem like there is one reference even though it's just an error stating that the base cannot be read.

    This is clearly worse than making a metadata check on the filesystem, no matter how unlikely the case.

Commit Statistics

  • 19 commits contributed to the release over the course of 1 calendar day.
  • 10 days passed between releases.
  • 6 commits were understood as conventional.
  • 1 unique issue was worked on: #595

Thanks Clippy

Clippy helped 2 times to make code idiomatic.

Commit Details

view details
  • #595
    • assure symrefs don't get deleted when moving refs to packed-refs. (584b705)
    • Avoid lock-acquisition for refs which are to be deleted if a global lock is helt. (66b053d)
    • case-insentively conflicting references can be created even on case-insensitie filesystems*. (9f84850)
    • instead of erroring if loose iteration is performed on missing base, correctly yield zero references. (e9853dd)
    • loose ref iteration on a repo with missing 'ref/' fails when creating the iterator. (27386a9)
    • First test to validate how collisions are expressed. (3f54ade)
    • Attempt to add the first case-sensitive test… (063ab73)
    • file::Transaction::rollback() allows to explicitly roll back a pending change. (e86e159)
    • higher performance for edits which would write the same value. (bbdb480)
  • Uncategorized
    • Release git-glob v0.4.2, git-config-value v0.8.2, git-lock v2.2.0, git-ref v0.19.0, git-config v0.11.0, git-discover v0.8.0, git-index v0.8.0, git-transport v0.22.0, git-protocol v0.23.0, git-worktree v0.8.0, git-repository v0.28.0, gitoxide-core v0.20.0, gitoxide v0.18.0, safety bump 9 crates (0c253b1)
    • prepare changelogs prior to release (fe5721f)
    • Merge branch 'http-config' (665b53e)
    • Don't assert on state that is based on a transaction that isn't committed (00f6f7a)
    • thanks clippy (fe7d6f9)
    • Assure reflogs aren't skipped just because there is no per-loose lock file. (130d13b)
    • refactor (f17c6b6)
    • refactor (c1d2aea)
    • refactor (b0a231a)
    • thanks clippy (5f7fe69)

0.18.0 (2022-11-06)

Bug Fixes

  • allow symref updates to receive reflogs if these are new… …and well-known on top of that, that means having an exact expectation on what should be present.

    This allows symrefs to be created with reflog.

Bug Fixes (BREAKING)

  • support for non-'static PackedRefs transactions. When configuring for packed-refs updates, previously one needed to provide a function to find objects that could not borrow data due to implicit 'static requirement. This has been lifted to allow it to access references to data on the stack.

Commit Statistics

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

Thanks Clippy

Clippy helped 2 times to make code idiomatic.

Commit Details

view details
  • #450
    • support for non-'static PackedRefs transactions. (328900a)
    • add test to validate new symref reflog behaviour (8b5cf38)
    • allow symref updates to receive reflogs if these are new… (6e5c0ae)
  • Uncategorized
    • Release git-features v0.23.1, git-glob v0.4.1, git-config-value v0.8.1, git-tempfile v2.0.6, git-object v0.22.1, git-ref v0.18.0, git-sec v0.4.2, git-config v0.10.0, git-prompt v0.1.1, git-url v0.10.1, git-credentials v0.6.1, git-diff v0.21.0, git-discover v0.7.0, git-index v0.7.0, git-pack v0.25.0, git-odb v0.35.0, git-transport v0.21.1, git-protocol v0.22.0, git-refspec v0.3.1, git-worktree v0.7.0, git-repository v0.26.0, git-commitgraph v0.10.0, gitoxide-core v0.19.0, gitoxide v0.17.0, safety bump 9 crates (d071583)
    • prepare changelogs prior to release (423af90)
    • Merge branch 'main' into write-sparse-index (upgrade to Rust 1.65) (5406630)
    • thanks clippy (04cfa63)
    • Merge branch 'main' into write-sparse-index (c4e6849)
    • Merge branch 'gix-clone' (def53b3)
    • thanks clippy (3eaedda)

0.17.0 (2022-10-10)

New Features

  • transaction::Change::new_value() to get easy access to new values of references. That's more convenient than matching on the enum.
  • FullName::try_from(&BString) for convenience. Sometimes when matching one only has a &BString, and it's hard to convert it to &BStr without an extra line of code, it's cumbersome, so we workaround by adding another conversion.

Changed (BREAKING)

  • file::Transaction::prepare() now takes two git_lock::acquisition::Fail instances. This allows to configure the file-ref lock failure mode differently from the packed-refs lock failure mode, which is exactly what git does as well defaulting them to 100ms and 1000ms till lock acquisition gives up.

Commit Statistics

  • 11 commits contributed to the release over the course of 20 calendar days.
  • 20 days passed between releases.
  • 3 commits were understood as conventional.
  • 1 unique issue was worked on: #450

Commit Details

view details
  • #450
    • transaction::Change::new_value() to get easy access to new values of references. (370ed3d)
    • file::Transaction::prepare() now takes two git_lock::acquisition::Fail instances. (e699291)
    • FullName::try_from(&BString) for convenience. (658c125)
    • Improve docs slightly (4850202)
  • 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 new-http-impl (702a161)
    • make fmt (53acf25)
    • Merge branch 'fetch-pack' (3c49400)
    • Merge branch 'fix-git-features' (82fd251)
    • Merge branch 'diff' (25a7726)

0.16.0 (2022-09-20)

Chore (BREAKING)

  • replace quick-error with thiserror

Commit Statistics

  • 19 commits contributed to the release over the course of 22 calendar days.
  • 22 days passed between releases.
  • 1 commit was 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)
    • Merge branch 'filter-refs' (3773b92)
    • Release git-features v0.22.6 (c9eda72)
    • Merge branch 'filter-refs' (e10554d)
    • Merge branch 'filter-refs-by-spec' (5c05198)
    • Merge branch 'main' into filter-refs-by-spec (9aa1d3d)
    • Release git-features v0.22.4, git-url v0.8.0, safety bump 4 crates (1d4600a)
    • Merge branch 'main' into filter-refs-by-spec (1f6e5ab)
    • Merge branch 'fix-522' (5869e9f)
    • Release git-hash v0.9.9 (da0716f)
    • Merge branch 'main' into index-from-tree (bc64b96)
    • Release git-path v0.4.2, git-config-value v0.7.0 (c48fb31)
    • Merge branch 'main' into filter-refs-by-spec (cef0b51)

0.15.4 (2022-08-28)

New Features

  • Add Reference::delete() for simple reference deletion

Commit Statistics

  • 3 commits contributed to the release.
  • 1 day passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #XXX

Commit Details

Lines 1–500 of 2271.