Skip to content

Releases: cunarist/rinf

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

v6.12.0

08 Jun 15:09
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.11.1...v6.12.0

Summarization

  • Generated message channels are now more efficient.
  • Minimum Android SDK version increased from 16 to 21. Thanks @debanjanbasu!
  • The finalizeRust() function in Dart has been removed. The tokio async runtime, which holds Rust logic, still drops automatically when the app ends.
  • Bumped prost version to 0.12.6. Thanks @yeoupooh!
  • Internal code has been organized.

v6.11.1

02 Jun 02:57
Compare
Choose a tag to compare

What's Changed

  • Fix the extension method's name from codegen by @temeddix in #346

Full Changelog: v6.11.0...v6.11.1

  • Fixed a bug with Dart's extension methods in the generated message code.

v6.11.0

01 Jun 01:58
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.10.0...v6.11.0

  • Now it's possible to set the dynamic library's path.
  • Now rinf message generates more memory-efficient and cleaner code.

v6.10.0

22 May 15:52
Compare
Choose a tag to compare

What's Changed

  • Enable early Dart signals by @temeddix in #329
  • Improve performance and stability of Dart signals by @temeddix in #331
  • Provide better template with tokio and fewer samples by @temeddix in #330
  • feat(message): enable usage of the protoc-gen-prost-serde plugin by @NeoVance in #332

New Contributors

Full Changelog: v6.9.2...v6.10.0

  • Early Dart signals are now stored in the tokio channel instead of being ignored. Their performance is also slightly better.
  • Excessive sample code is not included in the template from the rinf template command anymore.
  • Now tokio is enabled by default in the template, not tokio_with_wasm.
  • A configuration option, rinf.message.rust_serde, was added to make generated Rust message files compatible with serde. Thanks @NeoVance!

v6.9.2

19 May 13:07
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.9.1...v6.9.2