Skip to content

Latest commit

 

History

History
154 lines (122 loc) · 6.8 KB

CHANGELOG.md

File metadata and controls

154 lines (122 loc) · 6.8 KB

Changelog

0.17.2 - 2023-05-27

0.17.1...0.17.2

Added

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

0.17.1 - 2023-04-13

0.17.0...0.17.1

Changed

0.17.0 - 2023-04-02

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

0.16.1 - 2023-01-20

0.16.0...0.16.1

Changed

0.16.0 - 2023-01-10

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

0.15.0 - 2022-07-28

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

0.14.4 - 2022-05-19

0.14.3...0.14.4

Added

  • Added Commit::body and Commit::body_bytes for retrieving the commit message body. #835
  • Added Tree::get_name_bytes to handle non-UTF-8 entry names. #841

Changed

0.14.3 - 2022-04-27

0.14.2...0.14.3

Changed

Fixed

  • Fixed the lifetime of Remote::create_detached. #825

0.14.2 - 2022-03-10

0.14.1...0.14.2

Added

  • Added Odb::exists_ext to checks if an object database has an object, with extended flags. #818

Changed

0.14.1 - 2022-02-28

0.14.0...0.14.1

Changed

0.14.0 - 2022-02-24

0.13.25...0.14.0

Added

  • Added opts::get_extensions and opts::set_extensions to support git extensions. #791
  • Added PackBuilder::name and PackBuilder::name_bytes. #806
    • Deprecated PackBuilder::hash, use PackBuilder::name instead.
  • Added FetchOptions::follow_redirects and PushOptions::follow_redirects. #806
  • Added StatusOptions::rename_threshold. #806

Changed