libgit2 v1.6.0 #6504
ethomson
started this conversation in
Announcements
libgit2 v1.6.0
#6504
Replies: 2 comments 4 replies
-
Note that libgit2 v1.6.0 has been unpublished. I missed a version number update. As a result, v1.6.1 has been published in its place. |
Beta Was this translation helpful? Give feedback.
1 reply
-
PSA to packagers: in-source builds are broken in this release (it introduces conflicts with stdint.h), make sure your cmake integration uses a separate build directory. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v1.6
This is release v1.6.0, "Hubbeliges Krokodil". This release adds experimental SHA256 support and includes many new features and bugfixes.
What's Changed
New features
Support for bare repositories with SHA256 support (experimental) by @ethomson in SHA256 proof of concept #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 Support the notion of a home directory separately from global configuration directory #6455 and SHA256: more SHA256 support #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 stash: partial stash specific files #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 push: revparse refspec source, so you can push things that are not refs #6362
Pushes can be performed using refspecs instead of only references.
Support OpenSSL3 by @ethomson in Support OpenSSL3: add OpenSSL deprection warning compatibility flag #6464 and Support OpenSSL 3 in dynamic loading mode #6471
OpenSSL 3 is now supported, both when compiled directly and dynamically loaded.
Bug fixes
GIT_ENOTFOUND
. by @arroz in #6366: When a worktree is missing, return GIT_ENOTFOUND. #6395git_commit_graph_open()
. by @derrickstolee in commit-graph: only verify csum on git_commit_graph_open(). #6420git_tag_create_from_buffer
by @julianmesa-gitkraken in Fix leak in git_tag_create_from_buffer #6421safe.directory *
by @csware in Add support for "safe.directory *" #6429git_submodule_update
fails to update configured but missing submodule by @tagesuhu in Fixes #6433: git_submodule_update fails to update configured but missing submodule #6434git_clone__submodule
to avoid file checks in workdir by @abizjak in Usegit_clone__submodule
to avoid file checks in workdir #6444diff_file
: Fix crash when freeing a patch representing an empty untracked file by @jorio in diff_file: Fix crash when freeing a patch representing an empty untracked file #6475oid_type
on repos open withgit_repository_open_bare
by @arroz in #6491: Sets oid_type on repos open with git_repository_open_bare #6492oid_type
to stream by @ethomson in odb: don't unconditionally add oid_type to stream #6499Security fixes
Code cleanups
create.c.bak
by @lrm29 in Delete create.c.bak #6398experimental.h
by @ethomson in Support non-cmake builds with an in-treeexperimental.h
#6405Build and CI improvements
-DWIN32_LEAN_AND_MEAN
by @christoph-cullmann in fix compile on Windows with -DWIN32_LEAN_AND_MEAN #6373-DEMBED_SSH_PATH
by @vicr123 in Fix build failure with -DEMBED_SSH_PATH #6374off64_t
for AIX by @bzEq in Define correct off64_t for AIX #6376HTTP_PROXY
before starting tests by @ethomson in tests: always unset HTTP_PROXY before starting tests #6498Documentation improvements
git_repository_is_empty
by @timrogers in Correct the definition of "empty" in the docs forgit_repository_is_empty
#6500New Contributors
git_clone__submodule
to avoid file checks in workdir #6444This discussion was created from the release libgit2 v1.6.0.
Beta Was this translation helpful? Give feedback.
All reactions