|
| 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 | + |
1 | 129 | v1.6.3
|
2 | 130 | ------
|
3 | 131 |
|
|
0 commit comments