1386 lines · 109.4 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.21.2 (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

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

Commit Details

view details
  • Uncategorized
    • Release git-path v0.4.1 (5e82346)
    • 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.21.1 (2022-08-17)

A maintenance release without user facing changes.

Commit Statistics

  • 11 commits contributed to the release over the course of 26 calendar days.
  • 26 days passed between releases.
  • 0 commits 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-date v0.0.3, git-actor v0.11.1, git-attributes v0.3.1, git-tempfile v2.0.3, git-object v0.20.1, git-ref v0.15.1, git-config v0.6.1, git-diff v0.17.1, git-discover v0.4.0, git-bitmap v0.1.1, git-index v0.4.1, git-mailmap v0.3.1, git-traverse v0.16.1, git-pack v0.21.1, git-odb v0.31.1, git-packetline v0.12.6, git-url v0.7.1, git-transport v0.19.1, git-protocol v0.18.1, git-revision v0.4.0, git-worktree v0.4.1, git-repository v0.21.0, safety bump 5 crates (c96473d)
    • prepare changelogs prior to reelase (c06ae1c)
    • Release git-hash v0.9.7, git-features v0.22.1 (232784a)
    • Merge branch 'format_git_date_time' (99e12be)
    • 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)
    • Merge branch 'main' into rev-parse-delegate (6da8250)
    • Fix typos (e9fcb70)

0.21.0 (2022-07-22)

This is a maintenance release with no functional changes.

New Features (BREAKING)

  • Provide optional candidates for ambigious entries during lookup_prefix() The candidate entries are all entries matching a given prefix.

Commit Statistics

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

Commit Details

view details
  • #427
    • refactor (c28404b)
    • Assure index ambiguous object range can represent 'none found' (5ffe54f)
    • Avoid allocating index entries in case of ambiguity by using a range (4db4754)
    • fix build (8a63076)
    • more efficient and clear addition of entries to candidates (a76a0e1)
    • properly order ambiguous entries, ascending (0340896)
    • Provide optional candidates for ambigious entries during lookup_prefix() (95210cb)
    • refactor (a2f9fa4)
  • Uncategorized
    • Release 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 (aa639d8)
    • 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)
    • Release git-path v0.3.0, safety bump 14 crates (400c9be)

0.20.0 (2022-06-13)

A maintenance release without user-facing changes.

Commit Statistics

  • 3 commits contributed to the release over the course of 22 calendar days.
  • 22 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-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 'davidkna-discover-x-fs' (9abaeda)

0.19.1 (2022-05-21)

A maintenance release without user-facing changes.

Commit Statistics

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

Thanks Clippy

Clippy helped 2 times to make code idiomatic.

Commit Details

view details
  • #422
  • Uncategorized
    • Release git-path v0.1.2, git-sec v0.1.1, git-config v0.4.0, git-discover v0.1.1, git-pack v0.19.1, git-repository v0.18.0, cargo-smart-release v0.10.0, safety bump 2 crates (ceb6dff)
    • thanks clippy (409a95b)
    • thanks clippy (4979d20)

0.19.0 (2022-05-18)

A maintenance release without user-facing changes.

Commit Statistics

  • 15 commits contributed to the release over the course of 40 calendar days.
  • 43 days passed between releases.
  • 0 commits where understood as conventional.
  • 2 unique issues were worked on: #301, #384

Commit Details

view details
  • #301
    • update changelogs prior to release (84cb256)
    • adapt to changes in git-path (cc2d810)
    • Use git-path crate instead of git_features::path (47e607d)
  • #384
    • prevent line-ending conversions for shell scripts on windows (96bb4d4)
    • No need to isolate archives by crate name (19d46f3)
    • add archive files via git-lfs (7202a1c)
    • auto-set commit.gpgsign=false when executing git (c23feb6)
  • Uncategorized
    • Release 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 (349c590)
    • 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)
    • Merge branch 'main' into refs-and-worktrees (9cf0c7b)
    • cleanup (199583a)
    • Merge branch 'git_includeif' of https://github.com/svetli-n/gitoxide into svetli-n-git_includeif (0e01da7)
    • Merge branch 'mzr-fix_empty_values' (09c8628)
    • fix clippy - many false positives this time (045e6fa)
    • fix clippy - many false positives this time (099bd5b)

0.18.0 (2022-04-05)

Changed (BREAKING)

  • Remove deprecated compound and linked object databases The dynamic/general store is the only maintained can-do-it-all DB now.

Commit Statistics

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

Commit Details

view details

0.17.0 (2022-04-03)

Chore

  • upgrade dashmap to 5.1.0 (with security fix)

New Features

  • index::File::lookup_prefix(…)
  • git-hash::Prefix::from_id() A way to obtain a prefix of an object id, with all non-prefix bytes set to zero.
  • in-manifest and in-lib documentation of feature toggles

Bug Fixes

  • support Rust 1.52

Refactor

  • remove unnecessary unsafe by using chunks_mut() This was probably a left-over from times where there was a static requirement on the chunks processing. Maybe… .

Commit Statistics

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

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • #298
    • index::File::lookup_prefix(…) (503b1a1)
    • 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)
    • git-hash::Prefix::from_id() (cb83bee)
    • Sketch for abbreviated method lookup (467453a)
    • Use hash_hasher based hash state for better keys/less collisions (814de07)
    • upgrade parking_lot and cargo_toml (f95c1a0)
  • #301
    • Salvage an alternative parallelization approach which might be good for index-creation (7e76796)
    • refactor (f86eacc)
    • switch index checkout to chunk-based operation (e5f6943)
  • #329
    • in-manifest and in-lib documentation of feature toggles (1620830)
    • Document all features related to serde1 (72b97f2)
  • #331
    • Adapt to changes in git_features::path to deal with Result (bba4c68)
  • #333
    • Use git_features::path everywhere where there is a path conversion (2e1437c)
    • gitoxide-core without os-str-bytes (909aa14)
    • Remove os_str_bytes from git-pack (86f6e50)
  • #364
    • add some precaution to avoid strange interactions with packs (b052a9a)
    • fix build (9c8e449)
  • #67
    • Use an even faster way of counting (3877920)
  • Uncategorized
    • Release git-diff v0.14.0, git-bitmap v0.1.0, git-index v0.2.0, git-tempfile v2.0.1, git-lock v2.0.0, git-mailmap v0.1.0, git-traverse v0.13.0, git-pack v0.17.0, git-quote v0.2.0, git-odb v0.27.0, git-packetline v0.12.4, git-url v0.4.0, git-transport v0.16.0, git-protocol v0.15.0, git-ref v0.12.0, git-worktree v0.1.0, git-repository v0.15.0, cargo-smart-release v0.9.0, safety bump 5 crates (e58dc30)
    • 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)
    • make fmt (7cf3545)
    • remove unnecessary unsafe by using chunks_mut() (9b9f10a)
    • thanks clippy (48be1ee)
    • Release git-tempfile v2.0.0, safety bump 6 crates (90b1c42)
    • upgrade document-features (c35e62e)
    • Merge branch 'AP2008-implement-worktree' (f32c669)
    • upgrade dashmap to 5.1.0 (with security fix) (2520945)

0.16.1 (2022-02-01)

Bug Fixes

Commit Statistics

  • 6 commits contributed to the release over the course of 7 calendar days.
  • 8 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-pack v0.16.1 (d4a8f9f)
    • Release git-object v0.17.1, git-pack v0.16.1 (e959af8)
    • 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)
    • downgrade dashmap to 4.0 to avoid unsoundness. (d9451e8)
    • Merge branch 'index-information' (025f157)

0.16.0 (2022-01-23)

Refactor

  • replace bare u32 data::Id typedef

Other

  • :File uses its hash_len parameter
  • :Find implementation for Rc

Chore

  • remove unused dependencies

New Features

  • zero-objects check for index and multi-index integrity validation
  • support for fan-checking in index and multi-index integrity verification
  • introduce type for entry indices within an index or multi-index That way it's a littl emore descriptive than a bare u32.
  • git_pack::Find::try_find_cached(…, pack_cache) With this method it's easier to bypass local caches and control the cache oneself entirely.
  • A simplified version of the Find trait It's meant for the next generation of object db handles which keep a local cache of all the details of the actual object database.

Bug Fixes

  • support Rust 1.52

  • Allow resolution of in-pack ref-deltas This finally allows delta tree caches to be used on typical small packs returned by GitHub.

  • don't try to short-cut detection of large offsets when writing index files The code incorrectly assumed that the input is sorted by offsets, with the largest offset being last, even though by all means that's not the case.

  • Avoid the dashmap being cloned for each thread Intead, share it by reference, it's sync after all.

    This issue was introduced when switching to a Send + Clone model, instead of Send + Sync, to allow thread-local caches in database handles of all kinds.

  • linked::Store now assures unique IDs across compound stores

Changed (BREAKING)

  • Improve method signatures of cache::Tree::*

  • cleanup and unify verify_integrity() method signature Previously they used many different ways of handling their parameters despite all boiling down to calling the same 'index::File::traverse()` method.

    This allows for more reuse of Options structs and generally makes clearer how these optinos are used.

  • index::File::traverse() now returns an Outcome struct instead of tuple of 3 fields

  • remove Option<impl Progress> in favor of impl Progress

  • multi-index integrity check; use integrity::Outcome for various integrity checks

  • remove unnecessary Arc around should_interrupt flag

  • remove Sha1 mentions in index::verify::Mode::* variants The hash is repository defined and not hard-coded

  • introduce index::File::verify_integrity(…, pack: Option<PackContext>, …), replacing tuple This allows for more documentation on what input is required there and generally makes for an easier to use API.

  • 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

  • Change accessors named hash_kind() to object_hash() for consistency

  • consistently use object_hash instead of hash_kind

  • data::Entry::from_read() now takes a hash lengths as parameter That way ref-deltas can be interepreted without hard-coding SHA1

  • data::Entry::from_bytes(…, hash_len) takes new parameter The hash-len tells it how to interpret ref-delta objects, which store the complete hash of the base object.

    This is now entirely configurable.

  • index::File::at() with git_hash::Kind parameter It will allow to assume different hashes even in the index file format which isn't yet capable of storing this information.

  • data::File::at() and Bundle::at() now have hash_kind parameter It's used to configure the kind of hash to assume when reading packs and indices.

  • remove make_object_cache parameter from git_pack::data::output::count::objects() It now is an implementation detail of the Find trait.

  • move bundle::Location to data::entry::Location The latter place best describes its purpose.

  • remove pack-cache from Find::try_find(…) With the new architecture this can be an implementation detail without forcing it to be Sync.

  • move git_pack::data::Object to git_object::Data, massively alter git_odb::Find trait This will break a lot, but has to happen to prepare these traits for the next generation of object databases.

Commit Statistics

  • 147 commits contributed to the release over the course of 51 calendar days.
  • 55 days passed between releases.
  • 33 commits where understood as conventional.
  • 6 unique issues were worked on: #260, #266, #279, #287, #293, #67

Thanks Clippy

Clippy helped 8 times to make code idiomatic.

Commit Details

view details
  • #260
    • linked::Store now assures unique IDs across compound stores (b605c1f)
  • #266
    • remove unused dependencies (c800fdd)

Lines 1–500 of 1386.