Releases: mozilla/cbindgen
Releases · mozilla/cbindgen
0.28.0
0.28.0
- Parse unsafe attributes in #1020
- Fix local override of enum prefix-with-name by jsgf in #1006
- Add rename-all=prefix in #1021
- ir: add support for UnsafeCell and SyncUnsafeCell by alekitto in #1003
- Implement mangling for arrays in #1022
- Fix: Ignore
CARGO_BUILD_TARGET
in tests by bryango in #1010 - Newline for each field for constexpr field constants by youknowone in #988
- Fix clippy warnings by youknowone in #1026
- Add aarch64/arm64 to CI by NickeZ in #1036
- Add
unstable_ir
feature flag that makes the ir pub by heesooy in #1011 - Support generated a symbols file by TheElectronWill in #916
v0.27.0
What's Changed
- Add docs for no-export by @aidanhs in #897
- Fix
..Default::default()
for structConfig
by @jschwe in #911 - Update dependencies and bump MSRV to v1.70 by @jschwe in #912
- ci: Use GITHUB_OUTPUT envvar instead of set-output command by @arunsathiya in #917
- Update doc link in Readme so it works from docs.rs by @atouchet in #910
- Update README.md by @iyangsj in #904
- feat: allow users to specify a crate version for bindings generation by @IceTDrinker in #901
- Use
retain
inItemMap::filter
by @cuviper in #932 - feat: support #[deprecated] on enum variants by @bkaestner in #933
- Added support for integrating the package_version information in a comment of the header file. by @emilio in #939
- Run CI jobs on the merge queue. by @emilio in #940
- ir: Write documentation on static items. by @emilio in #941
- Language back-end by @emilio in #942
- Account for cfg items in foreign mods. by @emilio in #943
- parser: Treat omitted ABI in extern block as "C". by @emilio in #944
- Add
cpp_compat
to template.toml by @vanillajonathan in #945 - Honor cbindgen:ignore directives for associated functions and constants by @scovich in #949
- Rename duplicate crate in workspace by @gferon in #950
- Revert accidentally committed debug code by @scovich in #951
- chore: Update dependencies. by @emilio in #954
- Update tests.rs to use pretty_assertions for readable diffs by @scovich in #957
- Handle constants of nested transparent types by @scovich in #958
- Support generics with defaulted args by @scovich in #959
- Point out issue with failing user builds due to syntax errors by @sirhcel in #965
- Va list binding compatibility by @gerard-ryan-immersaview in #970
- Fix variadic arguments when used in function pointer by @kanru in #971
- Add missing parens to log message by @akonradi-signal in #973
- Output condition for globals. by @flaviojs in #974
- Update CHANGES since v0.26.0 by @js2xxx in #975
- Cargo update and version bump. by @emilio in #986
- Bump MSRV by @emilio in #987
New Contributors
- @aidanhs made their first contribution in #897
- @arunsathiya made their first contribution in #917
- @iyangsj made their first contribution in #904
- @IceTDrinker made their first contribution in #901
- @bkaestner made their first contribution in #933
- @vanillajonathan made their first contribution in #945
- @scovich made their first contribution in #949
- @gferon made their first contribution in #950
- @sirhcel made their first contribution in #965
- @gerard-ryan-immersaview made their first contribution in #970
- @kanru made their first contribution in #971
- @akonradi-signal made their first contribution in #973
- @flaviojs made their first contribution in #974
- @js2xxx made their first contribution in #975
Full Changelog: v0.26.0...v0.27.0
0.26.0
v0.25.0
v0.24.3
v0.24.2
- Make bitfield operators use explicit constructors.
v0.24.1
v0.24.0
v0.23.0
v0.22.0
- Support rename rule for union body members (#751).
- constant: Add support for associated constant expressions (#752).
- Fix regression in CamelCase rename rule (should be lowerCamelCase) (#750).
- enumeration: simplify standard types in variants (#749).
- Avoid generating and writing bindings when called recursively (#747).
- Cython: Omit per-variant tags in unions generated for Rust enums (#748).
- Update various dependencies.