Skip to content

Commit 7f4fa17

Browse files
authored
Merge pull request libgit2#5660 from libgit2/ethomson/v1.1
libgit2 v1.1.0
2 parents 2e5f27c + f10c887 commit 7f4fa17

File tree

4 files changed

+94
-5
lines changed

4 files changed

+94
-5
lines changed

CMakeLists.txt

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

1414
CMAKE_MINIMUM_REQUIRED(VERSION 3.5.1)
1515

16-
project(libgit2 VERSION "1.0.1" LANGUAGES C)
16+
project(libgit2 VERSION "1.1.0" LANGUAGES C)
1717

1818
# Add find modules to the path
1919
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${libgit2_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.1
2+
----
3+
4+
This is release v1.1, "Fernweh".
5+
6+
### Changes or improvements
7+
8+
* Our bundled PCRE dependency has been updated to 8.44.
9+
10+
* The `refs/remotes/origin/HEAD` file will be created at clone time to
11+
point to the origin's default branch.
12+
13+
* libgit2 now uses the `__atomic_` intrinsics instead of `__sync_`
14+
intrinsics on supported gcc and clang versions.
15+
16+
* The `init.defaultBranch` setting is now respected and `master` is
17+
no longer the hardcoded as the default branch name.
18+
19+
* Patch files that do not contain an `index` line can now be parsed.
20+
21+
* Configuration files with multi-line values can now contain quotes
22+
split across multiple lines.
23+
24+
* Windows clients now attempt to use TLS1.3 when available.
25+
26+
* Servers that request an upgrade to a newer HTTP version are
27+
silently ignored instead of erroneously failing.
28+
29+
* Users can pass `NULL` to the options argument to
30+
`git_describe_commit`.
31+
32+
* Clones and fetches of very large packfiles now succeeds on 32-bit
33+
platforms.
34+
35+
* Custom reference database backends can now handle the repository's
36+
`HEAD` correctly.
37+
38+
* Repositories with a large number of packfiles no longer exhaust the
39+
number of file descriptors.
40+
41+
* The test framework now supports TAP output when the `-t` flag is
42+
specified.
43+
44+
* The test framework can now specify an exact match to a test
45+
function using a trailing `$`.
46+
47+
* All checkout types support `GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH`.
48+
49+
* `git_blame` now can ignore whitespace changes using the option
50+
`GIT_BLAME_IGNORE_WHITESPACE`.
51+
52+
* Several new examples have been created, including an examples for
53+
commit, add and push.
54+
55+
* Mode changes during rename are now supported in patch application.
56+
57+
* `git_checkout_head` now correctly removes untracked files in a
58+
subdirectory when the `FORCE | REMOVE_UNTRACKED` options are specified.
59+
60+
v1.0.1
61+
------
62+
63+
This is a bugfix release with the following changes:
64+
65+
- Calculating information about renamed files during merges is more
66+
efficient because dissimilarity about files is now being cached and
67+
no longer needs to be recomputed.
68+
69+
- The `git_worktree_prune_init_options` has been correctly restored for
70+
backward compatibility. In v1.0 it was incorrectly deprecated with a
71+
typo.
72+
73+
- The optional ntlmclient dependency now supports NetBSD.
74+
75+
- A bug where attempting to stash on a bare repository may have failed
76+
has been fixed.
77+
78+
- Configuration files that are unreadable due to permissions are now
79+
silently ignored, and treated as if they do not exist. This matches
80+
git's behavior; previously this case would have been an error.
81+
82+
- v4 index files are now correctly written; previously we would read
83+
them correctly but would not write the prefix-compression accurately,
84+
causing corruption.
85+
86+
- A bug where the smart HTTP transport could not read large data packets
87+
has been fixed. Previously, fetching from servers like Gerrit, that
88+
sent large data packets, would error.
89+
190
v1.0
291
----
392

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.0.0"
10+
#define LIBGIT2_VERSION "1.1.0"
1111
#define LIBGIT2_VER_MAJOR 1
12-
#define LIBGIT2_VER_MINOR 0
12+
#define LIBGIT2_VER_MINOR 1
1313
#define LIBGIT2_VER_REVISION 0
1414
#define LIBGIT2_VER_PATCH 0
1515

16-
#define LIBGIT2_SOVERSION "1.0"
16+
#define LIBGIT2_SOVERSION "1.1"
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.0.0",
3+
"version": "1.1.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)