8000 Merge pull request #5471 from pks-t/pks/v1.0 · libgit2/libgit2@7d3c705 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d3c705

Browse files
authored
Merge pull request #5471 from pks-t/pks/v1.0
Release v1.0
2 parents ca782c9 + 274b2a0 commit 7d3c705

File tree

2 files changed

+55
-4
lines changed

2 files changed

+55
-4
lines changed

docs/changelog.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
v1.0
2+
----
3+
4+
This is release v1.0 "Luftschloss", which is the first stabe release of
5+
libgit2. The API will stay compatible across all releases of the same major
6+
version. This release includes bugfixes only and supersedes v0.99, which will
7+
stop being maintained. Both v0.27 and v0.28 stay supported in accordance with
8+
our release policy.
9+
10+
### Changes or improvements
11+
12+
- CMake was converted to make use of the GNUInstallDirs module for both our
13+
pkgconfig and install targets in favor of our custom build options
14+
`BIN_INSTALL_DIR`, `LIB_INSTALL_DIR` and `INCLUDE_INSTALL_DIR`. Instead, you
15+
can now use CMakes standard variables `CMAKE_INSTALL_BINDIR`,
16+
`CMAKE_INSTALL_LIBDIR` and `CMAKE_INSTALL_INCLUDEDIR`.
17+
18+
- Some CMake build options accepted either a specific value or a boolean value
19+
to disable the option altogether or use automatic detection. We only accepted
20+
"ON" or "OFF", but none of the other values CMake recognizes as boolean. This
21+
was aligned with CMake's understanding of booleans.
22+
23+
- The installed pkgconfig file contained incorrect values for both `libdir` and
24+
`includedir` variables.
25+
26+
- If using pcre2 for regular expressions, then we incorrectly added "pcre2"
27+
instead of "pcre2-8" to our pkgconfig dependencies, which was corrected.
28+
29+
- Fixed building the bundled ntlmclient dependency on FreeBSD, OpenBSD and
30+
SunOS.
31+
32+
- When writing symlinks on Windows, we incorrectly handled relative symlink
33+
targets, which was corrected.
34+
35+
- When using the HTTP protocol via macOS' SecureTransport implementation, reads
36+
could stall at the end of the session and only continue after a timeout of 60
37+
seconds was reached.
38+
39+
- The filesystem-based reference callback didn't corectly initialize the backend
40+
version.
41+
42+
- A segmentation fault was fixed when calling `git_blame_buffer()` for files
43+
that were modified and added to the index.
44+
45+
- A backwards-incompatible change was introduced when we moved some structures
46+
from "git2/credentials.h" into "git2/sys/credentials.h". This was fixed in the
47+
case where you do not use hard deprecation.
48+
49+
- Improved error handling in various places.
50+
51+
152
v0.99
253
-----
354

include/git2/version.h

Lines changed: 4 additions & 4 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 "0.99.0"
11-
#define LIBGIT2_VER_MAJOR 0
12-
#define LIBGIT2_VER_MINOR 99
10+
#define LIBGIT2_VERSION "1.0.0"
11+
#define LIBGIT2_VER_MAJOR 1
12+
#define LIBGIT2_VER_MINOR 0
1313
#define LIBGIT2_VER_REVISION 0
1414
#define LIBGIT2_VER_PATCH 0
1515

16-
#define LIBGIT2_SOVERSION "0.99"
16+
#define LIBGIT2_SOVERSION "1.0"
1717

1818
#endif

0 commit comments

Comments
 (0)
0