Skip to content

libgit2 v1.6.1

Compare
Choose a tag to compare
@ethomson ethomson released this 25 Feb 13:54
· 677 commits to main since this release

This is release v1.6.1, "Hubbeliges Krokodil". This release adds experimental SHA256 support and includes many new features and bugfixes. This release replaces libgit2 v1.6.0, which did not correctly update its version number(s).

What's Changed

New features

  • Support for bare repositories with SHA256 support (experimental) by @ethomson in #6191
    You can configure experimental SHA256 support in libgit2 with cmake -DEXPERIMENTAL_SHA256=ON during project setup. This is useful for considering future integrations, work on clients, and work on language bindings. At present, working with bare repositories should largely work, including remote operations. But many pieces of functionality - including working with the index - are not yet supported. As a result, libgit2 with SHA256 support should not be used in production or released with package distribution.

  • Support the notion of a home directory separately from global configuration directory by @ethomson in #6455 and #6456
    Callers and language bindings can now configure the home directory that libgit2 uses for file lookups (eg, the .ssh directory). This configuration is separate from the git global configuration path.

  • stash: partial stash specific files by @gitkraken-jacobw in #6330
    A stash can be created with only specific files, using a pathspec. This is similar to the git stash push command.

  • push: revparse refspec source, so you can push things that are not refs by @sven-of-cord in #6362
    Pushes can be performed using refspecs instead of only references.

  • Support OpenSSL3 by @ethomson in #6464 and #6471
    OpenSSL 3 is now supported, both when compiled directly and dynamically loaded.

Bug fixes

Security fixes

Code cleanups

Build and CI improvements

Documentation improvements

  • add 2-clause BSD license to COPYING by @martinvonz in #6413
  • Add new PHP bindings project to language bindings section of README.md by @RogerGee in #6473
  • README: clarify the linking exception by @ethomson in #6494
  • Correct the definition of "empty" in the docs for git_repository_is_empty by @timrogers in #6500

New Contributors