You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gix-index/CHANGELOG.md
+62-1Lines changed: 62 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,65 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## Unreleased
9
+
10
+
### New Features
11
+
12
+
- <csr-id-cfbfa43069c8d82fbd74b8296f63fc050a5ba02a/> add `State::prefixed_range()` to obtain a range of entries matching a prefix.
13
+
This makes it easier to make changes to entries of a certain prefix.
14
+
- <csr-id-8b689c222668b0c35c508f1907b03cbd4ba09bba/> add `State::remove_entries()` and `entry_range()`.
15
+
This makes it possible to, among other things, delete all
16
+
occurrences of a particular entry.
17
+
- <csr-id-2f42132410ef47a7c274030811452ef40701c8a0/> add support for `write::Options::skip_hash`.
18
+
With it, a hash will not be produced for indices.
19
+
20
+
### Bug Fixes
21
+
22
+
- <csr-id-616932516d122a24e29fb42c60147fe43c5cead9/> `gix-index` prefix matching should now work correctly with conflicting files.
23
+
It was done in a rush and lacks a lot of tests. At least now it
24
+
has a greater chance of working, as tests that would truly validate
25
+
this are still missing for a lack of test date. It can be produced
26
+
with `git update-index`, but it wasn't yet worth it.
27
+
28
+
### New Features (BREAKING)
29
+
30
+
- <csr-id-61c2e34b10c2ad5c92edd4ec1d5d1be2317ac481/> Check the hash when reading via `File::at()` just like `git`, or skip the check.
31
+
Note that indices written with `index.skipHash=true` will be vastly
32
+
faster to read by a factor of 2 or more.
33
+
34
+
### Bug Fixes (BREAKING)
35
+
36
+
- <csr-id-b310d044ac5c2bb1c874d0cfe701411e4aef47be/> skip the null-hash when validating the index.
37
+
This is needed for compatibility with `index.skipHash`, which may skip
38
+
producing the hash at the end of the index file, just filling in the
39
+
null-hash.
40
+
41
+
### Commit Statistics
42
+
43
+
<csr-read-only-do-not-edit/>
44
+
45
+
- 8 commits contributed to the release over the course of 9 calendar days.
46
+
- 9 days passed between releases.
47
+
- 6 commits were understood as [conventional](https://www.conventionalcommits.org).
48
+
- 0 issues like '(#ID)' were seen in commit messages
49
+
50
+
### Commit Details
51
+
52
+
<csr-read-only-do-not-edit/>
53
+
54
+
<details><summary>view details</summary>
55
+
56
+
***Uncategorized**
57
+
- Add `State::prefixed_range()` to obtain a range of entries matching a prefix. ([`cfbfa43`](https://github.com/Byron/gitoxide/commit/cfbfa43069c8d82fbd74b8296f63fc050a5ba02a))
58
+
- Add `State::remove_entries()` and `entry_range()`. ([`8b689c2`](https://github.com/Byron/gitoxide/commit/8b689c222668b0c35c508f1907b03cbd4ba09bba))
59
+
-`gix-index` prefix matching should now work correctly with conflicting files. ([`6169325`](https://github.com/Byron/gitoxide/commit/616932516d122a24e29fb42c60147fe43c5cead9))
- Check the hash when reading via `File::at()` just like `git`, or skip the check. ([`61c2e34`](https://github.com/Byron/gitoxide/commit/61c2e34b10c2ad5c92edd4ec1d5d1be2317ac481))
62
+
- Add support for `write::Options::skip_hash`. ([`2f42132`](https://github.com/Byron/gitoxide/commit/2f42132410ef47a7c274030811452ef40701c8a0))
63
+
- Skip the null-hash when validating the index. ([`b310d04`](https://github.com/Byron/gitoxide/commit/b310d044ac5c2bb1c874d0cfe701411e4aef47be))
- More cleanup of test crates ([`73c685a`](https://github.com/Byron/gitoxide/commit/73c685a67debcfa26a940f37bbca69cb3a4af57e))
44
105
- Split tests off into their own crate to allow feature toggles. ([`93feea2`](https://github.com/Byron/gitoxide/commit/93feea269eebd114e866e6f29f4a73c0096df9e0))
0 commit comments