Releases: cunarist/rinf
Releases · cunarist/rinf
v7.1.0
What's Changed
- log an error if the binding is not ready by @poborin in #463
- Add a guide about message interval by @temeddix in #469
- Fix JavaScript bindings on the web by @temeddix in #468
New Contributors
Full Changelog: v7.0.4...v7.1.0
- Fixed JavaScript bindings on the web, resolving errors related to the missing
rinf
JavaScript object in web workers. - Cleaned up the usage of the global JavaScript namespace on the web.
v7.0.4
v7.0.3
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
v7.0.1
What's Changed
- Bump lints from 4.0.0 to 5.0.0 in /flutter_package by @dependabot in #449
- Bump flutter_lints from 4.0.0 to 5.0.0 in /flutter_package/example by @dependabot in #452
- Shorten docs by @temeddix in #453
- Improve state management docs by @temeddix in #456
Full Changelog: v7.0.0...v7.0.1
- The initial template and example code has been improved.
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
v6.15.0
v6.14.2
What's Changed
- Update prost requirement from 0.12.6 to 0.13.0 by @dependabot in #397
- Create message channel again if closed by @temeddix in #398
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
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
What's Changed
- Allow dart messages to be easily handled as bevy events by @Deep-co-de in #349
New Contributors
- @Deep-co-de made their first contribution in #349
Full Changelog: v6.13.0...v6.14.0
- New feature
bevy
for treating Dart signals as Bevy events was added. Thanks @Deep-co-de!