]> git.proxmox.com Git - libgit2.git/blob - CHANGELOG.md
Merge pull request #2498 from linquize/read-large-file
[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 * Introduce reference transactions, which allow multiple references to
12 be locked at the same time and updates be queued. This also allows
13 us to safely update a reflog with arbitrary contents, as we need to
14 do for stash.
15
16 * LF -> CRLF filter refuses to handle mixed-EOL files
17
18 * LF -> CRLF filter now runs when * text = auto (with Git for Windows 1.9.4)
19
20 * The git_transport structure definition has moved into the sys/transport.h
21 file.
22
23 * The ssh transport supports asking the remote host for accepted
24 credential types as well as multiple challeges using a single
25 connection. This requires to know which username you want to connect
26 as, so this introduces the USERNAME credential type which the ssh
27 transport will use to ask for the username.
28
29 * The build system now accepts an option EMBED_SSH_PATH which when set
30 tells it to include a copy of libssh2 at the given location. This is
31 enabled for MSVC.
32
33 * The git_transport_register function no longer takes a priority and takes
34 a URL scheme name (eg "http") instead of a prefix like "http://"
35
36 * The git_remote_set_transport function now sets a transport factory function,
37 rather than a pre-existing transport instance.
38
39 * A factory function for ssh has been added which allows to change the
40 path of the programs to execute for receive-pack and upload-pack on
41 the server, git_transport_ssh_with_paths.
42
43 * The git_clone_options struct no longer provides the ignore_cert_errors or
44 remote_name members for remote customization.
45
46 Instead, the git_clone_options struct has two new members, remote_cb and
47 remote_cb_payload, which allow the caller to completely override the remote
48 creation process. If needed, the caller can use this callback to give their
49 remote a name other than the default (origin) or disable cert checking.
50
51 The remote_callbacks member has been preserved for convenience, although it
52 is not used when a remote creation callback is supplied.
53
54 * The git_clone_options struct now provides repository_cb and
55 repository_cb_payload to allow the user to create a repository with
56 custom options.
57
58 * The option to ignore certificate errors via git_remote_cert_check()
59 is no longer present. Instead, git_remote_callbacks has gained a new
60 entry which lets the user perform their own certificate checks.
61
62 * git_clone_into and git_clone_local_into have been removed from the
63 public API in favour of git_clone callbacks
64
65 * Add support for refspecs with the asterisk in the middle of a
66 pattern.
67
68 * Fetching now performs opportunistic updates. To achieve this, we
69 introduce a difference between active and passive refspecs, which
70 make git_remote_download and git_remote_fetch to take a list of
71 resfpecs to be the active list, similarly to how git fetch accepts a
72 list on the command-line.
73
74 * Introduce git_merge_bases() and the git_oidarray type to expose all
75 merge bases between two commits.
76
77 * Introduce git_merge_bases_many() to expose all merge bases between
78 multiple commits.