|
| 1 | +v1.8.1 |
| 2 | +------ |
| 3 | + |
| 4 | +This release primarily includes straightforward bugfixes, as well as |
| 5 | +new functionality to have more control over the HTTP User-Agent header. |
| 6 | +However, there is an API change from v1.8 that was required for |
| 7 | +improved compatibility. |
| 8 | + |
| 9 | +In v1.8, libgit2 introduced the`report_unchanged` member in the |
| 10 | +`git_fetch_options` structure. We mistakenly introduced this as a |
| 11 | +bitfield, which is not suitable for our public API. To correct this |
| 12 | +mistake, we have_removed_ the`report_unchanged` member. To support |
| 13 | +the report unchanged tips option, users can set the`update_fetchhead` |
| 14 | +member to include the`GIT_REMOTE_UPDATE_REPORT_UNCHANGED` value. |
| 15 | + |
| 16 | +The libgit2 projects regrets the API change, but this was required to |
| 17 | +support cross-platform compatibility. |
| 18 | + |
| 19 | +##What's Changed |
| 20 | + |
| 21 | +###New features |
| 22 | + |
| 23 | +* Allow more control over the user-agent by@ethomson in |
| 24 | +https://github.com/libgit2/libgit2/pull/6788 |
| 25 | + |
| 26 | +###Bug fixes |
| 27 | + |
| 28 | +* commit: Fix git_commit_create_from_stage without author and |
| 29 | + committer by@florianpircher in |
| 30 | +https://github.com/libgit2/libgit2/pull/6781 |
| 31 | +* process.c: fix environ for macOS by@barracuda156 in |
| 32 | +https://github.com/libgit2/libgit2/pull/6792 |
| 33 | +* Bounds check for pack index read by@ConradIrwin in |
| 34 | +https://github.com/libgit2/libgit2/pull/6796 |
| 35 | +* transport: provide a useful error message during cancellation |
| 36 | + by@ethomson inhttps://github.com/libgit2/libgit2/pull/6802 |
| 37 | +* transport: support sha256 oids by@ethomson in |
| 38 | +https://github.com/libgit2/libgit2/pull/6803 |
| 39 | +* Revparse: Correctly accept ref with '@' at the end by@csware in |
| 40 | +https://github.com/libgit2/libgit2/pull/6809 |
| 41 | +* remote: drop bitfields in git_remote_fetch_options by@ethomson in |
| 42 | +https://github.com/libgit2/libgit2/pull/6806 |
| 43 | +* examples: fix memory leak in for-each-ref.c by@qaqland in |
| 44 | +https://github.com/libgit2/libgit2/pull/6808 |
| 45 | +* xdiff: use proper free function by@ethomson in |
| 46 | +https://github.com/libgit2/libgit2/pull/6810 |
| 47 | +* rand: avoid uninitialized loadavg warnings by@ethomson in |
| 48 | +https://github.com/libgit2/libgit2/pull/6812 |
| 49 | +* cli: include alloca on illumos / solaris / sunos by@ethomson in |
| 50 | +https://github.com/libgit2/libgit2/pull/6813 |
| 51 | +* Update git_array allocator to obey strict aliasing rules |
| 52 | + by@ethomson inhttps://github.com/libgit2/libgit2/pull/6814 |
| 53 | +* tree: avoid mixed signedness comparison by@ethomson in |
| 54 | +https://github.com/libgit2/libgit2/pull/6815 |
| 55 | + |
| 56 | +###Build and CI improvements |
| 57 | + |
| 58 | +* ci: update nightly workflows by@ethomson in |
| 59 | +https://github.com/libgit2/libgit2/pull/6773 |
| 60 | +* ci: give all nightly builds a unique id by@ethomson in |
| 61 | +https://github.com/libgit2/libgit2/pull/6782 |
| 62 | +* cmake: remove workaround that isn't compatible with Windows on |
| 63 | + ARM by@hackhaslam inhttps://github.com/libgit2/libgit2/pull/6794 |
| 64 | + |
| 65 | +###Documentation improvements |
| 66 | + |
| 67 | +* Docs meta-updates by@ethomson in |
| 68 | +https://github.com/libgit2/libgit2/pull/6787 |
| 69 | + |
| 70 | +###Dependency updates |
| 71 | + |
| 72 | +* Enable llhttp for HTTP parsing by@sgallagher in |
| 73 | +https://github.com/libgit2/libgit2/pull/6713 |
| 74 | + |
| 75 | +##New Contributors |
| 76 | + |
| 77 | +*@florianpircher made their first contribution in |
| 78 | +https://github.com/libgit2/libgit2/pull/6781 |
| 79 | +*@barracuda156 made their first contribution in |
| 80 | +https://github.com/libgit2/libgit2/pull/6792 |
| 81 | +*@sgallagher made their first contribution in |
| 82 | +https://github.com/libgit2/libgit2/pull/6713 |
| 83 | +*@ConradIrwin made their first contribution in |
| 84 | +https://github.com/libgit2/libgit2/pull/6796 |
| 85 | +*@qaqland made their first contribution in |
| 86 | +https://github.com/libgit2/libgit2/pull/6808 |
| 87 | + |
| 88 | +**Full Changelog**:https://github.com/libgit2/libgit2/compare/v1.8.0...v1.8.1 |
| 89 | + |
1 | 90 | v1.8
|
2 | 91 | ----
|
3 | 92 |
|
|