Skip to content

Commit 8288525

Browse files
committed
CHANGELOG: add some things we missed
1 parent 21b1e01 commit 8288525

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ v0.23 + 1
1313
* You can now set your own user-agent to be sent for HTTP requests by
1414
using the `GIT_OPT_SET_USER_AGENT` with `git_libgit2_opts()`.
1515

16+
* You can set custom HTTP header fields to be sent along with requests
17+
by passing them in the fetch and push options.
18+
1619
* Tree objects are now assumed to be sorted. If a tree is not
1720
correctly formed, it will give bad results. This is the git approach
1821
and cuts a significant amount of time when reading the trees.
@@ -24,12 +27,15 @@ v0.23 + 1
2427
the opportunity for concurrent operations and not committing any
2528
changes until the unlock.
2629

27-
2830
* `git_diff_options` added a new callback `progress_cb` to report on the
2931
progress of the diff as files are being compared. The documentation of
3032
the existing callback `notify_cb` was updated to reflect that it only
3133
gets called when new deltas are added to the diff.
3234

35+
* `git_fetch_options` and `git_push_options` have gained a `custom_headers`
36+
field to set the extra HTTP header fields to send.
37+
38+
3339
* `git_stream_register_tls()` lets you register a callback to be used
3440
as the constructor for a TLS stream instead of the libgit2 built-in
3541
one.
@@ -65,6 +71,10 @@ v0.23 + 1
6571
* The `notify_payload` field of `git_diff_options` was renamed to `payload`
6672
to reflect that it's also the payload for the new progress callback.
6773

74+
* The `git_config_level_t` enum has gained a higher-priority value
75+
`GIT_CONFIG_LEVEL_PROGRAMDATA` which represent a rough Windows equivalent
76+
to the system level configuration.
77+
6878
v0.23
6979
------
7080

0 commit comments

Comments
 (0)