Skip to content

Commit 18e72c9

Browse files
committed
Release gix v0.40.0
1 parent 2574b75 commit 18e72c9

File tree

6 files changed

+50
-6
lines changed

6 files changed

+50
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ anyhow = "1.0.42"
8989

9090
gitoxide-core = { version = "^0.26.0", path = "gitoxide-core" }
9191
gix-features = { version = "^0.28.0", path = "gix-features" }
92-
gix = { version = "^0.39.0", path = "gix", default-features = false }
92+
gix = { version = "^0.40.0", path = "gix", default-features = false }
9393
time = "0.3.19"
9494

9595
clap = { version = "4.1.1", features = ["derive", "cargo"] }

cargo-smart-release/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test = false
2424
cache-efficiency-debug = ["gix/cache-efficiency-debug"]
2525

2626
[dependencies]
27-
gix = { version = "^0.39.0", path = "../gix", default-features = false, features = ["max-performance-safe"] }
27+
gix = { version = "^0.40.0", path = "../gix", default-features = false, features = ["max-performance-safe"] }
2828
anyhow = "1.0.42"
2929
clap = { version = "4.1.0", features = ["derive", "cargo"] }
3030
env_logger = { version = "0.10.0", default-features = false, features = ["humantime", "auto-color"] }

gitoxide-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ serde1 = ["gix-commitgraph/serde1", "gix/serde1", "serde_json", "serde", "bytesi
3838

3939
[dependencies]
4040
# deselect everything else (like "performance") as this should be controllable by the parent application.
41-
gix = { version = "^0.39.0", path = "../gix", default-features = false }
41+
gix = { version = "^0.40.0", path = "../gix", default-features = false }
4242
gix-pack-for-configuration-only = { package = "gix-pack", version = "^0.32.0", path = "../gix-pack", default-features = false, features = ["pack-cache-lru-dynamic", "pack-cache-lru-static"] }
4343
gix-transport-configuration-only = { package = "gix-transport", version = "^0.27.0", path = "../gix-transport", default-features = false }
4444
gix-commitgraph = { version = "^0.14.0", path = "../gix-commitgraph" }

gix/CHANGELOG.md

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,49 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 0.40.0 (2023-03-09)
9+
10+
### New Features
11+
12+
- <csr-id-5bfbb9a32f8edb8bfb71ae00167277b9109de35a/> `Repository::shallow_commits()` returns an uptodate list of shallow boundary commits.
13+
- <csr-id-3e69535630714205904fe64f511da28a3f2d7fb6/> `Repository::is_shallow()` to test if a repository is shallow.
14+
15+
### Bug Fixes (BREAKING)
16+
17+
- <csr-id-1046ea2b3312838169aa08f30b598bf4ce2338d9/> allow to traverse the entire commit graph of shallow repos
18+
Previously, when traversing commits, we would assume to be in a
19+
shallow repository if a commit's parent could not be found in the
20+
repository.
21+
22+
Now we validate that assumption by reading the 'shallow' file to
23+
check if the last seen commit is on the commit boundary.
24+
25+
This removes `is_shallow` and `error_on_missing_commit()` on the
26+
`revision::walk::Platform` as shallow commits are now known and handled
27+
without any guesswork.
28+
29+
### Commit Statistics
30+
31+
<csr-read-only-do-not-edit/>
32+
33+
- 4 commits contributed to the release over the course of 2 calendar days.
34+
- 3 days passed between releases.
35+
- 3 commits were understood as [conventional](https://www.conventionalcommits.org).
36+
- 0 issues like '(#ID)' were seen in commit messages
37+
38+
### Commit Details
39+
40+
<csr-read-only-do-not-edit/>
41+
42+
<details><summary>view details</summary>
43+
44+
* **Uncategorized**
45+
- Merge branch 'shallow-support' ([`6d88fd2`](https://github.com/Byron/gitoxide/commit/6d88fd208bcdec0603d57785bdbfe2f286a65384))
46+
- Allow to traverse the entire commit graph of shallow repos ([`1046ea2`](https://github.com/Byron/gitoxide/commit/1046ea2b3312838169aa08f30b598bf4ce2338d9))
47+
- `Repository::shallow_commits()` returns an uptodate list of shallow boundary commits. ([`5bfbb9a`](https://github.com/Byron/gitoxide/commit/5bfbb9a32f8edb8bfb71ae00167277b9109de35a))
48+
- `Repository::is_shallow()` to test if a repository is shallow. ([`3e69535`](https://github.com/Byron/gitoxide/commit/3e69535630714205904fe64f511da28a3f2d7fb6))
49+
</details>
50+
851
## 0.39.0 (2023-03-04)
952

1053
A maintenance release without user-facing changes, primarily for getting the progress-bar updates into `cargo`.
@@ -13,7 +56,7 @@ A maintenance release without user-facing changes, primarily for getting the pro
1356

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

16-
- 2 commits contributed to the release.
59+
- 3 commits contributed to the release.
1760
- 3 days passed between releases.
1861
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
1962
- 0 issues like '(#ID)' were seen in commit messages
@@ -25,6 +68,7 @@ A maintenance release without user-facing changes, primarily for getting the pro
2568
<details><summary>view details</summary>
2669

2770
* **Uncategorized**
71+
- Release gix-attributes v0.10.0, gix-ref v0.26.0, gix-config v0.18.0, gix-url v0.15.0, gix-credentials v0.11.0, gix-discover v0.15.0, gix-index v0.14.0, gix-mailmap v0.11.0, gix-odb v0.42.0, gix-transport v0.27.0, gix-protocol v0.28.0, gix-revision v0.12.0, gix-refspec v0.9.0, gix-worktree v0.14.0, gix v0.39.0 ([`93e75fe`](https://github.com/Byron/gitoxide/commit/93e75fed454ed8b342231bde4638db90e407ce52))
2872
- Prepare changelogs prior to release ([`895e482`](https://github.com/Byron/gitoxide/commit/895e482badf01e953bb9144001eebd5e1b1c4d84))
2973
- Release gix-features v0.28.0, gix-actor v0.19.0, gix-object v0.28.0, gix-diff v0.28.0, gix-traverse v0.24.0, gix-pack v0.32.0, safety bump 20 crates ([`0f411e9`](https://github.com/Byron/gitoxide/commit/0f411e93ec812592bb9d3a52b751399dd86f76f7))
3074
</details>

gix/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "gix"
33
repository = "https://github.com/Byron/gitoxide"
44
description = "Interact with git repositories just like git would"
55
license = "MIT/Apache-2.0"
6-
version = "0.39.0"
6+
version = "0.40.0"
77
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
88
edition = "2021"
99
include = ["src/**/*", "CHANGELOG.md"]

0 commit comments

Comments
 (0)