]> git.proxmox.com Git - libgit2.git/blob - CHANGELOG.md
Provide option to embed libssh2
[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 build system now accepts an option EMBED_SSH_PATH which when set
25 tells it to include a copy of libssh2 at the given location. This is
26 enabled for MSVC.
27
28 * The git_transport_register function no longer takes a priority and takes
29 a URL scheme name (eg "http") instead of a prefix like "http://"
30
31 * The git_remote_set_transport function now sets a transport factory function,
32 rather than a pre-existing transport instance.
33
34 * A factory function for ssh has been added which allows to change the
35 path of the programs to execute for receive-pack and upload-pack on
36 the server, git_transport_ssh_with_paths.
37
38 * The git_clone_options struct no longer provides the ignore_cert_errors or
39 remote_name members for remote customization.
40
41 Instead, the git_clone_options struct has two new members, remote_cb and
42 remote_cb_payload, which allow the caller to completely override the remote
43 creation process. If needed, the caller can use this callback to give their
44 remote a name other than the default (origin) or disable cert checking.
45
46 The remote_callbacks member has been preserved for convenience, although it
47 is not used when a remote creation callback is supplied.
48
49 * The git_clone_options struct now provides repository_cb and
50 repository_cb_payload to allow the user to create a repository with
51 custom options.
52
53 * The option to ignore certificate errors via git_remote_cert_check()
54 is no longer present. Instead, git_remote_callbacks has gained a new
55 entry which lets the user perform their own certificate checks.
56
57 * git_clone_into and git_clone_local_into have been removed from the
58 public API in favour of git_clone callbacks
59
60 * Add support for refspecs with the asterisk in the middle of a
61 pattern.
62
63 * Introduce git_merge_bases() and the git_oidarray type to expose all
64 merge bases between two commits.