Skip to content

Commit 36f7e21

Browse files
authored
Merge pull request libgit2#6817 from libgit2/ethomson/v1.8.1
libgit2 v1.8.1
2 parents c7af393 + ae65dac commit 36f7e21

File tree

4 files changed

+93
-4
lines changed

4 files changed

+93
-4
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.8.0" LANGUAGES C)
9+
project(libgit2 VERSION "1.8.1" LANGUAGES C)
1010

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

docs/changelog.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,92 @@
1+
v1.8.1
2+
------
3+
4+
This release primarily includes straightforward bugfixes, as well as
5+
new functionality to have more control over the HTTP User-Agent header.
6+
However, there is an API change from v1.8 that was required for
7+
improved compatibility.
8+
9+
In v1.8, libgit2 introduced the `report_unchanged ` member in the
10+
`git_fetch_options` structure. We mistakenly introduced this as a
11+
bitfield, which is not suitable for our public API. To correct this
12+
mistake, we have _removed_ the `report_unchanged ` member. To support
13+
the report unchanged tips option, users can set the `update_fetchhead`
14+
member to include the `GIT_REMOTE_UPDATE_REPORT_UNCHANGED` value.
15+
16+
The libgit2 projects regrets the API change, but this was required to
17+
support cross-platform compatibility.
18+
19+
## What's Changed
20+
21+
### New features
22+
23+
* Allow more control over the user-agent by @ethomson in
24+
https://github.com/libgit2/libgit2/pull/6788
25+
26+
### Bug fixes
27+
28+
* commit: Fix git_commit_create_from_stage without author and
29+
committer by @florianpircher in
30+
https://github.com/libgit2/libgit2/pull/6781
31+
* process.c: fix environ for macOS by @barracuda156 in
32+
https://github.com/libgit2/libgit2/pull/6792
33+
* Bounds check for pack index read by @ConradIrwin in
34+
https://github.com/libgit2/libgit2/pull/6796
35+
* transport: provide a useful error message during cancellation
36+
by @ethomson in https://github.com/libgit2/libgit2/pull/6802
37+
* transport: support sha256 oids by @ethomson in
38+
https://github.com/libgit2/libgit2/pull/6803
39+
* Revparse: Correctly accept ref with '@' at the end by @csware in
40+
https://github.com/libgit2/libgit2/pull/6809
41+
* remote: drop bitfields in git_remote_fetch_options by @ethomson in
42+
https://github.com/libgit2/libgit2/pull/6806
43+
* examples: fix memory leak in for-each-ref.c by @qaqland in
44+
https://github.com/libgit2/libgit2/pull/6808
45+
* xdiff: use proper free function by @ethomson in
46+
https://github.com/libgit2/libgit2/pull/6810
47+
* rand: avoid uninitialized loadavg warnings by @ethomson in
48+
https://github.com/libgit2/libgit2/pull/6812
49+
* cli: include alloca on illumos / solaris / sunos by @ethomson in
50+
https://github.com/libgit2/libgit2/pull/6813
51+
* Update git_array allocator to obey strict aliasing rules
52+
by @ethomson in https://github.com/libgit2/libgit2/pull/6814
53+
* tree: avoid mixed signedness comparison by @ethomson in
54+
https://github.com/libgit2/libgit2/pull/6815
55+
56+
### Build and CI improvements
57+
58+
* ci: update nightly workflows by @ethomson in
59+
https://github.com/libgit2/libgit2/pull/6773
60+
* ci: give all nightly builds a unique id by @ethomson in
61+
https://github.com/libgit2/libgit2/pull/6782
62+
* cmake: remove workaround that isn't compatible with Windows on
63+
ARM by @hackhaslam in https://github.com/libgit2/libgit2/pull/6794
64+
65+
### Documentation improvements
66+
67+
* Docs meta-updates by @ethomson in
68+
https://github.com/libgit2/libgit2/pull/6787
69+
70+
### Dependency updates
71+
72+
* Enable llhttp for HTTP parsing by @sgallagher in
73+
https://github.com/libgit2/libgit2/pull/6713
74+
75+
## New Contributors
76+
77+
* @florianpircher made their first contribution in
78+
https://github.com/libgit2/libgit2/pull/6781
79+
* @barracuda156 made their first contribution in
80+
https://github.com/libgit2/libgit2/pull/6792
81+
* @sgallagher made their first contribution in
82+
https://github.com/libgit2/libgit2/pull/6713
83+
* @ConradIrwin made their first contribution in
84+
https://github.com/libgit2/libgit2/pull/6796
85+
* @qaqland made their first contribution in
86+
https://github.com/libgit2/libgit2/pull/6808
87+
88+
**Full Changelog**: https://github.com/libgit2/libgit2/compare/v1.8.0...v1.8.1
89+
190
v1.8
291
----
392

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.8.0"
14+
#define LIBGIT2_VERSION "1.8.1"
1515

1616
/** The major version number for this version of libgit2. */
1717
#define LIBGIT2_VER_MAJOR 1
@@ -20,7 +20,7 @@
2020
#define LIBGIT2_VER_MINOR 8
2121

2222
/** The revision ("teeny") version number for this version of libgit2. */
23-
#define LIBGIT2_VER_REVISION 0
23+
#define LIBGIT2_VER_REVISION 1
2424

2525
/** The Windows DLL patch number for this version of libgit2. */
2626
#define LIBGIT2_VER_PATCH 0

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.8.0",
3+
"version": "1.8.1",
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)