v0.22.0
Pre-release
Pre-release
What's Changed
Major changes to how the command line generation tool autocxx_gen
works. If you're just using cargo
you probably don't need to worry about this, but if you're using other build systems you'll almost certainly need to make changes.
- Remove --skip-cxx-gen by @adetaylor in #1052
- Support generating multiple bindings with a single
autocxx_gen
invocation by @adetaylor in #1061 - Minor cleanups by @adetaylor in #1051
There's also a compatibility change in that make_unique
methods have been removed. They've been deprecated for a few releases now, so this shouldn't come as a surprise. Append .within_unique_ptr()
everywhere you would have used it.
- Remove make_unique. by @adetaylor in #1040
This release also upgrades some of our dependencies:
- Upgrade to clap 3 by @gabriel-viviani (thanks!) in #1037
But mostly there are lots of bug fixes for cases where autocxx previously failed.
- Fix 'unsupported type' problem for typedefs pointing to enums by @adetaylor in #1074
- Properly disregard variadic functions by @adetaylor in #1076 (thanks to @yuxuan-xie for the report)
- Ignore inner type opaque typedefs by @adetaylor and @yuxuan-xie (thanks!) in #1083
- Fix "invalid application of" bug by @adetaylor in #1072
- Fwd decls in
&UniquePtr<T>
by @adetaylor in #1085 - Instantiable opaques by @adetaylor in #1086 (this one introduces a new directive,
instantiable!
, for niche cases) - Add test for 'array' is not a class, namespace, or enumeration by @adetaylor in #1080
- Do not fail when encountering
std::vector<char>
by @adetaylor in #1060
Various other bug fixes or minor changes:
- Achieve predictable iteration order. by @adetaylor in #1044 - this makes output more deterministic
- Fix excessive generate_pod output in repro cases. by @adetaylor in #1058 - fixes a bug in the reproduction pipeline
- Better logging from autocxx-reduce. by @adetaylor in #1062
- Avoid duplicate stddef introduction in reduction. by @adetaylor in #1063
- Avoid redefining cxx types in reduction by @adetaylor in #1064
- Add stress test reduction pipeline. by @adetaylor in #1069
Full Changelog: v0.21.2...v0.22.0