8000 Merge pull request #6594 from libgit2/ethomson/v1.7 · libgit2/libgit2@3e2baa6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e2baa6

Browse files
authored
Merge pull request #6594 from libgit2/ethomson/v1.7
v1.7: release Kleine Raupe Nimmersatt
2 parents bf68ce2 + c375d0b commit 3e2baa6

File tree

4 files changed

+132
-4
lines changed

4 files changed

+132
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ libgit2 - the Git linkable library
44
| Build Status | |
55
| ------------ | - |
66
| **main** branch CI builds | [![CI Build](https://github.com/libgit2/libgit2/workflows/CI%20Build/badge.svg?event=push)](https://github.com/libgit2/libgit2/actions?query=workflow%3A%22CI+Build%22+event%3Apush) |
7+
| **v1.7 branch** CI builds | [![CI Build](https://github.com/libgit2/libgit2/workflows/CI%20Build/badge.svg?branch=maint%2Fv1.7&event=push)](https://github.com/libgit2/libgit2/actions?query=workflow%3A%22CI+Build%22+event%3Apush+branch%3Amaint%2Fv1.7) |
78
| **v1.6 branch** CI builds | [![CI Build](https://github.com/libgit2/libgit2/workflows/CI%20Build/badge.svg?branch=maint%2Fv1.6&event=push)](https://github.com/libgit2/libgit2/actions?query=workflow%3A%22CI+Build%22+event%3Apush+branch%3Amaint%2Fv1.6) |
8-
| **v1.5 branch** CI builds | [![CI Build](https://github.com/libgit2/libgit2/workflows/CI%20Build/badge.svg?branch=maint%2Fv1.5&event=push)](https://github.com/libgit2/libgit2/actions?query=workflow%3A%22CI+Build%22+event%3Apush+branch%3Amaint%2Fv1.5) |
99
| **Nightly** builds | [![Nightly Build](https://github.com/libgit2/libgit2/workflows/Nightly%20Build/badge.svg)](https://github.com/libgit2/libgit2/actions?query=workflow%3A%22Nightly+Build%22) [![Coverity Scan Status](https://scan.coverity.com/projects/639/badge.svg)](https://scan.coverity.com/projects/639) |
1010

1111
`libgit2` is a portable, pure C implementation of the Git core methods

docs/changelog.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,131 @@
1+
v1.7
2+
----
3+
4+
This is release v1.7.0, "Kleine Raupe Nimmersatt". This release adds
5+
shallow clone support, completes the experimental SHA256 support,
6+
adds Schannel support for Windows, and includes many other new
7+
features and bugfixes.
8+
9+
## Major changes
10+
11+
* **Shallow clone support**
12+
libgit2 now supports shallow clone and shallow repositories, thanks
13+
to a significant investment from many community members -- hundreds
14+
of commits by many contributors.
15+
16+
* Shallow (#6396) with some fixes from review by @ethomson in
17+
https://github.com/libgit2/libgit2/pull/6557
18+
* Shallow Clone Support by @lya001 in
19+
https://github.com/libgit2/libgit2/pull/6396
20+
* Shallow support v2 by @pks-t in
21+
https://github.com/libgit2/libgit2/pull/5254
22+
23+
* **SHA256 support**
24+
libgit2 should now support SHA256 repositories using the
25+
`extensions.objectFormat` configuration option when the library is
26+
built with `EXPERIMENTAL_SHA256=ON`. Users are encouraged to begin
27+
testing their applications with this option and provide bug reports
28+
and feedback. This _is_ a breaking API change; SHA256 support will
29+
be enabled by default in libgit2 v2.0.
30+
31+
* sha256: less hardcoded SHA1 types and lengths by @ethomson in
32+
https://github.com/libgit2/libgit2/pull/6549
33+
* Support SHA256 in git_repository_wrap_odb by @ethomson in
34+
https://github.com/libgit2/libgit2/pull/6556
35+
36+
* **Schannel and SSPI for Windows**
37+
libgit2 now supports the Windows Schannel and SSPI APIs for HTTPS
38+
support on Windows, when configured with `USE_HTTPS=Schannel`.
39+
Setting this option will not use the existing WinHTTP support, but
40+
will use libgit2's standard HTTP client stack with Windows TLS
41+
primitives. Windows users are encouraged to begin testing their
42+
applications with this option and provide bug reports and feedback.
43+
This will be enabled by default in a future version of libgit2.
44+
45+
* Introduce Schannel and SSPI for Windows by @ethomson in
46+
https://github.com/libgit2/libgit2/pull/6533
47+
48+
## Breaking changes
49+
50+
* **Simplify custom pluggable allocator** (System API / ABI breaking change)
51+
The `git_allocator` structure (configurable by the
52+
`GIT_OPT_SET_ALLOCATOR` option) now only contains `gmalloc`,
53+
`grealloc` and `gfree` members. This simplifies both the work needed
54+
by an implementer _and_ allows more flexibility and correctness in
55+
libgit2 itself, especially during out-of-memory situations and
56+
errors during bootstrapping.
57+
58+
* tests: add allocator with limited number of bytes by @ethomson in
59+
https://github.com/libgit2/libgit2/pull/6563
60+
61+
## Other changes
62+
63+
### New features
64+
* repo: honor environment variables for more scenarios by @ethomson in
65+
https://github.com/libgit2/libgit2/pull/6544
66+
* Introduce timeouts on sockets by @ethomson in
67+
https://github.com/libgit2/libgit2/pull/6535
68+
69+
### Performance improvements
70+
* midx: do not try to look at every object in the index by @carlosmn in
71+
https://github.com/libgit2/libgit2/pull/6585
72+
* Partial fix for #6532: insert-by-date order. by @arroz in
73+
https://github.com/libgit2/libgit2/pull/6539
74+
75+
### Bug fixes
76+
* repo: don't allow repeated extensions by @ethomson in
77+
https://github.com/libgit2/libgit2/pull/6505
78+
* config: return `GIT_ENOTFOUND` for missing programdata by @ethomson in
79+
https://github.com/libgit2/libgit2/pull/6547
80+
* Fix missing oid type for "fake" repositories by @oreiche in
81+
https://github.com/libgit2/libgit2/pull/6554
82+
* Thread-local storage: handle failure cases by @ethomson in
83+
https://github.com/libgit2/libgit2/pull/5722
84+
* midx: allow unknown chunk ids in multi-pack index files by @carlosmn in
85+
https://github.com/libgit2/libgit2/pull/6583
86+
* pack: cast the number of objects to size_t by @carlosmn in
87+
https://github.com/libgit2/libgit2/pull/6584
88+
* Fixes #6344: git_branch_move now renames the reflog instead of deleting
89+
by @arroz in https://github.com/libgit2/libgit2/pull/6345
90+
* #6576 git_diff_index_to_workdir reverse now loads untracked content by
91+
@arroz in https://github.com/libgit2/libgit2/pull/6577
92+
93+
### Build and CI improvements
94+
* meta: the main branch is now v1.7.0 by @ethomson in
95+
https://github.com/libgit2/libgit2/pull/6516
96+
* xdiff: move xdiff to 'deps' by @ethomson in
97+
https://github.com/libgit2/libgit2/pull/6482
98+
* util: detect all possible qsort_r and qsort_s variants by
99+
@DimitryAndric in https://github.com/libgit2/libgit2/pull/6555
100+
* Work around -Werror problems when detecting qsort variants by
101+
@DimitryAndric in https://github.com/libgit2/libgit2/pull/6558
102+
* actions: simplify execution with composite action by @ethomson in
103+
https://github.com/libgit2/libgit2/pull/6488
104+
* CMake: Search for ssh2 instead of libssh2. by @Faless in
105+
https://github.com/libgit2/libgit2/pull/6586
106+
107+
### Documentation improvements
108+
* docs: fix IRC server from freenode to libera by @vincenzopalazzo in
109+
https://github.com/libgit2/libgit2/pull/6590
110+
111+
### Dependency upgrades
112+
* Update xdiff to git 2.40.1's version by @ethomson in
113+
https://github.com/libgit2/libgit2/pull/6561
114+
* deps: update pcre to 8.45 by @ethomson in
115+
https://github.com/libgit2/libgit2/pull/6593
116+
117+
## New Contributors
118+
* @oreiche made their first contribution in
119+
https://github.com/libgit2/libgit2/pull/6554
120+
* @DimitryAndric made their first contribution in
121+
https://github.com/libgit2/libgit2/pull/6555
122+
* @vincenzopalazzo made their first contribution in
123+
https://github.com/libgit2/libgit2/pull/6590
124+
* @Faless made their first contribution in
125+
https://github.com/libgit2/libgit2/pull/6586
126+
127+
**Full Changelog**: https://github.com/libgit2/libgit2/compare/v1.6.3...v1.7.0
128+
1129
v1.6.3
2130
------
3131

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.7.0-alpha"
14+
#define LIBGIT2_VERSION "1.7.0"
1515

1616
/** The major version number for this version of libgit2. */
1717
#define LIBGIT2_VER_MAJOR 1
@@ -31,7 +31,7 @@
3131
* a prerelease name like "beta" or "rc1". For final releases, this will
3232
* be `NULL`.
3333
*/
34-
#define LIBGIT2_VER_PRERELEASE "alpha"
34+
#define LIBGIT2_VER_PRERELEASE NULL
3535

3636
/** The library ABI soversion for this version of libgit2. */
3737
#define LIBGIT2_SOVERSION "1.7"

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.7.0-alpha",
3+
"version": "1.7.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)
0