Changelog

0.16.2+1.7.2 - 2024-02-06

0.16.1...0.16.2

Added

  • Added binding for git_commit_lookup_prefix. #1011
  • Added binding for git_object_lookup_prefix. #1014

Changed

0.16.1+1.7.1 - 2023-08-28

0.16.0...0.16.1

Fixed

  • Fixed publish of 0.16.0 missing the libgit2 submodule.

0.16.0+1.7.1 - 2023-08-28

0.15.2...0.16.0

Added

  • Added LIBGIT2_NO_VENDOR environment variable to force using the system libgit2. #966
  • Added binding for git_blame_buffer. #981

Changed

Fixed

  • Fixed builds with cargo's -Zminimal-versions. #960

0.15.2+1.6.4 - 2023-05-27

0.15.1...0.15.2

Added

  • Added bindings for stash options. #930

0.15.1+1.6.4 - 2023-04-13

0.15.0...0.15.1

Changed

  • Updated to libgit2 1.6.4. This brings in a minor fix on Windows when the ProgramData directory does not exist. #948

0.15.0+1.6.3 - 2023-04-02

0.14.2...0.15.0

Added

  • Added bindings for git_remote_name_is_valid, git_reference_name_is_valid, and git_tag_name_is_valid. #882
  • Added bindings for git_indexer support. #911
  • Added bindings for git_index_find_prefix. #903
  • Added support for the deprecated group-writeable blob file mode. #887

Changed

  • Updated libssh2-sys from 0.2 to 0.3. This brings in numerous changes, including SHA2 algorithm support with RSA. #919
  • 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
  • The GIT_DIFF_ constants have been changed to be a git_diff_option_t type. #935

Fixed

  • Fixed the rerun-if-changed build script support on Windows. This is only relevant for those working within the git2-rs source tree. #916

0.14.2+1.5.1 - 2023-01-20

0.14.1...0.14.2

Changed

0.13.5+1.4.5 - 2023-01-20

0.13.4...0.13.5

Changed

0.14.1+1.5.0 - 2023-01-10

0.14.0...0.14.1

Added

  • Added variants to git_cert_ssh_raw_type_t. #909

0.14.0+1.5.0 - 2022-07-28

0.13.4...0.14.0

Added

  • Added bindings for ownership validation. #839

Changed

0.13.4+1.4.2 - 2022-05-10

0.13.3...0.13.4

Added

  • Added bindings for git_commit_body #835

0.13.3+1.4.2 - 2022-04-27

0.13.2...0.13.3

Changed

  • Updated the bundled libgit2 to 1.5.0-alpha. #822
  • Changed the pkg-config probe to restrict linking against a version of a system-installed libgit2 to a version less than 1.5.0. Previously it would allow any version above 1.4.0 which could pick up an API-breaking version. #817
  • When using pkg-config to locate libgit2, the system lib dirs are no longer added to the search path. #831
  • When using the zlib-ng-compat Cargo feature, libssh2-sys is no longer automatically included unless you also enable the ssh feature. #833

0.13.2+1.4.2 - 2022-03-10

0.13.1...0.13.2

Added

  • Added bindings for git_odb_exists_ext. #818

0.13.1+1.4.2 - 2022-02-28

0.13.0...0.13.1

Changed

0.13.0+1.4.1 - 2022-02-24

0.12.26...0.13.0

Changed