Skip to content

Releases: google/autocxx

v0.20.0

07 Apr 21:19
bee0078
Compare
Choose a tag to compare
v0.20.0 Pre-release
Pre-release

What's Changed

New features

  • Support writing depfiles from autocxx_gen by @adetaylor in #1012
  • Basic support for extern_cpp_type! by @adetaylor in #1008. This allows one set of include_cpp! bindings to delegate a type to another set obindings.

Boring but breaking change

Bugfixes and documentation

This version includes a lot of restructuring with no intentional functional change, as prep work for eventually landing the next bit of #379.

New Contributors

Full Changelog: v0.19.1...v0.20.0

v0.19.1

04 Apr 14:51
85d22c7
Compare
Choose a tag to compare
v0.19.1 Pre-release
Pre-release

What's Changed

  • This release deprecates the make_unique() functions that were previously created for each constructor, and instead introduces a new Within trait. This will later become the only way of using constructors. (@adetaylor in #997)

Testing improvements

Full Changelog: v0.19.0...v0.19.1

v0.19.0

02 Apr 04:41
d0f5278
Compare
Choose a tag to compare
v0.19.0 Pre-release
Pre-release

Improvements

  • Don't spam stderr so much by @adetaylor in #985
  • Use miette for nicer syntax errors by @adetaylor in #980. This also removes some long-deprecated functions, so you may need to update your build.rs files.
  • Recognize size_t as usize by @adetaylor in #986
  • Support array fields within structs by @yshui (thanks!) in #969

Bug fixes

  • Fix use of &str in generated C++ code by @adetaylor in #984
  • Ignore constructors taking extra default parameters by @adetaylor in #983
  • Fix erroneous allocation sizes when using moveit::new::New by @adetaylor in #991
  • Fix problem with methods beginning with their class name by @adetaylor in #992

Miscellaneous

Full Changelog: v0.18.0...v0.19.0

v0.18.0

28 Mar 20:12
cd3292e
Compare
Choose a tag to compare
v0.18.0 Pre-release
Pre-release

What's Changed

  • Fix a problem when used with the most recent version of syn by @adetaylor in #971
  • Roll to moveit 0.5.0. by @adetaylor in #970. This change allows you to move out of a UniquePtr, e.g.
let xyz: UniquePtr<Foo> = ...;
moveit! {
  let stack_xyz = autocxx::moveit::new::mov(xyz);
}

This is technically a breaking change though I doubt anyone much is using the MoveRef trait a lot.

Full Changelog: v0.17.5...v0.18.0

v0.17.5

26 Mar 01:45
e95efc2
Compare
Choose a tag to compare
v0.17.5 Pre-release
Pre-release

Improvements

Full Changelog: v0.17.4...v0.17.5

v0.17.4

24 Mar 06:37
616796c
Compare
Choose a tag to compare
v0.17.4 Pre-release
Pre-release

Mostly bug fixes...

Features

  • Add concrete! directive to give a specific name to the concrete instantiation of a templated type; by @adetaylor in #943

Ergonomics

A new example

Bug fixes

  • Constructors taking non-reference parameters give a NotAPin error by @adetaylor in #944
  • Fix inconsistent name of extern_rust_function by @adetaylor in #950
  • Do not attempt to generate bindings to functions which take/return opaque types by @adetaylor in #945
  • Better document exported types. by @adetaylor in #952
  • Multi-line docs. by @adetaylor in #953

Tooling

Full Changelog: v0.17.3...v0.17.4

v0.17.3

21 Mar 21:21
3a5b85e
Compare
Choose a tag to compare
v0.17.3 Pre-release
Pre-release

Bug fix release

Full Changelog: v0.17.2...v0.17.3

v0.17.2

16 Mar 00:53
5bb7488
Compare
Choose a tag to compare
v0.17.2 Pre-release
Pre-release

What's Changed

  • Fix problem with returning POD/built-in references from a non-POD reference by @adetaylor in #925

Full Changelog: v0.17.1...v0.17.2

v0.17.1

14 Mar 14:08
fd42f7f
Compare
Choose a tag to compare
v0.17.1 Pre-release
Pre-release

What's Changed

One small feature

Mostly bugfixes

Docs

New Contributors

Full Changelog: v0.17.0...v0.17.1

v0.17

09 Mar 01:08
5e354c8
Compare
Choose a tag to compare
v0.17 Pre-release
Pre-release

What's Changed

Major change: better flexibility for ValueParam, more ability to use stack objects

Mostly this has been work by @bsilver8192 to get all the various implicit constructor/destructor rules right.

Major change: we have a book!

See https://google.github.io/autocxx

Selected PRs:

Other functional changes

Build and tooling related

The main thing: @philipcraig has done a bonzer job setting up CI on all sorts of platforms.

Bug fixes

(selected PRs)

Internals

(selected PRs)

  • Ensure every API has a unique name by @adetaylor in #879 - this will have fixed lots of lurking problems
  • Remove dependency on unzip_n. by @adetaylor in #857

New Contributors

Full Changelog: v0.16.0...v0.17.0