Skip to content

Latest commit

 

History

History
195 lines (151 loc) · 8.54 KB

CHANGELOG.md

File metadata and controls

195 lines (151 loc) · 8.54 KB

Changelog

0.18.1 - 2023-09-20

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

0.18.0 - 2023-08-28

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

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