v7.0.0
What's Changed
- Fix code snippet by @Vacyyyy in #407
- guide users about flutter web headers by @temeddix in #415
- use internal
message_channel
instead of tokio channels by @temeddix in #416 - Allow choosing async runtime by @temeddix in #418
- Improve state management docs by @temeddix in #419
- Update dependencies by @temeddix in #420
- Rename the folder
flutter_ffi_plugin
toflutter_package
by @temeddix in #422 - Use new
LazyLock
to store message channels by @temeddix in #423 - Improve docs by @temeddix in #424
- Use leaf calls when possible to reduce memory copy by @temeddix in #425
- Wake previous receiver on clone by @temeddix in #426
- Increase
rust-version
by @temeddix in #427 - Upgrade packages in template by @temeddix in #429
- Apply various improvements by @temeddix in #431
- Update macOS Swift file by @temeddix in #433
- Prefer single quotes in Dart by @temeddix in #432
- Organize first template by @temeddix in #434
- Improve CLI output by @temeddix in #436
- Organize Dart dependencies and introduce
rinf server
command by @temeddix in #439 - Propagate exit code from Dart command by @temeddix in #440
- Apply various tweaks and write migration guides by @temeddix in #442
- Add async runtime comments by @temeddix in #445
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 runningrinf 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