Skip to content

Commit 1d5b9bd

Browse files
authored
Merge pull request libgit2#6214 from libgit2/ethomson/v1.4
libgit2 v1.4
2 parents 5f66aa2 + bafd044 commit 1d5b9bd

File tree

4 files changed

+98
-5
lines changed

4 files changed

+98
-5
lines changed

CMakeLists.txt

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

44
cmake_minimum_required(VERSION 3.5.1)
55

6-
project(libgit2 VERSION "1.3.0" LANGUAGES C)
6+
project(libgit2 VERSION "1.4.0" LANGUAGES C)
77

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

docs/changelog.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,96 @@
1+
v1.4
2+
----
3+
4+
This is release v1.4.0, "Fisematenten". This release includes several new features and bugfixes, improves compatibility with git, and begins preparation for SHA256 support in a future release.
5+
6+
## What's Changed
7+
### New features
8+
* diff: update rename limit to 1000 to match git's behavior by @ethomson in https://github.com/libgit2/libgit2/pull/6092
9+
* odb: support checking for object existence without refresh by @joshtriplett in https://github.com/libgit2/libgit2/pull/6107
10+
* object: provide a low-level mechanism to validate whether a raw object is valid (`git_object_rawcontent_is_valid`) by @ethomson in https://github.com/libgit2/libgit2/pull/6128
11+
* blob: provide a function to identify binary content by @ethomson in https://github.com/libgit2/libgit2/pull/6142
12+
* status: add `rename_threshold` to `git_status_options`. by @arroz in https://github.com/libgit2/libgit2/pull/6158
13+
* remote: support `http.followRedirects` (`false` and `initial`) and follow initial redirects by default by @ethomson in https://github.com/libgit2/libgit2/pull/6175
14+
* remote: support scp style paths with ports (`[git@github.com:22]:libgit2/libgit2`) by @ethomson in https://github.com/libgit2/libgit2/pull/6167
15+
* win32: update git for windows configuration file location compatibility by @csware in https://github.com/libgit2/libgit2/pull/6151 and @ethomson in https://github.com/libgit2/libgit2/pull/6180
16+
* refs: speed up packed reference lookups when packed refs are sorted by @ccstolley in https://github.com/libgit2/libgit2/pull/6138
17+
* merge: support zdiff3 conflict styles by @ethomson in https://github.com/libgit2/libgit2/pull/6195
18+
* remote: support fetching by object id (using "+oid:ref" refspec syntax) by @ethomson in https://github.com/libgit2/libgit2/pull/6203
19+
* merge: callers can specify virtual-base building behavior and to optionally accept conflict markers as a resolution by @boretrk in https://github.com/libgit2/libgit2/pull/6204
20+
21+
### Bug fixes
22+
* Fix a gcc 11 warning in src/threadstate.c by @lhchavez in https://github.com/libgit2/libgit2/pull/6115
23+
* Fix a gcc 11 warning in src/thread.h by @lhchavez in https://github.com/libgit2/libgit2/pull/6116
24+
* cmake: re-enable WinHTTP by @ethomson in https://github.com/libgit2/libgit2/pull/6120
25+
* Fix repo init when template dir is non-existent by @ammgws in https://github.com/libgit2/libgit2/pull/6106
26+
* cmake: use project-specific root variable instead of CMAKE_SOURCE_DIR by @Qix- in https://github.com/libgit2/libgit2/pull/6146
27+
* Better revparse compatibility for at time notation by @yoichi in https://github.com/libgit2/libgit2/pull/6095
28+
* remotes: fix insteadOf/pushInsteadOf handling by @mkhl in https://github.com/libgit2/libgit2/pull/6101
29+
* git_commit_summary: ignore lines with spaces by @stforek in https://github.com/libgit2/libgit2/pull/6125
30+
* Config parsing by @csware in https://github.com/libgit2/libgit2/pull/6124
31+
* config: handle empty conditional in includeIf by @ethomson in https://github.com/libgit2/libgit2/pull/6165
32+
* #6154 git_status_list_new case insensitive fix by @arroz in https://github.com/libgit2/libgit2/pull/6159
33+
* futils_mktmp: don't use umask by @boretrk in https://github.com/libgit2/libgit2/pull/6178
34+
* revparse: support bare '@' by @ethomson in https://github.com/libgit2/libgit2/pull/6196
35+
* odb: check for write failures by @ethomson in https://github.com/libgit2/libgit2/pull/6206
36+
* push: Prepare pack before sending pack header. by @ccstolley in https://github.com/libgit2/libgit2/pull/6205
37+
* mktmp: improve our temp file creation by @ethomson in https://github.com/libgit2/libgit2/pull/6207
38+
* diff_file: fix crash if size of diffed file changes in workdir by @jorio in https://github.com/libgit2/libgit2/pull/6208
39+
* merge: comment conflicts lines in MERGE_MSG by @ethomson in https://github.com/libgit2/libgit2/pull/6197
40+
* Fix crashes in example programs on Windows (sprintf_s not compatible with snprintf) by @apnadkarni in https://github.com/libgit2/libgit2/pull/6212
41+
42+
### Code cleanups
43+
* Introduce `git_remote_connect_options` by @ethomson in https://github.com/libgit2/libgit2/pull/6161
44+
* hash: separate hashes and git_oid by @ethomson in https://github.com/libgit2/libgit2/pull/6082
45+
* `git_buf`: now a public-only API (`git_str` is our internal API) by @ethomson in https://github.com/libgit2/libgit2/pull/6078
46+
* cmake: cleanups and consistency by @ethomson in https://github.com/libgit2/libgit2/pull/6084
47+
* path: refactor utility path functions by @ethomson in https://github.com/libgit2/libgit2/pull/6104
48+
* str: git_str_free is never a function by @ethomson in https://github.com/libgit2/libgit2/pull/6111
49+
* cmake refactorings by @ethomson in https://github.com/libgit2/libgit2/pull/6112
50+
* Add missing-declarations warning globally by @ethomson in https://github.com/libgit2/libgit2/pull/6113
51+
* cmake: further refactorings by @ethomson in https://github.com/libgit2/libgit2/pull/6114
52+
* tag: set validity to 0 by default by @ethomson in https://github.com/libgit2/libgit2/pull/6119
53+
* util: minor cleanup and refactoring to the date class by @ethomson in https://github.com/libgit2/libgit2/pull/6121
54+
* Minor code cleanups by @ethomson in https://github.com/libgit2/libgit2/pull/6122
55+
* Fix a long long that crept past by @NattyNarwhal in https://github.com/libgit2/libgit2/pull/6094
56+
* remote: refactor insteadof application by @ethomson in https://github.com/libgit2/libgit2/pull/6147
57+
* ntmlclient: fix linking with libressl by @boretrk in https://github.com/libgit2/libgit2/pull/6157
58+
* c99: change single bit flags to unsigned by @boretrk in https://github.com/libgit2/libgit2/pull/6179
59+
* Fix typos by @rex4539 in https://github.com/libgit2/libgit2/pull/6164
60+
* diff_driver: split global_drivers array into separate elements by @boretrk in https://github.com/libgit2/libgit2/pull/6184
61+
* cmake: disable some gnu extensions by @boretrk in https://github.com/libgit2/libgit2/pull/6185
62+
* Disabling setting `CMAKE_FIND_LIBRARY_SUFFIXES` on Apple platforms. by @arroz in https://github.com/libgit2/libgit2/pull/6153
63+
* C90: add inline macro to xdiff and mbedtls by @boretrk in https://github.com/libgit2/libgit2/pull/6200
64+
* SHA256: early preparation by @ethomson in https://github.com/libgit2/libgit2/pull/6192
65+
66+
### CI improvements
67+
* tests: rename test runner to `libgit2_tests`, build option to `BUILD_TESTS`. by @ethomson in https://github.com/libgit2/libgit2/pull/6083
68+
* ci: only update docs on push by @ethomson in https://github.com/libgit2/libgit2/pull/6108
69+
* Pedantic header test by @boretrk in https://github.com/libgit2/libgit2/pull/6086
70+
* ci: build with ssh on nightly by @ethomson in https://github.com/libgit2/libgit2/pull/6148
71+
* ci: improve the name in CI runs by @ethomson in https://github.com/libgit2/libgit2/pull/6198
72+
73+
### Documentation improvements
74+
* Document that `git_odb` is thread-safe by @joshtriplett in https://github.com/libgit2/libgit2/pull/6109
75+
* Improve documentation by @punkymaniac in https://github.com/libgit2/libgit2/pull/6168
76+
77+
### Other changes
78+
* libgit2_clar is now libgit2_tests by @mkhl in https://github.com/libgit2/libgit2/pull/6100
79+
* Remove PSGit from Language Bindings section of README by @cestrand in https://github.com/libgit2/libgit2/pull/6150
80+
* COPYING: remove regex copyright, add PCRE copyright by @ethomson in https://github.com/libgit2/libgit2/pull/6187
81+
* meta: add a release configuration file by @ethomson in https://github.com/libgit2/libgit2/pull/6211
82+
83+
## New Contributors
84+
* @mkhl made their first contribution in https://github.com/libgit2/libgit2/pull/6100
85+
* @ammgws made their first contribution in https://github.com/libgit2/libgit2/pull/6106
86+
* @yoichi made their first contribution in https://github.com/libgit2/libgit2/pull/6095
87+
* @stforek made their first contribution in https://github.com/libgit2/libgit2/pull/6125
88+
* @cestrand made their first contribution in https://github.com/libgit2/libgit2/pull/6150
89+
* @rex4539 made their first contribution in https://github.com/libgit2/libgit2/pull/6164
90+
* @jorio made their first contribution in https://github.com/libgit2/libgit2/pull/6208
91+
92+
**Full Changelog**: https://github.com/libgit2/libgit2/compare/v1.3.0...v1.4.0
93+
194
v1.3
295
----
396

include/git2/version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
#ifndef INCLUDE_git_version_h__
88
#define INCLUDE_git_version_h__
99

10-
#define LIBGIT2_VERSION "1.3.0"
10+
#define LIBGIT2_VERSION "1.4.0"
1111
#define LIBGIT2_VER_MAJOR 1
12-
#define LIBGIT2_VER_MINOR 3
12+
#define LIBGIT2_VER_MINOR 4
1313
#define LIBGIT2_VER_REVISION 0
1414
#define LIBGIT2_VER_PATCH 0
1515

16-
#define LIBGIT2_SOVERSION "1.3"
16+
#define LIBGIT2_SOVERSION "1.4"
1717

1818
#endif

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