]> git.proxmox.com Git - rustc.git/blob - vendor/git2/CHANGELOG.md
New upstream version 1.72.1+dfsg1
[rustc.git] / vendor / git2 / CHANGELOG.md
1 # Changelog
2
3 ## 0.17.2 - 2023-05-27
4 [0.17.1...0.17.2](https://github.com/rust-lang/git2-rs/compare/0.17.1...0.17.2)
5
6 ### Added
7 - Added support for stashing with options (which can support partial stashing).
8 [#930](https://github.com/rust-lang/git2-rs/pull/930)
9
10 ## 0.17.1 - 2023-04-13
11 [0.17.0...0.17.1](https://github.com/rust-lang/git2-rs/compare/0.17.0...0.17.1)
12
13 ### Changed
14
15 - Updated to libgit2 [1.6.4](https://github.com/libgit2/libgit2/releases/tag/v1.6.4).
16 [#948](https://github.com/rust-lang/git2-rs/pull/948)
17
18 ## 0.17.0 - 2023-04-02
19 [0.16.1...0.17.0](https://github.com/rust-lang/git2-rs/compare/0.16.1...0.17.0)
20
21 ### Added
22
23 - Added `IntoIterator` implementation for `Statuses`.
24 [#880](https://github.com/rust-lang/git2-rs/pull/880)
25 - Added `Reference::symbolic_set_target`
26 [#893](https://github.com/rust-lang/git2-rs/pull/893)
27 - Added `Copy`, `Clone`, `Debug`, `PartialEq`, and `Eq` implementations for `AutotagOption` and `FetchPrune`.
28 [#889](https://github.com/rust-lang/git2-rs/pull/889)
29 - Added `Eq` and `PartialEq` implementations for `Signature`.
30 [#890](https://github.com/rust-lang/git2-rs/pull/890)
31 - Added `Repository::discover_path`.
32 [#883](https://github.com/rust-lang/git2-rs/pull/883)
33 - Added `Submodule::repo_init`.
34 [#914](https://github.com/rust-lang/git2-rs/pull/914)
35 - Added `Tag::is_valid_name`.
36 [#882](https://github.com/rust-lang/git2-rs/pull/882)
37 - Added `Repository::set_head_bytes`.
38 [#931](https://github.com/rust-lang/git2-rs/pull/931)
39 - Added the `Indexer` type which is a low-level API for storing and indexing pack files.
40 [#911](https://github.com/rust-lang/git2-rs/pull/911)
41 - Added `Index::find_prefix`.
42 [#903](https://github.com/rust-lang/git2-rs/pull/903)
43 - Added support for the deprecated group-writeable blob mode. This adds a new variant to `FileMode`.
44 [#887](https://github.com/rust-lang/git2-rs/pull/887)
45 - Added `PushCallbacks::push_negotiation` callback and the corresponding `PushUpdate` type for getting receiving information about the updates to perform.
46 [#926](https://github.com/rust-lang/git2-rs/pull/926)
47
48 ### Changed
49
50 - Updated to libgit2 [1.6.3](https://github.com/libgit2/libgit2/blob/main/docs/changelog.md#v163).
51 This brings in many changes, including better SSH host key support on Windows and better SSH host key algorithm negotiation.
52 1.6.3 is now the minimum supported version.
53 [#935](https://github.com/rust-lang/git2-rs/pull/935)
54 - Updated libssh2-sys from 0.2 to 0.3.
55 This brings in numerous changes, including SHA2 algorithm support with RSA.
56 [#919](https://github.com/rust-lang/git2-rs/pull/919)
57 - Changed `RemoteCallbacks::credentials` callback error handler to correctly set the libgit2 error class.
58 [#918](https://github.com/rust-lang/git2-rs/pull/918)
59 - `DiffOptions::flag` now takes a `git_diff_option_t` type.
60 [#935](https://github.com/rust-lang/git2-rs/pull/935)
61
62
63 ## 0.16.1 - 2023-01-20
64 [0.16.0...0.16.1](https://github.com/rust-lang/git2-rs/compare/0.16.0...0.16.1)
65
66 ### Changed
67 - Updated to [libgit2-sys 0.14.2+1.5.1](libgit2-sys/CHANGELOG.md#0142151---2023-01-20)
68
69 ## 0.16.0 - 2023-01-10
70 [0.15.0...0.16.0](https://github.com/rust-lang/git2-rs/compare/0.15.0...0.16.0)
71
72 ### Changed
73 - Added ability to get the SSH host key and its type.
74 This includes an API breaking change to the `certificate_check` callback.
75 [#909](https://github.com/rust-lang/git2-rs/pull/909)
76 - Updated to [libgit2-sys 0.14.1+1.5.0](libgit2-sys/CHANGELOG.md#0141150---2023-01-10)
77
78 ## 0.15.0 - 2022-07-28
79 [0.14.4...0.15.0](https://github.com/rust-lang/git2-rs/compare/0.14.4...0.15.0)
80
81 ### Added
82 - Added `Repository::tag_annotation_create` binding `git_tag_annotation_create`.
83 [#845](https://github.com/rust-lang/git2-rs/pull/845)
84 - Added the `Email` type which represents a patch in mbox format for sending via email.
85 Added the `EmailCreateOptions` struct to control formatting of the email.
86 Deprecates `Diff::format_email`, use `Email::from_diff` instead.
87 [#847](https://github.com/rust-lang/git2-rs/pull/847)
88 - Added `ErrorCode::Owner` to map to the new `GIT_EOWNER` errors.
89 [#839](https://github.com/rust-lang/git2-rs/pull/839)
90 - Added `opts::set_verify_owner_validation` to set whether or not ownership validation is performed.
91 [#839](https://github.com/rust-lang/git2-rs/pull/839)
92
93 ### Changed
94 - Updated to [libgit2-sys 0.14.0+1.5.0](libgit2-sys/CHANGELOG.md#0140150---2022-07-28)
95 - Removed the `Iterator` implementation for `ConfigEntries` due to the unsound usage of the API which allowed values to be used after free.
96 Added `ConfigEntries::next` and `ConfigEntries::for_each` for iterating over all entries in a safe manor.
97 [#854](https://github.com/rust-lang/git2-rs/pull/854)
98
99 ## 0.14.4 - 2022-05-19
100 [0.14.3...0.14.4](https://github.com/rust-lang/git2-rs/compare/0.14.3...0.14.4)
101
102 ### Added
103 - Added `Commit::body` and `Commit::body_bytes` for retrieving the commit message body.
104 [#835](https://github.com/rust-lang/git2-rs/pull/835)
105 - Added `Tree::get_name_bytes` to handle non-UTF-8 entry names.
106 [#841](https://github.com/rust-lang/git2-rs/pull/841)
107
108 ### Changed
109 - Updated to [libgit2-sys 0.13.4+1.4.2](libgit2-sys/CHANGELOG.md#0134142---2022-05-10)
110
111 ## 0.14.3 - 2022-04-27
112 [0.14.2...0.14.3](https://github.com/rust-lang/git2-rs/compare/0.14.2...0.14.3)
113
114 ### Changed
115 - Updated to [libgit2-sys 0.13.3+1.4.2](libgit2-sys/CHANGELOG.md#0133142---2022-04-27)
116
117 ### Fixed
118 - Fixed the lifetime of `Remote::create_detached`.
119 [#825](https://github.com/rust-lang/git2-rs/pull/825)
120
121 ## 0.14.2 - 2022-03-10
122 [0.14.1...0.14.2](https://github.com/rust-lang/git2-rs/compare/0.14.1...0.14.2)
123
124 ### Added
125 - Added `Odb::exists_ext` to checks if an object database has an object, with extended flags.
126 [#818](https://github.com/rust-lang/git2-rs/pull/818)
127
128 ### Changed
129 - Updated to [libgit2-sys 0.13.2+1.4.2](libgit2-sys/CHANGELOG.md#0132142---2022-03-10)
130
131 ## 0.14.1 - 2022-02-28
132 [0.14.0...0.14.1](https://github.com/rust-lang/git2-rs/compare/0.14.0...0.14.1)
133
134 ### Changed
135 - Updated to [libgit2-sys 0.13.1+1.4.2](libgit2-sys/CHANGELOG.md#0131142---2022-02-28)
136
137 ## 0.14.0 - 2022-02-24
138 [0.13.25...0.14.0](https://github.com/rust-lang/git2-rs/compare/0.13.25...0.14.0)
139
140 ### Added
141 - Added `opts::get_extensions` and `opts::set_extensions` to support git extensions.
142 [#791](https://github.com/rust-lang/git2-rs/pull/791)
143 - Added `PackBuilder::name` and `PackBuilder::name_bytes`.
144 [#806](https://github.com/rust-lang/git2-rs/pull/806)
145 - Deprecated `PackBuilder::hash`, use `PackBuilder::name` instead.
146 - Added `FetchOptions::follow_redirects` and `PushOptions::follow_redirects`.
147 [#806](https://github.com/rust-lang/git2-rs/pull/806)
148 - Added `StatusOptions::rename_threshold`.
149 [#806](https://github.com/rust-lang/git2-rs/pull/806)
150
151 ### Changed
152 - Updated to [libgit2-sys 0.13.0+1.4.1](libgit2-sys/CHANGELOG.md#0130141---2022-02-24)
153 [#806](https://github.com/rust-lang/git2-rs/pull/806)
154 [#811](https://github.com/rust-lang/git2-rs/pull/811)