|
7 | 7 | - [Removed](#removed)
|
8 | 8 | - [Fixed](#fixed)
|
9 | 9 | - [Security](#security)
|
10 |
| -- [0.60.0](#0600) |
| 10 | +- [0.61.0](#0610) |
11 | 11 | - [Added](#added-1)
|
12 |
| - - [Fixed](#fixed-1) |
13 | 12 | - [Changed](#changed-1)
|
14 |
| - - [Removed](#removed-1) |
15 |
| -- [0.59.2](#0592) |
16 |
| -- [0.59.1](#0591) |
| 13 | + - [Fixed](#fixed-1) |
| 14 | +- [0.60.1](#0601) |
17 | 15 | - [Fixed](#fixed-2)
|
18 |
| -- [0.59.0](#0590) |
| 16 | +- [0.60.0](#0600) |
19 | 17 | - [Added](#added-2)
|
20 | 18 | - [Fixed](#fixed-3)
|
21 | 19 | - [Changed](#changed-2)
|
22 |
| -- [0.58.1](#0581) |
23 |
| - - [Added](#added-3) |
24 |
| -- [0.58.0](#0580) |
25 |
| - - [Added](#added-4) |
| 20 | + - [Removed](#removed-1) |
| 21 | +- [0.59.2](#0592) |
| 22 | +- [0.59.1](#0591) |
26 | 23 | - [Fixed](#fixed-4)
|
| 24 | +- [0.59.0](#0590) |
| 25 | + - [Added](#added-3) |
| 26 | + - [Fixed](#fixed-5) |
27 | 27 | - [Changed](#changed-3)
|
| 28 | +- [0.58.1](#0581) |
| 29 | + - [Added](#added-4) |
| 30 | +- [0.58.0](#0580) |
| 31 | + - [Added](#added-5) |
| 32 | + - [Fixed](#fixed-6) |
| 33 | + - [Changed](#changed-4) |
28 | 34 | - [Deprecated](#deprecated)
|
29 | 35 | - [Removed](#removed-2)
|
30 |
| - - [Fixed](#fixed-5) |
| 36 | + - [Fixed](#fixed-7) |
31 | 37 | - [Security](#security-1)
|
32 | 38 | - [0.57.0](#0570)
|
33 |
| - - [Added](#added-5) |
34 |
| - - [Fixed](#fixed-6) |
35 |
| -- [0.56.0](#0560) |
36 | 39 | - [Added](#added-6)
|
37 |
| - - [Changed](#changed-4) |
38 |
| - - [Fixed](#fixed-7) |
39 |
| -- [0.55.1](#0551) |
40 | 40 | - [Fixed](#fixed-8)
|
41 |
| -- [0.55.0](#0550) |
42 |
| - - [Removed](#removed-3) |
| 41 | +- [0.56.0](#0560) |
43 | 42 | - [Added](#added-7)
|
44 | 43 | - [Changed](#changed-5)
|
45 | 44 | - [Fixed](#fixed-9)
|
46 |
| -- [0.54.1](#0541) |
| 45 | +- [0.55.1](#0551) |
| 46 | + - [Fixed](#fixed-10) |
| 47 | +- [0.55.0](#0550) |
| 48 | + - [Removed](#removed-3) |
47 | 49 | - [Added](#added-8)
|
48 | 50 | - [Changed](#changed-6)
|
49 |
| - - [Fixed](#fixed-10) |
50 |
| -- [0.54.0](#0540) |
| 51 | + - [Fixed](#fixed-11) |
| 52 | +- [0.54.1](#0541) |
51 | 53 | - [Added](#added-9)
|
52 | 54 | - [Changed](#changed-7)
|
53 |
| - - [Fixed](#fixed-11) |
54 |
| -- [0.53.3](#0533) |
55 |
| - - [Added](#added-10) |
56 | 55 | - [Fixed](#fixed-12)
|
57 |
| -- [0.53.2](#0532) |
| 56 | +- [0.54.0](#0540) |
| 57 | + - [Added](#added-10) |
58 | 58 | - [Changed](#changed-8)
|
59 |
| -- [0.53.1](#0531) |
| 59 | + - [Fixed](#fixed-13) |
| 60 | +- [0.53.3](#0533) |
60 | 61 | - [Added](#added-11)
|
61 |
| -- [0.53.0](#0530) |
62 |
| - - [Added](#added-12) |
| 62 | + - [Fixed](#fixed-14) |
| 63 | +- [0.53.2](#0532) |
63 | 64 | - [Changed](#changed-9)
|
64 |
| - - [Fixed](#fixed-13) |
65 |
| -- [0.52.0](#0520) |
| 65 | +- [0.53.1](#0531) |
| 66 | + - [Added](#added-12) |
| 67 | +- [0.53.0](#0530) |
66 | 68 | - [Added](#added-13)
|
67 | 69 | - [Changed](#changed-10)
|
68 |
| - - [Fixed](#fixed-14) |
69 |
| -- [0.51.1](#0511) |
70 | 70 | - [Fixed](#fixed-15)
|
| 71 | +- [0.52.0](#0520) |
| 72 | + - [Added](#added-14) |
71 | 73 | - [Changed](#changed-11)
|
72 |
| -- [0.51.0](#0510) |
73 | 74 | - [Fixed](#fixed-16)
|
| 75 | +- [0.51.1](#0511) |
| 76 | + - [Fixed](#fixed-17) |
74 | 77 | - [Changed](#changed-12)
|
75 |
| - - [Added](#added-14) |
76 |
| -- [0.50.0](#0500) |
| 78 | +- [0.51.0](#0510) |
| 79 | + - [Fixed](#fixed-18) |
| 80 | + - [Changed](#changed-13) |
77 | 81 | - [Added](#added-15)
|
78 |
| -- [0.49.3](#0493) |
| 82 | +- [0.50.0](#0500) |
79 | 83 | - [Added](#added-16)
|
| 84 | +- [0.49.3](#0493) |
| 85 | + - [Added](#added-17) |
80 | 86 | - [0.49.2](#0492)
|
81 |
| - - [Changed](#changed-13) |
82 |
| -- [0.49.1](#0491) |
83 |
| - - [Fixed](#fixed-17) |
84 | 87 | - [Changed](#changed-14)
|
85 |
| -- [0.49.0](#0490) |
86 |
| - - [Added](#added-17) |
87 |
| - - [Fixed](#fixed-18) |
| 88 | +- [0.49.1](#0491) |
| 89 | + - [Fixed](#fixed-19) |
88 | 90 | - [Changed](#changed-15)
|
| 91 | +- [0.49.0](#0490) |
| 92 | + - [Added](#added-18) |
| 93 | + - [Fixed](#fixed-20) |
| 94 | + - [Changed](#changed-16) |
89 | 95 | - [0.48.1](#0481)
|
90 |
| - - [Fixed](#fixed-19) |
| 96 | + - [Fixed](#fixed-21) |
91 | 97 | - [0.48.0](#0480)
|
92 |
| - - [Changed](#changed-16) |
93 |
| - - [Fixed](#fixed-20) |
| 98 | + - [Changed](#changed-17) |
| 99 | + - [Fixed](#fixed-22) |
94 | 100 | - [0.47.4](#0474)
|
95 |
| - - [Added](#added-18) |
| 101 | + - [Added](#added-19) |
96 | 102 | - [0.47.3](#0473)
|
97 |
| - - [Changed](#changed-17) |
| 103 | + - [Changed](#changed-18) |
98 | 104 | - [0.47.2](#0472)
|
99 |
| - - [Fixed](#fixed-21) |
| 105 | + - [Fixed](#fixed-23) |
100 | 106 | - [0.47.1](#0471)
|
101 |
| - - [Changed](#changed-18) |
102 |
| - - [Fixed](#fixed-22) |
103 |
| -- [0.47.0](#0470) |
104 | 107 | - [Changed](#changed-19)
|
105 |
| - - [Fixed](#fixed-23) |
| 108 | + - [Fixed](#fixed-24) |
| 109 | +- [0.47.0](#0470) |
| 110 | + - [Changed](#changed-20) |
| 111 | + - [Fixed](#fixed-25) |
106 | 112 | - [0.33.1 .. 0.46.0](#0331--0460)
|
107 |
| - - [Added](#added-19) |
| 113 | + - [Added](#added-20) |
108 | 114 | - [Removed](#removed-4)
|
109 |
| - - [Changed](#changed-20) |
110 |
| - - [Fixed](#fixed-24) |
| 115 | + - [Changed](#changed-21) |
| 116 | + - [Fixed](#fixed-26) |
111 | 117 | - [0.33.1](#0331)
|
112 |
| - - [Fixed](#fixed-25) |
| 118 | + - [Fixed](#fixed-27) |
113 | 119 | - [0.33.0](#0330)
|
114 | 120 | - [0.32.2](#0322)
|
115 |
| - - [Fixed](#fixed-26) |
| 121 | + - [Fixed](#fixed-28) |
116 | 122 | - [0.32.1](#0321)
|
117 |
| - - [Fixed](#fixed-27) |
| 123 | + - [Fixed](#fixed-29) |
118 | 124 | - [0.32.0](#0320)
|
119 |
| - - [Added](#added-20) |
120 |
| - - [Changed](#changed-21) |
121 |
| - - [Fixed](#fixed-28) |
122 |
| -- [0.31.0](#0310) |
123 | 125 | - [Added](#added-21)
|
124 | 126 | - [Changed](#changed-22)
|
| 127 | + - [Fixed](#fixed-30) |
| 128 | +- [0.31.0](#0310) |
| 129 | + - [Added](#added-22) |
| 130 | + - [Changed](#changed-23) |
125 | 131 | - [Deprecated](#deprecated-1)
|
126 | 132 | - [Removed](#removed-5)
|
127 |
| - - [Fixed](#fixed-29) |
| 133 | + - [Fixed](#fixed-31) |
128 | 134 | - [0.30.0](#0300)
|
129 |
| - - [Added](#added-22) |
130 |
| - - [Changed](#changed-23) |
131 |
| - - [Deprecated](#deprecated-2) |
132 |
| - - [Fixed](#fixed-30) |
133 |
| -- [0.29.0](#0290) |
134 | 135 | - [Added](#added-23)
|
135 | 136 | - [Changed](#changed-24)
|
136 |
| - - [Fixed](#fixed-31) |
| 137 | + - [Deprecated](#deprecated-2) |
| 138 | + - [Fixed](#fixed-32) |
| 139 | +- [0.29.0](#0290) |
| 140 | + - [Added](#added-24) |
| 141 | + - [Changed](#changed-25) |
| 142 | + - [Fixed](#fixed-33) |
137 | 143 |
|
138 | 144 | <!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
139 | 145 |
|
|
142 | 148 | # Unreleased
|
143 | 149 |
|
144 | 150 | ## Added
|
| 151 | + * new feature: `--override-abi` flag to override the ABI used by functions |
| 152 | + matching a regular expression. |
145 | 153 |
|
146 | 154 | ## Changed
|
147 | 155 |
|
| 156 | + * Regex inputs are sanitized so alternation (`a|b`) is handled correctly but |
| 157 | + wildcard patterns (`*`) are now considered invalid. |
| 158 | + * the `ParseCallbacks`trait does not require to implement `UnwindSafe`. |
| 159 | + * the `Builder::parse_callbacks` method no longer overwrites previously added |
| 160 | + callbacks and composes them in a last-to-first manner. |
| 161 | + |
148 | 162 | ## Removed
|
149 | 163 |
|
150 | 164 | ## Fixed
|
151 | 165 |
|
152 | 166 | ## Security
|
153 | 167 |
|
| 168 | +# 0.61.0 |
| 169 | + |
| 170 | +Released 2022/10/16 |
| 171 | + |
| 172 | +## Added |
| 173 | + |
| 174 | + * new feature: `--sort-semantically` flag to sort the output in a predefined |
| 175 | + manner [(#1743)]. |
| 176 | + * new feature: `Bindgen::emit_warnings` method to emit warnings to stderr in |
| 177 | + build scripts. |
| 178 | + * new feature: `--newtype-global-enum` flag to generate enum variants as |
| 179 | + global constants. |
| 180 | + * new feature: `--default-non-copy-union-style` flag to set the default style |
| 181 | + of code used to generate unions with non-`Copy` members. |
| 182 | + * new feature: `--bindgen-wrapper-union` flag to mark any union that matches a |
| 183 | + regex and has a non-Copy member to use a bindgen-generated wrapper for its |
| 184 | + fields. |
| 185 | + * new feature: `--manually-drop-union` flag to mark any union that matches a |
| 186 | + regex and has a non-`Copy` member to use `ManuallyDrop`. |
| 187 | + * new feature: `--merge-extern-blocks` flag to merge several `extern` blocks |
| 188 | + that have the same ABI. |
| 189 | + * new feature: `--no-size_t-is-usize` flag to not bind `size_t` as `usize`. |
| 190 | + * new feature: `Builder` implements `Clone`. |
| 191 | + |
| 192 | +## Changed |
| 193 | + |
| 194 | + * clap and regex have been updated, new msrv is 1.57. |
| 195 | + * The `--enable-function-attribute-detection` flag is also used to detect |
| 196 | + diverging functions so the generated bindings use `!` as the return type. |
| 197 | + * The `--size_t-is-usize` flag is enabled by default. |
| 198 | + * Unused type aliases for `<stdint.h>` types are no longer emitted. |
| 199 | + * The `blocklist` options now can be used to block objective-C methods. |
| 200 | + * The `core::ffi` module is used the sized raw integer types |
| 201 | + instead of `std::os::raw` if the Rust target version is `1.64` or higher and |
| 202 | + the `--use-core` flag is enabled. |
| 203 | + * The `bindgen` CLI utility must be installed using `cargo install |
| 204 | + bindgen-cli` now. |
| 205 | + * Using `bindgen` as a library no longer pulls clap and any other CLI |
| 206 | + related dependencies. |
| 207 | + |
| 208 | +## Fixed |
| 209 | + |
| 210 | + * Const correctness of incomplete arrays has been fixed. (#2301) |
| 211 | + * C++ inline namespaces don't panic. (#2294) |
| 212 | + |
| 213 | +[(#1743)]: https://github.com/rust-lang/rust-bindgen/issues/1743 |
| 214 | + |
154 | 215 | # 0.60.1
|
155 | 216 |
|
156 | 217 | Released 2022/06/06
|
|
0 commit comments