8000 Merge pull request #6931 from libgit2/ethomson/v1.8.3 · libgit2/libgit2@3353f78 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3353f78

Browse files
authored
Merge pull request #6931 from libgit2/ethomson/v1.8.3
2 parents 635b3db + da3db63 commit 3353f78

File tree

5 files changed

+45
-4
lines changed

5 files changed

+45
-4
lines changed

CMakeLists.txt

+1-1
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.1" LANGUAGES C)
9+
project(libgit2 VERSION "1.8.3" 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

+39
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
v1.8.3
2+
------
3+
4+
This release fixes a bug introduced in v1.8.1 for users of the legacy
5+
[Node.js http-parser](https://github.com/nodejs/http-parser)
6+
dependency.
7+
8+
## What's Changed
9+
10+
### Bug fixes
11+
12+
* http: Backport on_status initialize fix for http-parser by @ethomson in https://github.com/libgit2/libgit2/pull/6931
13+
14+
v1.8.2
15+
------
16+
17+
This release reverts a const-correctness change introduced in
18+
v1.8.0 for the `git_commit_create` functions. We now retain the
19+
const-behavior for the `commits` arguments from prior to v1.8.0.
20+
21+
This change was meant to resolve compatibility issues with bindings
22+
and downstream users.
23+
24+
## What's Changed
25+
26+
### New features
27+
28+
* Introduce a stricter debugging allocator for testing by @ethomson in https://github.com/libgit2/libgit2/pull/6811
29+
30+
### Bug fixes
31+
32+
* Fix constness issue introduced in #6716 by @ethomson in https://github.com/libgit2/libgit2/pull/6829
33+
34+
### Build and CI improvements
35+
36+
* README: add experimental builds to ci table by @ethomson in https://github.com/libgit2/libgit2/pull/6816
37+
38+
**Full Changelog**: https://github.com/libgit2/libgit2/compare/v1.8.1...v1.8.2
39+
140
v1.8.1
241
------
342

include/git2/version.h

+2-2
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.1"
14+
#define LIBGIT2_VERSION "1.8.3"
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 1
23+
#define LIBGIT2_VER_REVISION 3
2424

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

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "libgit2",
3-
"version": "1.8.1",
3+
"version": "1.8.3",
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 ."

src/libgit2/transports/httpparser.c

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ size_t git_http_parser_execute(
7171
{
7272
struct http_parser_settings settings_proxy;
7373

74+
memset(&settings_proxy, 0, sizeof(struct http_parser_settings));
75+
7476
settings_proxy.on_message_begin = parser->settings.on_message_begin ? on_message_begin : NULL;
7577
settings_proxy.on_url = parser->settings.on_url ? on_url : NULL;
7678
settings_proxy.on_header_field = parser->settings.on_header_field ? on_header_field : NULL;

0 commit comments

Comments
 (0)
0