Skip to content

Commit 987c4e6

Browse files
authored
Merge pull request #1018 from ehuss/changelog
Update changelog for next release.
2 parents 9e57876 + 57dc89c commit 987c4e6

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

CHANGELOG.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,23 @@
33
## 0.18.2 - 2024-02-06
44
[0.18.1...0.18.2](https://github.com/rust-lang/git2-rs/compare/git2-0.18.1...git2-0.18.2)
55

6+
### Added
7+
8+
- Added `opts::set_ssl_cert_file` and `opts::set_ssl_cert_dir` for setting Certificate Authority file locations.
9+
[#997](https://github.com/rust-lang/git2-rs/pull/997)
10+
- Added `TreeIter::nth` which makes jumping ahead in the iterator more efficient.
11+
[#1004](https://github.com/rust-lang/git2-rs/pull/1004)
12+
- Added `Repository::find_commit_by_prefix` to find a commit by a shortened hash.
13+
[#1011](https://github.com/rust-lang/git2-rs/pull/1011)
14+
- Added `Repository::find_tag_by_prefix` to find a tag by a shortened hash.
15+
[#1015](https://github.com/rust-lang/git2-rs/pull/1015)
16+
- Added `Repository::find_object_by_prefix` to find an object by a shortened hash.
17+
[#1014](https://github.com/rust-lang/git2-rs/pull/1014)
18+
619
### Changed
720

8-
- Updated to libgit2 [1.7.2](https://github.com/libgit2/libgit2/releases/tag/v1.7.2).
21+
- ❗ Updated to libgit2 [1.7.2](https://github.com/libgit2/libgit2/releases/tag/v1.7.2).
22+
This fixes [CVE-2024-24575](https://github.com/libgit2/libgit2/security/advisories/GHSA-54mf-x2rh-hq9v) and [CVE-2024-24577](https://github.com/libgit2/libgit2/security/advisories/GHSA-j2v7-4f6v-gpg8).
923
[#1017](https://github.com/rust-lang/git2-rs/pull/1017)
1024

1125
## 0.18.1 - 2023-09-20

libgit2-sys/CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,17 @@
33
## 0.16.2+1.7.2 - 2024-02-06
44
[0.16.1...0.16.2](https://github.com/rust-lang/git2-rs/compare/libgit2-sys-0.16.1+1.7.1...libgit2-sys-0.16.2+1.7.2)
55

6-
- Updated to libgit2 [1.7.2](https://github.com/libgit2/libgit2/releases/tag/v1.7.2).
6+
### Added
7+
8+
- Added binding for `git_commit_lookup_prefix`.
9+
[#1011](https://github.com/rust-lang/git2-rs/pull/1011)
10+
- Added binding for `git_object_lookup_prefix`.
11+
[#1014](https://github.com/rust-lang/git2-rs/pull/1014)
12+
13+
### Changed
14+
15+
- ❗ Updated to libgit2 [1.7.2](https://github.com/libgit2/libgit2/releases/tag/v1.7.2).
16+
This fixes [CVE-2024-24575](https://github.com/libgit2/libgit2/security/advisories/GHSA-54mf-x2rh-hq9v) and [CVE-2024-24577](https://github.com/libgit2/libgit2/security/advisories/GHSA-j2v7-4f6v-gpg8).
717
[#1017](https://github.com/rust-lang/git2-rs/pull/1017)
818

919
## 0.16.1+1.7.1 - 2023-08-28

0 commit comments

Comments
 (0)