Skip to content

Releases: cunarist/rinf

v7.0.3

18 Oct 15:39
Compare
Choose a tag to compare

What's Changed

  • Correction of nested folder structure reference error when creating message for rust by @rabbitson87 in #461

Full Changelog: https://github.com/cunarist/rinf/compare/v7.0.2...

  • Fixed a problem where generated Rust message structs were unable to import other messages.

v7.0.2

03 Oct 12:03
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.0.1...v7.0.2

Summarization

  • Optimized certain async APIs in the rinf crate for better performance.

v7.0.1

29 Sep 14:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.0.0...v7.0.1

  • The initial template and example code has been improved.

v7.0.0

21 Sep 14:06
Compare
Choose a tag to compare

What's Changed

New Contributors

Summarization

  • To migrate from Rinf version 6, please refer to this section in the documentation.
  • Rinf no longer relies on tokio. While it is provided by default in the template, you can now choose whichever async runtime you prefer.
  • The CLI output is now more compact and includes animations.
  • The full flutter run command with the necessary arguments can now be obtained by running rinf server.
  • It is now recommended to import compiled message classes and structs from the root messages module.
  • Memory copying for messages sent from Dart to Rust has been reduced. This was achieved using Dart's FFI feature called 'leaf calls.'

Full Changelog: v6.15.0...v7.0.0

v6.15.0

27 Jul 16:16
Compare
Choose a tag to compare

What's Changed

  • Add the rust_serde to the rinf config command output by @H2Sxxa in #404
  • feat: Support for marking "RUST-ATTRIBUTE" (type attribute) by @H2Sxxa in #405

Full Changelog: v6.14.2...v6.15.0

  • Now it's possible to add attributes to generated message structs in Rust. Thanks @H2Sxxa!

v6.14.2

09 Jul 15:04
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.14.1...v6.14.2

  • Now, the message channels work after reopening the app following the use of the back button on mobile devices.

v6.14.1

07 Jul 16:55
Compare
Choose a tag to compare

What's Changed

  • Update bevy_ecs requirement from 0.13 to 0.14 by @dependabot in #391
  • Allow the main function in Rust to have any return type by @temeddix in #394
  • Fix the infinite parking of the main thread after shutdown by @temeddix in #395

Full Changelog: v6.14.0...v6.14.1

  • The return type of Rust's main function can now be anything.
  • Fixed the issue causing the app to hang on the splash screen after closing it with the back button on Android.

v6.14.0

30 Jun 17:07
Compare
Choose a tag to compare

What's Changed

  • Allow dart messages to be easily handled as bevy events by @Deep-co-de in #349

New Contributors

Full Changelog: v6.13.0...v6.14.0

  • New feature bevy for treating Dart signals as Bevy events was added. Thanks @Deep-co-de!

v6.13.0

29 Jun 03:07
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.12.1...v6.13.0

  • The get_dart_signal_receiver function now returns Result. You need to use unwrap or ? to retrieve Dart signal receivers from the generated message structs.
  • You now need to manually provide the generated assignRustSignal to the initializeRust function, which can be imported using import 'package:rinf/rinf.dart'; in Dart.
  • The tokio runtime will now default to being single-threaded. To use a multi-threaded tokio runtime, enable the new rt-multi-thread crate feature.
  • By default, backtraces will be hidden in the CLI, with only the error message being printed. To display the Rust backtrace, enable the new backtrace crate feature.

v6.12.1

08 Jun 15:20
Compare
Choose a tag to compare

Full Changelog: v6.12.0...v6.12.1

  • Fixed linefeed problem in published files.

Full Changelog: v6.12.0...v6.12.1