Skip to content

Commit

Permalink
Release git-hash v0.9.7, git-features v0.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Aug 15, 2022
1 parent f498d35 commit 232784a
Show file tree
Hide file tree
Showing 28 changed files with 135 additions and 40 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ cache-efficiency-debug = ["git-features/cache-efficiency-debug"]
anyhow = "1.0.42"

gitoxide-core = { version = "^0.15.0", path = "gitoxide-core" }
git-features = { version = "^0.22.0", path = "git-features" }
git-features = { version = "^0.22.1", path = "git-features" }
git-repository = { version = "^0.20.0", path = "git-repository", default-features = false }

git-transport-for-configuration-only = { package = "git-transport", optional = true, version = "^0.19.0", path = "git-transport" }
Expand Down
2 changes: 1 addition & 1 deletion experiments/diffing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ publish = false
[dependencies]
anyhow = "1"
git-repository = { version = "^0.20.0", path = "../../git-repository", features = ["unstable"] }
git-features-for-config = { package = "git-features", version = "^0.22.0", path = "../../git-features", features = ["cache-efficiency-debug"] }
git-features-for-config = { package = "git-features", version = "^0.22.1", path = "../../git-features", features = ["cache-efficiency-debug"] }
git2 = "0.14"
rayon = "1.5.0"
2 changes: 1 addition & 1 deletion git-actor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ doctest = false
serde1 = ["serde", "bstr/serde1", "git-date/serde1"]

[dependencies]
git-features = { version = "^0.22.0", path = "../git-features", optional = true }
git-features = { version = "^0.22.1", path = "../git-features", optional = true }
git-date = { version = "^0.0.2", path = "../git-date" }

quick-error = "2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion git-attributes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ serde1 = ["serde", "bstr/serde1", "git-glob/serde1", "compact_str/serde"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
git-features = { version = "^0.22.0", path = "../git-features" }
git-features = { version = "^0.22.1", path = "../git-features" }
git-path = { version = "^0.4.0", path = "../git-path" }
git-quote = { version = "^0.2.0", path = "../git-quote" }
git-glob = { version = "^0.3.1", path = "../git-glob" }
Expand Down
4 changes: 2 additions & 2 deletions git-commitgraph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ doctest = false
serde1 = ["serde", "git-hash/serde1", "bstr/serde1"]

[dependencies]
git-features = { version = "^0.22.0", path = "../git-features", features = ["rustsha1"] }
git-hash = { version = "^0.9.6", path = "../git-hash" }
git-features = { version = "^0.22.1", path = "../git-features", features = ["rustsha1"] }
git-hash = { version = "^0.9.7", path = "../git-hash" }
git-chunk = { version = "^0.3.0", path = "../git-chunk" }

bstr = { version = "0.2.13", default-features = false, features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion git-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ include = ["src/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
serde1 = ["serde", "bstr/serde1", "git-sec/serde1", "git-ref/serde1", "git-glob/serde1"]

[dependencies]
git-features = { version = "^0.22.0", path = "../git-features"}
git-features = { version = "^0.22.1", path = "../git-features"}
git-path = { version = "^0.4.0", path = "../git-path" }
git-sec = { version = "^0.3.0", path = "../git-sec" }
git-ref = { version = "^0.15.0", path = "../git-ref" }
Expand Down
2 changes: 1 addition & 1 deletion git-diff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ doctest = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
git-hash = { version = "^0.9.6", path = "../git-hash" }
git-hash = { version = "^0.9.7", path = "../git-hash" }
git-object = { version = "^0.20.0", path = "../git-object" }
quick-error = "2.0.0"

Expand Down
2 changes: 1 addition & 1 deletion git-discover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ doctest = false
git-sec = { version = "^0.3.0", path = "../git-sec", features = ["thiserror"] }
git-path = { version = "^0.4.0", path = "../git-path" }
git-ref = { version = "^0.15.0", path = "../git-ref" }
git-hash = { version = "^0.9.6", path = "../git-hash" }
git-hash = { version = "^0.9.7", path = "../git-hash" }

bstr = { version = "0.2.13", default-features = false, features = ["std", "unicode"] }
thiserror = "1.0.26"
Expand Down
56 changes: 54 additions & 2 deletions git-features/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,55 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.22.1 (2022-08-15)

### New Features

- <csr-id-f498d35baba52e40ecd47381e87c1ce49cf13285/> add `fs-jwalk-single-threaded` feature to specifically decouple `jwalk` from rayon
It has been an issue in https://github.com/starship/starship/issues/4251
apparently and rayon interactions can be difficult.
- <csr-id-7f199f0e5246809efde9880110093fbd11a4f8fe/> `fs::Snapshot` to on-demand reload shared resources.

### Commit Statistics

<csr-read-only-do-not-edit/>

- 15 commits contributed to the release over the course of 23 calendar days.
- 24 days passed between releases.
- 2 commits where understood as [conventional](https://www.conventionalcommits.org).
- 1 unique issue was worked on: [#427](https://github.com/Byron/gitoxide/issues/427)

### Thanks Clippy

<csr-read-only-do-not-edit/>

[Clippy](https://github.com/rust-lang/rust-clippy) helped 1 time to make code idiomatic.

### Commit Details

<csr-read-only-do-not-edit/>

<details><summary>view details</summary>

* **[#427](https://github.com/Byron/gitoxide/issues/427)**
- make fmt ([`4b320e7`](https://github.com/Byron/gitoxide/commit/4b320e773368ac5e8c38dd8a779ef3d6d2d024ec))
- optimize some portions of the Snapshot code for speed. ([`711fd5c`](https://github.com/Byron/gitoxide/commit/711fd5c6c221440917fa68248e45d5278c780a9e))
- More convenient API for fs::Snapshots ([`561d2e7`](https://github.com/Byron/gitoxide/commit/561d2e746b1b82ac20f6f14b9c4e3910240075b4))
- `fs::Snapshot` to on-demand reload shared resources. ([`7f199f0`](https://github.com/Byron/gitoxide/commit/7f199f0e5246809efde9880110093fbd11a4f8fe))
- Use generalized reload-on-demand in `git-ref` ([`8d0cce7`](https://github.com/Byron/gitoxide/commit/8d0cce7d1521374d5199552fc69a417a957519bc))
- Now it's possible to update packed refs using the shared code ([`78222c2`](https://github.com/Byron/gitoxide/commit/78222c2e39aa24c84852e999448c042f2fd37db4))
- The first step towards using the generalized `ReloadIfChanged` in git-ref ([`e8de0ef`](https://github.com/Byron/gitoxide/commit/e8de0ef38db2f2d83cb277ed101464f23c0e98e4))
- generalized port of packed-refs update logic for use in index ([`e3aff0c`](https://github.com/Byron/gitoxide/commit/e3aff0c2b83720e5745f3d7a8d0f571421a26d99))
* **Uncategorized**
- add `fs-jwalk-single-threaded` feature to specifically decouple `jwalk` from rayon ([`f498d35`](https://github.com/Byron/gitoxide/commit/f498d35baba52e40ecd47381e87c1ce49cf13285))
- Merge branch 'write-index-files' into write-index-v2 ([`cddc2ca`](https://github.com/Byron/gitoxide/commit/cddc2ca06f63f66e887ff821452d1f56fb08fe6a))
- Merge branch 'write-index-files' into rev-parse-delegate ([`370110d`](https://github.com/Byron/gitoxide/commit/370110d3356528af38150c2280ed505354ceca5b))
- thanks clippy! ([`c072dbb`](https://github.com/Byron/gitoxide/commit/c072dbb3e203e4a42843895b7d99404d900fdccd))
- Merge branch 'main' into rev-parse-delegate ([`4ae2bed`](https://github.com/Byron/gitoxide/commit/4ae2bedfc25d1881d58ebdc54aca0936c68d4859))
- Merge branch 'main' into rev-parse-delegate ([`6da8250`](https://github.com/Byron/gitoxide/commit/6da82507588d3bc849217c11d9a1d398b67f2ed6))
- Fix typos ([`e9fcb70`](https://github.com/Byron/gitoxide/commit/e9fcb70e429edb2974afa3f58d181f3ef14c3da3))
</details>

## 0.22.0 (2022-07-22)

### New Features
Expand All @@ -30,10 +79,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<csr-read-only-do-not-edit/>

- 5 commits contributed to the release over the course of 17 calendar days.
- 7 commits contributed to the release over the course of 36 calendar days.
- 39 days passed between releases.
- 2 commits where understood as [conventional](https://www.conventionalcommits.org).
- 1 unique issue was worked on: [#331](https://github.com/Byron/gitoxide/issues/331)
- 2 unique issues were worked on: [#331](https://github.com/Byron/gitoxide/issues/331), [#427](https://github.com/Byron/gitoxide/issues/427)

### Commit Details

Expand All @@ -45,7 +94,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- remove local-time-support feature toggle. ([`89a41bf`](https://github.com/Byron/gitoxide/commit/89a41bf2b37db29b9983b4e5492cfd67ed490b23))
- initialize `Time` from `now_utc` and `now_local` ([`c76fde7`](https://github.com/Byron/gitoxide/commit/c76fde7de278b49ded13b655d5345e4eb8c1b134))
- a first sketch on how identity management could look like. ([`780f14f`](https://github.com/Byron/gitoxide/commit/780f14f5c270802e51cf039639c2fbdb5ac5a85e))
* **[#427](https://github.com/Byron/gitoxide/issues/427)**
- Turn on performance mode for sha-1 computation ([`44371a1`](https://github.com/Byron/gitoxide/commit/44371a10f464f32db346aa6b8309e983cfa20933))
* **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`](https://github.com/Byron/gitoxide/commit/4737b1eea1d4c9a8d5a69fb63ecac5aa5d378ae5))
- prepare changelog prior to release ([`3c50625`](https://github.com/Byron/gitoxide/commit/3c50625fa51350ec885b0f38ec9e92f9444df0f9))
- git-features' walkdir: 2.3.1 -> 2.3.2 ([`41dd754`](https://github.com/Byron/gitoxide/commit/41dd7545234e6d2637d2bca5bb6d4f6d8bfc8f57))
</details>
Expand Down
4 changes: 2 additions & 2 deletions git-features/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "git-features"
description = "A crate to integrate various capabilities using compile-time feature flags"
repository = "https://github.com/Byron/gitoxide"
version = "0.22.0"
version = "0.22.1"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand Down Expand Up @@ -88,7 +88,7 @@ required-features = ["io-pipe"]
[dependencies]
#! ### Optional Dependencies

git-hash = { version = "^0.9.6", path = "../git-hash" }
git-hash = { version = "^0.9.7", path = "../git-hash" }



Expand Down
45 changes: 44 additions & 1 deletion git-hash/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,48 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.9.7 (2022-08-15)

### New Features

- <csr-id-05794383cb7c903ab30b5d6ef0178dffdf66feee/> `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

<csr-read-only-do-not-edit/>

- 8 commits contributed to the release over the course of 19 calendar days.
- 24 days passed between releases.
- 1 commit where understood as [conventional](https://www.conventionalcommits.org).
- 1 unique issue was worked on: [#427](https://github.com/Byron/gitoxide/issues/427)

### Thanks Clippy

<csr-read-only-do-not-edit/>

[Clippy](https://github.com/rust-lang/rust-clippy) helped 1 time to make code idiomatic.

### Commit Details

<csr-read-only-do-not-edit/>

<details><summary>view details</summary>

* **[#427](https://github.com/Byron/gitoxide/issues/427)**
- `Prefix::from(ObjectId)` ([`0579438`](https://github.com/Byron/gitoxide/commit/05794383cb7c903ab30b5d6ef0178dffdf66feee))
* **Uncategorized**
- Merge branch 'format_git_date_time' ([`99e12be`](https://github.com/Byron/gitoxide/commit/99e12bee16ab3f344c71818bfd1c95cf50e1721b))
- Merge branch 'main' into write-index-v2 ([`a938986`](https://github.com/Byron/gitoxide/commit/a938986877302c197d1aed087594c5605416fe5f))
- first step towards everything being documented ([`919923c`](https://github.com/Byron/gitoxide/commit/919923c08b641ca148c2f25d193d65bb068cc787))
- thanks clippy ([`4bd747c`](https://github.com/Byron/gitoxide/commit/4bd747cb3e126fe5b1d540270cfbd731cffd42ef))
- Merge branch 'write-index-files' into write-index-v2 ([`cddc2ca`](https://github.com/Byron/gitoxide/commit/cddc2ca06f63f66e887ff821452d1f56fb08fe6a))
- Merge branch 'write-index-files' into rev-parse-delegate ([`370110d`](https://github.com/Byron/gitoxide/commit/370110d3356528af38150c2280ed505354ceca5b))
- Merge branch 'main' into rev-parse-delegate ([`4ae2bed`](https://github.com/Byron/gitoxide/commit/4ae2bedfc25d1881d58ebdc54aca0936c68d4859))
</details>

## 0.9.6 (2022-07-22)

This is a maintenance release with no functional changes.
Expand All @@ -13,7 +55,7 @@ This is a maintenance release with no functional changes.

<csr-read-only-do-not-edit/>

- 2 commits contributed to the release over the course of 12 calendar days.
- 3 commits contributed to the release over the course of 12 calendar days.
- 39 days passed between releases.
- 0 commits where understood as [conventional](https://www.conventionalcommits.org).
- 0 issues like '(#ID)' where seen in commit messages
Expand All @@ -25,6 +67,7 @@ This is a maintenance release with no functional changes.
<details><summary>view details</summary>

* **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`](https://github.com/Byron/gitoxide/commit/4737b1eea1d4c9a8d5a69fb63ecac5aa5d378ae5))
- prepare changelog prior to release ([`3c50625`](https://github.com/Byron/gitoxide/commit/3c50625fa51350ec885b0f38ec9e92f9444df0f9))
- assure document-features are available in all 'usable' and 'early' crates ([`238581c`](https://github.com/Byron/gitoxide/commit/238581cc46c7288691eed37dc7de5069e3d86721))
</details>
Expand Down
2 changes: 1 addition & 1 deletion git-hash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git-hash"
version = "0.9.6"
version = "0.9.7"
description = "Borrowed and owned git hash digests used to identify git objects"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
repository = "https://github.com/Byron/gitoxide"
Expand Down
4 changes: 2 additions & 2 deletions git-index/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ internal-testing-to-avoid-being-run-by-cargo-test-all = []
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
git-features = { version = "^0.22.0", path = "../git-features", features = ["rustsha1", "progress"] }
git-hash = { version = "^0.9.6", path = "../git-hash" }
git-features = { version = "^0.22.1", path = "../git-features", features = ["rustsha1", "progress"] }
git-hash = { version = "^0.9.7", path = "../git-hash" }
git-bitmap = { version = "^0.1.0", path = "../git-bitmap" }
git-object = { version = "^0.20.0", path = "../git-object" }

Expand Down
4 changes: 2 additions & 2 deletions git-object/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ serde1 = ["serde", "bstr/serde1", "smallvec/serde", "git-hash/serde1", "git-acto
verbose-object-parsing-errors = ["nom/std"]

[dependencies]
git-features = { version = "^0.22.0", path = "../git-features", features = ["rustsha1"] }
git-hash = { version = "^0.9.6", path = "../git-hash" }
git-features = { version = "^0.22.1", path = "../git-features", features = ["rustsha1"] }
git-hash = { version = "^0.9.7", path = "../git-hash" }
git-validate = { version = "^0.5.4", path = "../git-validate" }
git-actor = { version = "^0.11.0", path = "../git-actor" }

Expand Down
4 changes: 2 additions & 2 deletions git-odb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ path = "tests/odb-single-threaded.rs"
required-features = []

[dependencies]
git-features = { version = "^0.22.0", path = "../git-features", features = ["rustsha1", "walkdir", "zlib", "crc32" ] }
git-features = { version = "^0.22.1", path = "../git-features", features = ["rustsha1", "walkdir", "zlib", "crc32" ] }
git-path = { version = "^0.4.0", path = "../git-path" }
git-hash = { version = "^0.9.6", path = "../git-hash" }
git-hash = { version = "^0.9.7", path = "../git-hash" }
git-quote = { version = "^0.2.0", path = "../git-quote" }
git-object = { version = "^0.20.0", path = "../git-object" }
git-pack = { version = "^0.21.0", path = "../git-pack" }
Expand Down
4 changes: 2 additions & 2 deletions git-pack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ path = "tests/pack-single-threaded.rs"
required-features = ["internal-testing-to-avoid-being-run-by-cargo-test-all"]

[dependencies]
git-features = { version = "^0.22.0", path = "../git-features", features = ["crc32", "rustsha1", "progress", "zlib"] }
git-hash = { version = "^0.9.6", path = "../git-hash" }
git-features = { version = "^0.22.1", path = "../git-features", features = ["crc32", "rustsha1", "progress", "zlib"] }
git-hash = { version = "^0.9.7", path = "../git-hash" }
git-path = { version = "^0.4.0", path = "../git-path" }
git-chunk = { version = "^0.3.0", path = "../git-chunk" }
git-object = { version = "^0.20.0", path = "../git-object" }
Expand Down
4 changes: 2 additions & 2 deletions git-protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ path = "tests/async-protocol.rs"
required-features = ["async-client"]

[dependencies]
git-features = { version = "^0.22.0", path = "../git-features", features = ["progress"] }
git-features = { version = "^0.22.1", path = "../git-features", features = ["progress"] }
git-transport = { version = "^0.19.0", path = "../git-transport" }
git-hash = { version = "^0.9.6", path = "../git-hash" }
git-hash = { version = "^0.9.7", path = "../git-hash" }
git-credentials = { version = "^0.3.0", path = "../git-credentials" }

quick-error = "2.0.0"
Expand Down
4 changes: 2 additions & 2 deletions git-ref/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ required-features = ["internal-testing-git-features-parallel"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
git-features = { version = "^0.22.0", path = "../git-features", features = ["walkdir"]}
git-features = { version = "^0.22.1", path = "../git-features", features = ["walkdir"]}
git-path = { version = "^0.4.0", path = "../git-path" }
git-hash = { version = "^0.9.6", path = "../git-hash" }
git-hash = { version = "^0.9.7", path = "../git-hash" }
git-object = { version = "^0.20.0", path = "../git-object" }
git-validate = { version = "^0.5.4", path = "../git-validate" }
git-actor = { version = "^0.11.0", path = "../git-actor" }
Expand Down
2 changes: 1 addition & 1 deletion git-refspec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ doctest = false
[dependencies]
git-revision = { version = "^0.3.0", path = "../git-revision" }
git-validate = { version = "^0.5.4", path = "../git-validate" }
git-hash = { version = "^0.9.6", path = "../git-hash" }
git-hash = { version = "^0.9.7", path = "../git-hash" }

bstr = { version = "0.2.13", default-features = false, features = ["std"]}
thiserror = "1.0.26"
Expand Down

0 comments on commit 232784a

Please sign in to comment.