diff --git a/CHANGELOG.md b/CHANGELOG.md index d5704d9355..f76c3ba150 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## 0.19.0 - 2024-06-13 +[0.18.3...0.19.0](https://github.com/rust-lang/git2-rs/compare/git2-0.18.3...git2-0.19.0) + +### Added + +- Added `opts` functions to control server timeouts (`get_server_connect_timeout_in_milliseconds`, `set_server_connect_timeout_in_milliseconds`, `get_server_timeout_in_milliseconds`, `set_server_timeout_in_milliseconds`), and add `ErrorCode::Timeout`. + [#1052](https://github.com/rust-lang/git2-rs/pull/1052) + +### Changed + +- ❗ Updated to libgit2 [1.8.1](https://github.com/libgit2/libgit2/releases/tag/v1.8.1) + [#1032](https://github.com/rust-lang/git2-rs/pull/1032) +- Reduced size of the `Error` struct. + [#1053](https://github.com/rust-lang/git2-rs/pull/1053) + +### Fixed + +- Fixed some callbacks to relay the error from the callback to libgit2. + [#1043](https://github.com/rust-lang/git2-rs/pull/1043) ## 0.18.3 - 2024-03-18 [0.18.2...0.18.3](https://github.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3) diff --git a/Cargo.toml b/Cargo.toml index 987479b633..9e6fd81f56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "git2" -version = "0.18.3" +version = "0.19.0" authors = ["Josh Triplett ", "Alex Crichton "] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/README.md b/README.md index 70c2247b64..e66c049d37 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ libgit2 bindings for Rust. ```toml [dependencies] -git2 = "0.18.3" +git2 = "0.19.0" ``` ## Rust version requirements diff --git a/git2-curl/CHANGELOG.md b/git2-curl/CHANGELOG.md index 98867bc28f..1d51c646f7 100644 --- a/git2-curl/CHANGELOG.md +++ b/git2-curl/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.20.0 - 2024-06-13 +[0.19.0...0.20.0](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.19.0...git2-curl-0.20.0) + +- Updated to [git2 0.19.0](../CHANGELOG.md#0190---2024-06-13) + ## 0.19.0 - 2023-08-28 [0.18.0...0.19.0](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.18.0...git2-curl-0.19.0) diff --git a/git2-curl/Cargo.toml b/git2-curl/Cargo.toml index 8e4fda1c69..f63819149d 100644 --- a/git2-curl/Cargo.toml +++ b/git2-curl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "git2-curl" -version = "0.19.0" +version = "0.20.0" authors = ["Josh Triplett ", "Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/git2-rs" @@ -16,7 +16,7 @@ edition = "2018" curl = "0.4.33" url = "2.0" log = "0.4" -git2 = { path = "..", version = "0.18", default-features = false } +git2 = { path = "..", version = "0.19", default-features = false } [dev-dependencies] civet = "0.11" diff --git a/git2-curl/src/lib.rs b/git2-curl/src/lib.rs index 99d782ec41..f480ffc71c 100644 --- a/git2-curl/src/lib.rs +++ b/git2-curl/src/lib.rs @@ -15,7 +15,7 @@ //! > **NOTE**: At this time this crate likely does not support a `git push` //! > operation, only clones. -#![doc(html_root_url = "https://docs.rs/git2-curl/0.19")] +#![doc(html_root_url = "https://docs.rs/git2-curl/0.20")] #![deny(missing_docs)] #![warn(rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] diff --git a/libgit2-sys/CHANGELOG.md b/libgit2-sys/CHANGELOG.md index fa9bddd441..02f82b00d7 100644 --- a/libgit2-sys/CHANGELOG.md +++ b/libgit2-sys/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.17.0+1.8.1 - 2024-06-13 +[0.16.2...0.17.0](https://github.com/rust-lang/git2-rs/compare/libgit2-sys-0.16.2+1.7.2...libgit2-sys-0.17.0+1.8.1) + +### Changed + +- ❗ Updated to libgit2 [1.8.1](https://github.com/libgit2/libgit2/releases/tag/v1.8.1) + [#1032](https://github.com/rust-lang/git2-rs/pull/1032) + ## 0.16.2+1.7.2 - 2024-02-06 [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) diff --git a/libgit2-sys/lib.rs b/libgit2-sys/lib.rs index af1dff048b..f7175f4140 100644 --- a/libgit2-sys/lib.rs +++ b/libgit2-sys/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/libgit2-sys/0.16")] +#![doc(html_root_url = "https://docs.rs/libgit2-sys/0.17")] #![allow(non_camel_case_types, unused_extern_crates)] // This is required to link libz when libssh2-sys is not included. diff --git a/src/lib.rs b/src/lib.rs index 3caaabc43a..e52efb3734 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -65,7 +65,7 @@ //! source `Repository`, to ensure that they do not outlive the repository //! itself. -#![doc(html_root_url = "https://docs.rs/git2/0.18")] +#![doc(html_root_url = "https://docs.rs/git2/0.19")] #![allow(trivial_numeric_casts, trivial_casts)] #![deny(missing_docs)] #![warn(rust_2018_idioms)]