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