Skip to content

Commit 8980c61

Browse files
committed
Bump versions of git2 and libgit2-sys
1 parent 258d3b6 commit 8980c61

File tree

6 files changed

+56
-6
lines changed

6 files changed

+56
-6
lines changed

CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Changelog
22

3+
## 0.20.1 - 2025-03-17
4+
[0.20.0...0.20.1](https://github.com/rust-lang/git2-rs/compare/git2-0.20.0...git2-0.20.1)
5+
6+
### Added
7+
8+
- Added `Repository::branch_upstream_merge()`
9+
[#1131](https://github.com/rust-lang/git2-rs/pull/1131)
10+
- Added `Index::conflict_get()`
11+
[#1134](https://github.com/rust-lang/git2-rs/pull/1134)
12+
- Added `Index::conflict_remove()`
13+
[#1133](https://github.com/rust-lang/git2-rs/pull/1133)
14+
- Added `opts::set_cache_object_limit()`
15+
[#1118](https://github.com/rust-lang/git2-rs/pull/1118)
16+
- Added `Repo::merge_file_from_index()` and associated `MergeFileOptions` and `MergeFileResult`.
17+
[#1062](https://github.com/rust-lang/git2-rs/pull/1062)
18+
19+
### Changed
20+
21+
- The `url` dependency minimum raised to 2.5.4
22+
[#1128](https://github.com/rust-lang/git2-rs/pull/1128)
23+
- Changed the tracing callback to abort the process if the callback panics instead of randomly detecting the panic in some other function.
24+
[#1121](https://github.com/rust-lang/git2-rs/pull/1121)
25+
- Credential helper config (loaded with `CredentialHelper::config`) now checks for helpers that start with something that looks like an absolute path, rather than checking for a `/` or `\` anywhere in the helper string (which resolves an issue if the helper had arguments with `/` or `\`).
26+
[#1137](https://github.com/rust-lang/git2-rs/pull/1137)
27+
28+
### Fixed
29+
30+
- Fixed panic in `Remote::url_bytes` if the url is empty.
31+
[#1120](https://github.com/rust-lang/git2-rs/pull/1120)
32+
- Fixed incorrect lifetimes on `Patch::delta`, `Patch::hunk`, and `Patch::line_in_hunk`. The return values must not outlive the `Patch`.
33+
[#1141](https://github.com/rust-lang/git2-rs/pull/1141)
34+
- Bumped requirement to libgit2-sys 0.18.1, which fixes linking of advapi32 on Windows.
35+
[#1143](https://github.com/rust-lang/git2-rs/pull/1143)
36+
37+
338
## 0.20.0 - 2025-01-04
439
[0.19.0...0.20.0](https://github.com/rust-lang/git2-rs/compare/git2-0.19.0...git2-0.20.0)
540

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "git2"
3-
version = "0.20.0"
3+
version = "0.20.1"
44
authors = ["Josh Triplett <[email protected]>", "Alex Crichton <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"
@@ -20,7 +20,7 @@ url = "2.5.4"
2020
bitflags = "2.1.0"
2121
libc = "0.2"
2222
log = "0.4.8"
23-
libgit2-sys = { path = "libgit2-sys", version = "0.18.0" }
23+
libgit2-sys = { path = "libgit2-sys", version = "0.18.1" }
2424

2525
[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies]
2626
openssl-sys = { version = "0.9.45", optional = true }

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ libgit2 bindings for Rust.
66

77
```toml
88
[dependencies]
9-
git2 = "0.20.0"
9+
git2 = "0.20.1"
1010
```
1111

1212
## Rust version requirements

libgit2-sys/CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 0.18.1+1.9.0 - 2025-03-17
4+
[0.18.0...0.18.1](https://github.com/rust-lang/git2-rs/compare/libgit2-sys-0.18.0+1.9.0...libgit2-sys-0.18.1+1.9.0)
5+
6+
### Added
7+
8+
- Added binding for `git_branch_upstream_merge`
9+
[#1131](https://github.com/rust-lang/git2-rs/pull/1131)
10+
- Added bindings for `git_merge_file_options` and `git_merge_file_result`, `git_merge_file_options_init`, `git_merge_file_from_index`, `git_merge_file_result_free`, and updated `git_merge_file_flag_t`.
11+
[#1062](https://github.com/rust-lang/git2-rs/pull/1062)
12+
13+
### Fixed
14+
15+
- Fixed linking to advapi32 on Windows for recent nightly versions of Rust.
16+
[#1143](https://github.com/rust-lang/git2-rs/pull/1143)
17+
318
## 0.18.0+1.9.0 - 2025-01-04
419
[0.16.2...0.17.0](https://github.com/rust-lang/git2-rs/compare/libgit2-sys-0.17.0+1.8.1...libgit2-sys-0.18.0+1.9.0)
520

libgit2-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libgit2-sys"
3-
version = "0.18.0+1.9.0"
3+
version = "0.18.1+1.9.0"
44
authors = ["Josh Triplett <[email protected]>", "Alex Crichton <[email protected]>"]
55
links = "git2"
66
build = "build.rs"

0 commit comments

Comments
 (0)