|
215 | 215 | --------------------------------------------------------------------------------
|
216 | 216 | # Unreleased
|
217 | 217 | ## Added
|
218 |
| -- Add support for custom attributes (--with-attribute-custom, #2866) |
219 | 218 | ## Changed
|
220 |
| -- The `--wrap-static-fns` related options no longer require the experimental feature or flag. |
221 | 219 | ## Removed
|
222 | 220 | ## Fixed
|
223 |
| -- Use the right characters for newlines on windows. |
224 | 221 | ## Security
|
225 | 222 |
|
| 223 | +# 0.71.0 (2024-12-06) |
| 224 | +## Added |
| 225 | +- Add the `ParseCallbacks::new_item_found` callback to expose the original and final name of structs, unions and enums (#2658). |
| 226 | +- Add the `field_type_name` field to `FieldInfo` to expose the name of the type of a field (#2863) |
| 227 | +- Add support for custom attributes with the `--with-attribute-custom` flag (#2866) |
| 228 | +- Allow setting `--rust-target` to any Rust version supported by bindgen (#2993) |
| 229 | +- Use c-string literals if the `--generate-cstr` flag is used for Rust targets after 1.77 under the 2021 edition (#2996) |
| 230 | +- Add the `--rust-edition` flag which allows to select which Rust edition to target. (#3002, #3013) |
| 231 | +- Use `unsafe extern` instead of `extern` in blocks for any Rust target after 1.82. (#3015) |
| 232 | +## Changed |
| 233 | +- The `--wrap-static-fns` related options no longer require the experimental feature or flag (#2928) |
| 234 | +- Use the `Display` implementation instead of the `Debug` one for `BindgenError` in `bindgen-cli` (#3005) |
| 235 | +## Removed |
| 236 | +- Dropped support for any Clang versions strictly lower than 9.0 (#2932) |
| 237 | +- Dropped support for any Rust version strictly lower than 1.33 (#2993) |
| 238 | +## Fixed |
| 239 | +- Represent opaque types in a FFI-safe way (#2880) |
| 240 | +- Use the underlying type of any atomic type instead of panicking (#2920) |
| 241 | +- Use the right characters for newlines on windows (#2923) |
| 242 | +- Inlined namespaces are properly recognized now (#2950) |
| 243 | +- Unsafe calls to `libloading` are now wrapped in `unsafe` blocks when using dynamic loading (#2961) |
| 244 | +- The `ParseCallbacks::field_visibility` callback is now called for newtypes as well (#2967) |
| 245 | +- Gate the use of the `addr_of` and `addr_of_mut` macros under the 1.51 rust version (#2988) |
| 246 | + |
226 | 247 | # 0.70.1 (2024-08-20)
|
227 | 248 | ## Added
|
228 | 249 | ## Changed
|
|
0 commit comments