Skip to content

Commit f507938

Browse files
authored
Merge pull request libgit2#6501 from libgit2/ethomson/v1.6
v1.6
2 parents f7325c4 + ef235a1 commit f507938

File tree

5 files changed

+104
-5
lines changed

5 files changed

+104
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
cmake_minimum_required(VERSION 3.5.1)
88

9-
project(libgit2 VERSION "1.5.0" LANGUAGES C)
9+
project(libgit2 VERSION "1.6.0" LANGUAGES C)
1010

1111
# Add find modules to the path
1212
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake")

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ libgit2 - the Git linkable library
44
| Build Status | |
55
| ------------ | - |
66
| **main** branch CI builds | [![CI Build](https://github.com/libgit2/libgit2/workflows/CI%20Build/badge.svg?event=push)](https://github.com/libgit2/libgit2/actions?query=workflow%3A%22CI+Build%22+event%3Apush) |
7+
| **v1.6 branch** CI builds | [![CI Build](https://github.com/libgit2/libgit2/workflows/CI%20Build/badge.svg?branch=maint%2Fv1.6&event=push)](https://github.com/libgit2/libgit2/actions?query=workflow%3A%22CI+Build%22+event%3Apush+branch%3Amaint%2Fv1.6) |
78
| **v1.5 branch** CI builds | [![CI Build](https://github.com/libgit2/libgit2/workflows/CI%20Build/badge.svg?branch=maint%2Fv1.5&event=push)](https://github.com/libgit2/libgit2/actions?query=workflow%3A%22CI+Build%22+event%3Apush+branch%3Amaint%2Fv1.5) |
8-
| **v1.4 branch** CI builds | [![CI Build](https://github.com/libgit2/libgit2/workflows/CI%20Build/badge.svg?branch=maint%2Fv1.4&event=push)](https://github.com/libgit2/libgit2/actions?query=workflow%3A%22CI+Build%22+event%3Apush+branch%3Amaint%2Fv1.4) |
99
| **Nightly** builds | [![Nightly Build](https://github.com/libgit2/libgit2/workflows/Nightly%20Build/badge.svg)](https://github.com/libgit2/libgit2/actions?query=workflow%3A%22Nightly+Build%22) [![Coverity Scan Status](https://scan.coverity.com/projects/639/badge.svg)](https://scan.coverity.com/projects/639) |
1010

1111
`libgit2` is a portable, pure C implementation of the Git core methods

docs/changelog.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,102 @@
1+
v1.6
2+
----
3+
4+
This is release v1.6.0, "Hubbeliges Krokodil". This release adds experimental SHA256 support and includes many new features and bugfixes.
5+
6+
## What's Changed
7+
8+
### New features
9+
10+
* **Support for bare repositories with SHA256 support (experimental)** by @ethomson in https://github.com/libgit2/libgit2/pull/6191
11+
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.**
12+
13+
* **Support the notion of a home directory separately from global configuration directory** by @ethomson in https://github.com/libgit2/libgit2/pull/6455 and https://github.com/libgit2/libgit2/pull/6456
14+
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.
15+
16+
* **stash: partial stash specific files** by @gitkraken-jacobw in https://github.com/libgit2/libgit2/pull/6330
17+
A stash can be created with only specific files, using a pathspec. This is similar to the `git stash push` command.
18+
19+
* **push: revparse refspec source, so you can push things that are not refs** by @sven-of-cord in https://github.com/libgit2/libgit2/pull/6362
20+
Pushes can be performed using refspecs instead of only references.
21+
22+
* **Support OpenSSL3** by @ethomson in https://github.com/libgit2/libgit2/pull/6464 and https://github.com/libgit2/libgit2/pull/6471
23+
OpenSSL 3 is now supported, both when compiled directly and dynamically loaded.
24+
25+
### Bug fixes
26+
* winhttp: support long custom headers by @kcsaul in https://github.com/libgit2/libgit2/pull/6363
27+
* Fix memory leak by @csware in https://github.com/libgit2/libgit2/pull/6382
28+
* Don't fail the whole clone if you can't find a default branch by @torvalds in https://github.com/libgit2/libgit2/pull/6369
29+
* #6366: When a worktree is missing, return `GIT_ENOTFOUND`. by @arroz in https://github.com/libgit2/libgit2/pull/6395
30+
* commit-graph: only verify csum on `git_commit_graph_open()`. by @derrickstolee in https://github.com/libgit2/libgit2/pull/6420
31+
* Ignore missing 'safe.directory' config during ownership checks by @kcsaul in https://github.com/libgit2/libgit2/pull/6408
32+
* Fix leak in `git_tag_create_from_buffer` by @julianmesa-gitkraken in https://github.com/libgit2/libgit2/pull/6421
33+
* http: Update httpclient options when reusing an existing connection. by @slackner in https://github.com/libgit2/libgit2/pull/6416
34+
* Add support for `safe.directory *` by @csware in https://github.com/libgit2/libgit2/pull/6429
35+
* URL parsing for google-compatible URLs by @ethomson in https://github.com/libgit2/libgit2/pull/6326
36+
* Fixes #6433: `git_submodule_update` fails to update configured but missing submodule by @tagesuhu in https://github.com/libgit2/libgit2/pull/6434
37+
* transport: fix capabilities calculation by @russell in https://github.com/libgit2/libgit2/pull/6435
38+
* push: use resolved oid as the source by @ethomson in https://github.com/libgit2/libgit2/pull/6452
39+
* Use `git_clone__submodule` to avoid file checks in workdir by @abizjak in https://github.com/libgit2/libgit2/pull/6444
40+
* #6422: handle dangling symbolic refs gracefully by @arroz in https://github.com/libgit2/libgit2/pull/6423
41+
* `diff_file`: Fix crash when freeing a patch representing an empty untracked file by @jorio in https://github.com/libgit2/libgit2/pull/6475
42+
* clone: clean up options on failure by @ethomson in https://github.com/libgit2/libgit2/pull/6479
43+
* stash: update strarray usage by @ethomson in https://github.com/libgit2/libgit2/pull/6487
44+
* #6491: Sets `oid_type` on repos open with `git_repository_open_bare` by @arroz in https://github.com/libgit2/libgit2/pull/6492
45+
* Handle Win32 shares by @ethomson in https://github.com/libgit2/libgit2/pull/6493
46+
* Make failure to connect to ssh-agent non-fatal by @fxcoudert in https://github.com/libgit2/libgit2/pull/6497
47+
* odb: don't unconditionally add `oid_type` to stream by @ethomson in https://github.com/libgit2/libgit2/pull/6499
48+
* Pass hostkey & port to host verify callback by @fxcoudert in https://github.com/libgit2/libgit2/pull/6503
49+
50+
### Code cleanups
51+
* meta: update version number to v1.6.0-alpha by @ethomson in https://github.com/libgit2/libgit2/pull/6352
52+
* sha256: indirection for experimental functions by @ethomson in https://github.com/libgit2/libgit2/pull/6354
53+
* Delete `create.c.bak` by @lrm29 in https://github.com/libgit2/libgit2/pull/6398
54+
* Support non-cmake builds with an in-tree `experimental.h` by @ethomson in https://github.com/libgit2/libgit2/pull/6405
55+
56+
### Build and CI improvements
57+
* tests: skip flaky-ass googlesource tests by @ethomson in https://github.com/libgit2/libgit2/pull/6353
58+
* clar: remove ftrunacte from libgit2 tests by @boretrk in https://github.com/libgit2/libgit2/pull/6357
59+
* CI Improvements by @ethomson in https://github.com/libgit2/libgit2/pull/6403
60+
* fix compile on Windows with `-DWIN32_LEAN_AND_MEAN` by @christoph-cullmann in https://github.com/libgit2/libgit2/pull/6373
61+
* Fixes #6365 : Uppercase windows.h include fails build in case-sensitive OS by @Vinz2008 in https://github.com/libgit2/libgit2/pull/6377
62+
* ci: update version numbers of actions by @ethomson in https://github.com/libgit2/libgit2/pull/6448
63+
* thread: avoid warnings when building without threads by @ethomson in https://github.com/libgit2/libgit2/pull/6432
64+
* src: hide unused hmac() prototype by @0-wiz-0 in https://github.com/libgit2/libgit2/pull/6458
65+
* tests: update clar test runner by @ethomson in https://github.com/libgit2/libgit2/pull/6459
66+
* ci: always create test summaries, even on failure by @ethomson in https://github.com/libgit2/libgit2/pull/6460
67+
* Fix build failure with `-DEMBED_SSH_PATH` by @vicr123 in https://github.com/libgit2/libgit2/pull/6374
68+
* Define correct `off64_t` for AIX by @bzEq in https://github.com/libgit2/libgit2/pull/6376
69+
* Fix some warnings in main by @ethomson in https://github.com/libgit2/libgit2/pull/6480
70+
* strarray: remove deprecated declaration by @ethomson in https://github.com/libgit2/libgit2/pull/6486
71+
* tests: always unset `HTTP_PROXY` before starting tests by @ethomson in https://github.com/libgit2/libgit2/pull/6498
72+
73+
### Documentation improvements
74+
* add 2-clause BSD license to COPYING by @martinvonz in https://github.com/libgit2/libgit2/pull/6413
75+
* Add new PHP bindings project to language bindings section of README.md by @RogerGee in https://github.com/libgit2/libgit2/pull/6473
76+
* README: clarify the linking exception by @ethomson in https://github.com/libgit2/libgit2/pull/6494
77+
* Correct the definition of "empty" in the docs for `git_repository_is_empty` by @timrogers in https://github.com/libgit2/libgit2/pull/6500
78+
79+
## New Contributors
80+
* @christoph-cullmann made their first contribution in https://github.com/libgit2/libgit2/pull/6373
81+
* @Vinz2008 made their first contribution in https://github.com/libgit2/libgit2/pull/6377
82+
* @torvalds made their first contribution in https://github.com/libgit2/libgit2/pull/6369
83+
* @derrickstolee made their first contribution in https://github.com/libgit2/libgit2/pull/6420
84+
* @julianmesa-gitkraken made their first contribution in https://github.com/libgit2/libgit2/pull/6421
85+
* @slackner made their first contribution in https://github.com/libgit2/libgit2/pull/6416
86+
* @martinvonz made their first contribution in https://github.com/libgit2/libgit2/pull/6413
87+
* @tagesuhu made their first contribution in https://github.com/libgit2/libgit2/pull/6434
88+
* @russell made their first contribution in https://github.com/libgit2/libgit2/pull/6435
89+
* @sven-of-cord made their first contribution in https://github.com/libgit2/libgit2/pull/6362
90+
* @0-wiz-0 made their first contribution in https://github.com/libgit2/libgit2/pull/6458
91+
* @abizjak made their first contribution in https://github.com/libgit2/libgit2/pull/6444
92+
* @vicr123 made their first contribution in https://github.com/libgit2/libgit2/pull/6374
93+
* @bzEq made their first contribution in https://github.com/libgit2/libgit2/pull/6376
94+
* @gitkraken-jacobw made their first contribution in https://github.com/libgit2/libgit2/pull/6330
95+
* @fxcoudert made their first contribution in https://github.com/libgit2/libgit2/pull/6497
96+
* @timrogers made their first contribution in https://github.com/libgit2/libgit2/pull/6500
97+
98+
**Full Changelog**: https://github.com/libgit2/libgit2/compare/v1.5.0...v1.6.0
99+
1100
v1.5
2101
----
3102

include/git2/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* The version string for libgit2. This string follows semantic
1212
* versioning (v2) guidelines.
1313
*/
14-
#define LIBGIT2_VERSION "1.6.0-alpha"
14+
#define LIBGIT2_VERSION "1.6.0"
1515

1616
/** The major version number for this version of libgit2. */
1717
#define LIBGIT2_VER_MAJOR 1
@@ -31,7 +31,7 @@
3131
* a prerelease name like "beta" or "rc1". For final releases, this will
3232
* be `NULL`.
3333
*/
34-
#define LIBGIT2_VER_PRERELEASE "alpha"
34+
#define LIBGIT2_VER_PRERELEASE NULL
3535

3636
/** The library ABI soversion for this version of libgit2. */
3737
#define LIBGIT2_SOVERSION "1.6"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "libgit2",
3-
"version": "1.6.0-alpha",
3+
"version": "1.6.0",
44
"repo": "https://github.com/libgit2/libgit2",
55
"description": " A cross-platform, linkable library implementation of Git that you can use in your application.",
66
"install": "mkdir build && cd build && cmake .. && cmake --build ."

0 commit comments

Comments
 (0)