|
1 | 1 | # Changelog
|
2 | 2 |
|
| 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 | + |
3 | 38 | ## 0.20.0 - 2025-01-04
|
4 | 39 | [0.19.0...0.20.0](https://github.com/rust-lang/git2-rs/compare/git2-0.19.0...git2-0.20.0)
|
5 | 40 |
|
|
0 commit comments