]> git.proxmox.com Git - libgit2.git/blob - CHANGELOG.md
Merge remote-tracking branch 'upstream/master' into cmn/host-cert-info
[libgit2.git] / CHANGELOG.md
1 v0.21 + 1
2 ------
3
4 * File unlocks are atomic again via rename. Read-only files on Windows are
5 made read-write if necessary.
6
7 * Share open packfiles across repositories to share descriptors and mmaps.
8
9 * Use a map for the treebuilder, making insertion O(1)
10
11 * LF -> CRLF filter refuses to handle mixed-EOL files
12
13 * LF -> CRLF filter now runs when * text = auto (with Git for Windows 1.9.4)
14
15 * The git_transport structure definition has moved into the sys/transport.h
16 file.
17
18 * The ssh transport supports asking the remote host for accepted
19 credential types as well as multiple challeges using a single
20 connection. This requires to know which username you want to connect
21 as, so this introduces the USERNAME credential type which the ssh
22 transport will use to ask for the username.
23
24 * The git_transport_register function no longer takes a priority and takes
25 a URL scheme name (eg "http") instead of a prefix like "http://"
26
27 * The git_remote_set_transport function now sets a transport factory function,
28 rather than a pre-existing transport instance.
29
30 * A factory function for ssh has been added which allows to change the
31 path of the programs to execute for receive-pack and upload-pack on
32 the server, git_transport_ssh_with_paths.
33
34 * The git_clone_options struct no longer provides the ignore_cert_errors or
35 remote_name members for remote customization.
36
37 Instead, the git_clone_options struct has two new members, remote_cb and
38 remote_cb_payload, which allow the caller to completely override the remote
39 creation process. If needed, the caller can use this callback to give their
40 remote a name other than the default (origin) or disable cert checking.
41
42 The remote_callbacks member has been preserved for convenience, although it
43 is not used when a remote creation callback is supplied.
44
45 * The git_clone_options struct now provides repository_cb and
46 repository_cb_payload to allow the user to create a repository with
47 custom options.
48
49 * git_clone_into and git_clone_local_into have been removed from the
50 public API in favour of git_clone callbacks
51
52 * Add support for refspecs with the asterisk in the middle of a
53 pattern.
54
55 * Introduce git_merge_bases() and the git_oidarray type to expose all
56 merge bases between two commits.