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