fix(deps): update rust crate git2 to 0.18.0 #45

Merged
realaravinth merged 1 commit from renovate/git2-0.x into master 2024-06-10 23:18:58 +05:30
Member

This PR contains the following updates:

Package Type Update Change
git2 dependencies minor 0.14.2 -> 0.18.0

Release Notes

rust-lang/git2-rs (git2)

v0.18.3

Compare Source

0.18.2...0.18.3

Added
  • Added opts:: functions to get / set libgit2 mwindow options
    #​1035
Changed
  • Updated examples to use clap instead of structopt
    #​1007

v0.18.2

Compare Source

0.18.1...0.18.2

Added
  • Added opts::set_ssl_cert_file and opts::set_ssl_cert_dir for setting Certificate Authority file locations.
    #​997
  • Added TreeIter::nth which makes jumping ahead in the iterator more efficient.
    #​1004
  • Added Repository::find_commit_by_prefix to find a commit by a shortened hash.
    #​1011
  • Added Repository::find_tag_by_prefix to find a tag by a shortened hash.
    #​1015
  • Added Repository::find_object_by_prefix to find an object by a shortened hash.
    #​1014
Changed

v0.18.1

Compare Source

0.18.0...0.18.1

Added
  • Added FetchOptions::depth to set the depth of a fetch or clone, adding support for shallow clones.
    #​979
Fixed
  • Fixed an internal data type (TreeWalkCbData) to not assume it is a transparent type while casting.
    #​989
  • Fixed so that DiffPatchidOptions and StashSaveOptions are publicly exported allowing the corresponding APIs to actually be used.
    #​988

v0.18.0

Compare Source

0.17.2...0.18.0

Added
  • Added Blame::blame_buffer for getting blame data for a file that has been modified in memory.
    #​981
Changed
  • Updated to libgit2 1.7.0.
    #​968
  • Updated to libgit2 1.7.1.
    #​982
  • Switched from bitflags 1.x to 2.1. This brings some small changes to types generated by bitflags.
    #​973
  • Changed Revwalk::with_hide_callback to take a mutable reference to its callback to enforce type safety.
    #​970
  • Implemented FusedIterator for many iterators that can support it.
    #​955
Fixed
  • Fixed builds with cargo's -Zminimal-versions.
    #​960

v0.17.2

Compare Source

0.17.1...0.17.2

Added
  • Added support for stashing with options (which can support partial stashing).
    #​930

v0.17.1

Compare Source

0.17.0...0.17.1

Changed

v0.17.0

Compare Source

0.16.1...0.17.0

Added
  • Added IntoIterator implementation for Statuses.
    #​880
  • Added Reference::symbolic_set_target
    #​893
  • Added Copy, Clone, Debug, PartialEq, and Eq implementations for AutotagOption and FetchPrune.
    #​889
  • Added Eq and PartialEq implementations for Signature.
    #​890
  • Added Repository::discover_path.
    #​883
  • Added Submodule::repo_init.
    #​914
  • Added Tag::is_valid_name.
    #​882
  • Added Repository::set_head_bytes.
    #​931
  • Added the Indexer type which is a low-level API for storing and indexing pack files.
    #​911
  • Added Index::find_prefix.
    #​903
  • Added support for the deprecated group-writeable blob mode. This adds a new variant to FileMode.
    #​887
  • Added PushCallbacks::push_negotiation callback and the corresponding PushUpdate type for getting receiving information about the updates to perform.
    #​926
Changed
  • Updated to libgit2 1.6.3.
    This brings in many changes, including better SSH host key support on Windows and better SSH host key algorithm negotiation.
    1.6.3 is now the minimum supported version.
    #​935
  • Updated libssh2-sys from 0.2 to 0.3.
    This brings in numerous changes, including SHA2 algorithm support with RSA.
    #​919
  • Changed RemoteCallbacks::credentials callback error handler to correctly set the libgit2 error class.
    #​918
  • DiffOptions::flag now takes a git_diff_option_t type.
    #​935

v0.16.1

Compare Source

0.16.0...0.16.1

Changed

v0.16.0

Compare Source

0.15.0...0.16.0

Changed
  • Added ability to get the SSH host key and its type.
    This includes an API breaking change to the certificate_check callback.
    #​909
  • Updated to libgit2-sys 0.14.1+1.5.0

v0.15.0

Compare Source

0.14.4...0.15.0

Added
  • Added Repository::tag_annotation_create binding git_tag_annotation_create.
    #​845
  • Added the Email type which represents a patch in mbox format for sending via email.
    Added the EmailCreateOptions struct to control formatting of the email.
    Deprecates Diff::format_email, use Email::from_diff instead.
    #​847
  • Added ErrorCode::Owner to map to the new GIT_EOWNER errors.
    #​839
  • Added opts::set_verify_owner_validation to set whether or not ownership validation is performed.
    #​839
Changed
  • Updated to libgit2-sys 0.14.0+1.5.0
  • Removed the Iterator implementation for ConfigEntries due to the unsound usage of the API which allowed values to be used after free.
    Added ConfigEntries::next and ConfigEntries::for_each for iterating over all entries in a safe manor.
    #​854

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [git2](https://github.com/rust-lang/git2-rs) | dependencies | minor | `0.14.2` -> `0.18.0` | --- ### Release Notes <details> <summary>rust-lang/git2-rs (git2)</summary> ### [`v0.18.3`](https://github.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0183---2024-03-18) [Compare Source](https://github.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3) [0.18.2...0.18.3](https://github.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3) ##### Added - Added `opts::` functions to get / set libgit2 mwindow options [#&#8203;1035](https://github.com/rust-lang/git2-rs/pull/1035) ##### Changed - Updated examples to use clap instead of structopt [#&#8203;1007](https://github.com/rust-lang/git2-rs/pull/1007) ### [`v0.18.2`](https://github.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0182---2024-02-06) [Compare Source](https://github.com/rust-lang/git2-rs/compare/git2-0.18.1...git2-0.18.2) [0.18.1...0.18.2](https://github.com/rust-lang/git2-rs/compare/git2-0.18.1...git2-0.18.2) ##### Added - Added `opts::set_ssl_cert_file` and `opts::set_ssl_cert_dir` for setting Certificate Authority file locations. [#&#8203;997](https://github.com/rust-lang/git2-rs/pull/997) - Added `TreeIter::nth` which makes jumping ahead in the iterator more efficient. [#&#8203;1004](https://github.com/rust-lang/git2-rs/pull/1004) - Added `Repository::find_commit_by_prefix` to find a commit by a shortened hash. [#&#8203;1011](https://github.com/rust-lang/git2-rs/pull/1011) - Added `Repository::find_tag_by_prefix` to find a tag by a shortened hash. [#&#8203;1015](https://github.com/rust-lang/git2-rs/pull/1015) - Added `Repository::find_object_by_prefix` to find an object by a shortened hash. [#&#8203;1014](https://github.com/rust-lang/git2-rs/pull/1014) ##### Changed - ❗ Updated to libgit2 [1.7.2](https://github.com/libgit2/libgit2/releases/tag/v1.7.2). 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). [#&#8203;1017](https://github.com/rust-lang/git2-rs/pull/1017) ### [`v0.18.1`](https://github.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0181---2023-09-20) [Compare Source](https://github.com/rust-lang/git2-rs/compare/git2-0.18.0...git2-0.18.1) [0.18.0...0.18.1](https://github.com/rust-lang/git2-rs/compare/git2-0.18.0...git2-0.18.1) ##### Added - Added `FetchOptions::depth` to set the depth of a fetch or clone, adding support for shallow clones. [#&#8203;979](https://github.com/rust-lang/git2-rs/pull/979) ##### Fixed - Fixed an internal data type (`TreeWalkCbData`) to not assume it is a transparent type while casting. [#&#8203;989](https://github.com/rust-lang/git2-rs/pull/989) - Fixed so that `DiffPatchidOptions` and `StashSaveOptions` are publicly exported allowing the corresponding APIs to actually be used. [#&#8203;988](https://github.com/rust-lang/git2-rs/pull/988) ### [`v0.18.0`](https://github.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0180---2023-08-28) [Compare Source](https://github.com/rust-lang/git2-rs/compare/0.17.2...git2-0.18.0) [0.17.2...0.18.0](https://github.com/rust-lang/git2-rs/compare/0.17.2...git2-0.18.0) ##### Added - Added `Blame::blame_buffer` for getting blame data for a file that has been modified in memory. [#&#8203;981](https://github.com/rust-lang/git2-rs/pull/981) ##### Changed - Updated to libgit2 [1.7.0](https://github.com/libgit2/libgit2/releases/tag/v1.7.0). [#&#8203;968](https://github.com/rust-lang/git2-rs/pull/968) - Updated to libgit2 [1.7.1](https://github.com/libgit2/libgit2/releases/tag/v1.7.1). [#&#8203;982](https://github.com/rust-lang/git2-rs/pull/982) - Switched from bitflags 1.x to 2.1. This brings some small changes to types generated by bitflags. [#&#8203;973](https://github.com/rust-lang/git2-rs/pull/973) - Changed `Revwalk::with_hide_callback` to take a mutable reference to its callback to enforce type safety. [#&#8203;970](https://github.com/rust-lang/git2-rs/pull/970) - Implemented `FusedIterator` for many iterators that can support it. [#&#8203;955](https://github.com/rust-lang/git2-rs/pull/955) ##### Fixed - Fixed builds with cargo's `-Zminimal-versions`. [#&#8203;960](https://github.com/rust-lang/git2-rs/pull/960) ### [`v0.17.2`](https://github.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0172---2023-05-27) [Compare Source](https://github.com/rust-lang/git2-rs/compare/0.17.1...0.17.2) [0.17.1...0.17.2](https://github.com/rust-lang/git2-rs/compare/0.17.1...0.17.2) ##### Added - Added support for stashing with options (which can support partial stashing). [#&#8203;930](https://github.com/rust-lang/git2-rs/pull/930) ### [`v0.17.1`](https://github.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0171---2023-04-13) [Compare Source](https://github.com/rust-lang/git2-rs/compare/0.17.0...0.17.1) [0.17.0...0.17.1](https://github.com/rust-lang/git2-rs/compare/0.17.0...0.17.1) ##### Changed - Updated to libgit2 [1.6.4](https://github.com/libgit2/libgit2/releases/tag/v1.6.4). [#&#8203;948](https://github.com/rust-lang/git2-rs/pull/948) ### [`v0.17.0`](https://github.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0170---2023-04-02) [Compare Source](https://github.com/rust-lang/git2-rs/compare/0.16.1...0.17.0) [0.16.1...0.17.0](https://github.com/rust-lang/git2-rs/compare/0.16.1...0.17.0) ##### Added - Added `IntoIterator` implementation for `Statuses`. [#&#8203;880](https://github.com/rust-lang/git2-rs/pull/880) - Added `Reference::symbolic_set_target` [#&#8203;893](https://github.com/rust-lang/git2-rs/pull/893) - Added `Copy`, `Clone`, `Debug`, `PartialEq`, and `Eq` implementations for `AutotagOption` and `FetchPrune`. [#&#8203;889](https://github.com/rust-lang/git2-rs/pull/889) - Added `Eq` and `PartialEq` implementations for `Signature`. [#&#8203;890](https://github.com/rust-lang/git2-rs/pull/890) - Added `Repository::discover_path`. [#&#8203;883](https://github.com/rust-lang/git2-rs/pull/883) - Added `Submodule::repo_init`. [#&#8203;914](https://github.com/rust-lang/git2-rs/pull/914) - Added `Tag::is_valid_name`. [#&#8203;882](https://github.com/rust-lang/git2-rs/pull/882) - Added `Repository::set_head_bytes`. [#&#8203;931](https://github.com/rust-lang/git2-rs/pull/931) - Added the `Indexer` type which is a low-level API for storing and indexing pack files. [#&#8203;911](https://github.com/rust-lang/git2-rs/pull/911) - Added `Index::find_prefix`. [#&#8203;903](https://github.com/rust-lang/git2-rs/pull/903) - Added support for the deprecated group-writeable blob mode. This adds a new variant to `FileMode`. [#&#8203;887](https://github.com/rust-lang/git2-rs/pull/887) - Added `PushCallbacks::push_negotiation` callback and the corresponding `PushUpdate` type for getting receiving information about the updates to perform. [#&#8203;926](https://github.com/rust-lang/git2-rs/pull/926) ##### Changed - Updated to libgit2 [1.6.3](https://github.com/libgit2/libgit2/blob/main/docs/changelog.md#v163). This brings in many changes, including better SSH host key support on Windows and better SSH host key algorithm negotiation. 1.6.3 is now the minimum supported version. [#&#8203;935](https://github.com/rust-lang/git2-rs/pull/935) - Updated libssh2-sys from 0.2 to 0.3. This brings in numerous changes, including SHA2 algorithm support with RSA. [#&#8203;919](https://github.com/rust-lang/git2-rs/pull/919) - Changed `RemoteCallbacks::credentials` callback error handler to correctly set the libgit2 error class. [#&#8203;918](https://github.com/rust-lang/git2-rs/pull/918) - `DiffOptions::flag` now takes a `git_diff_option_t` type. [#&#8203;935](https://github.com/rust-lang/git2-rs/pull/935) ### [`v0.16.1`](https://github.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0161---2023-01-20) [Compare Source](https://github.com/rust-lang/git2-rs/compare/0.16.0...0.16.1) [0.16.0...0.16.1](https://github.com/rust-lang/git2-rs/compare/0.16.0...0.16.1) ##### Changed - Updated to [libgit2-sys 0.14.2+1.5.1](libgit2-sys/CHANGELOG.md#0142151---2023-01-20) ### [`v0.16.0`](https://github.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0160---2023-01-10) [Compare Source](https://github.com/rust-lang/git2-rs/compare/0.15.0...0.16.0) [0.15.0...0.16.0](https://github.com/rust-lang/git2-rs/compare/0.15.0...0.16.0) ##### Changed - Added ability to get the SSH host key and its type. This includes an API breaking change to the `certificate_check` callback. [#&#8203;909](https://github.com/rust-lang/git2-rs/pull/909) - Updated to [libgit2-sys 0.14.1+1.5.0](libgit2-sys/CHANGELOG.md#0141150---2023-01-10) ### [`v0.15.0`](https://github.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0150---2022-07-28) [Compare Source](https://github.com/rust-lang/git2-rs/compare/0.14.4...0.15.0) [0.14.4...0.15.0](https://github.com/rust-lang/git2-rs/compare/0.14.4...0.15.0) ##### Added - Added `Repository::tag_annotation_create` binding `git_tag_annotation_create`. [#&#8203;845](https://github.com/rust-lang/git2-rs/pull/845) - Added the `Email` type which represents a patch in mbox format for sending via email. Added the `EmailCreateOptions` struct to control formatting of the email. Deprecates `Diff::format_email`, use `Email::from_diff` instead. [#&#8203;847](https://github.com/rust-lang/git2-rs/pull/847) - Added `ErrorCode::Owner` to map to the new `GIT_EOWNER` errors. [#&#8203;839](https://github.com/rust-lang/git2-rs/pull/839) - Added `opts::set_verify_owner_validation` to set whether or not ownership validation is performed. [#&#8203;839](https://github.com/rust-lang/git2-rs/pull/839) ##### Changed - Updated to [libgit2-sys 0.14.0+1.5.0](libgit2-sys/CHANGELOG.md#0140150---2022-07-28) - Removed the `Iterator` implementation for `ConfigEntries` due to the unsound usage of the API which allowed values to be used after free. Added `ConfigEntries::next` and `ConfigEntries::for_each` for iterating over all entries in a safe manor. [#&#8203;854](https://github.com/rust-lang/git2-rs/pull/854) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDEuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQwMS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlLWJvdCJdfQ==-->
renovate-bot added the
renovate-bot
label 2024-06-10 21:03:03 +05:30
renovate-bot force-pushed renovate/git2-0.x from cb594a8f1c to 6f203771d0 2024-06-10 22:34:00 +05:30 Compare
realaravinth merged commit c1027102f5 into master 2024-06-10 23:18:58 +05:30
Sign in to join this conversation.
No description provided.