Skip to content

Releases: cunarist/rinf

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

v6.9.1

18 May 14:31
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.9.0...v6.9.1

v6.9.0

15 May 15:45
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.8.0...v6.9.0

  • This version supports Flutter 3.22
  • The new version of Flutter has a little different way of resolving paths. This release adapts to this change.

v6.8.0

05 May 12:33
Compare
Choose a tag to compare

What's Changed

  • Update reqwest requirement from 0.11.23 to 0.12.1 by @dependabot in #312
  • Fix messages with empty bytes and seprate binary signals by @temeddix in #315

Full Changelog: v6.7.0...v6.8.0

  • Now sendSignalToRust and send_signal_to_dart methods no longer require null or None, making the API much cleaner. To make them include binary data, write [RINF:DART-SIGNAL-BINARY] or [RINF:RUST-SIGNAL-BINARY] in Protobuf files.
  • The problem of panicking from null pointers that arise from empty signal data has been fixed.