Releases: cunarist/rinf
Releases · cunarist/rinf
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!
v6.13.0
What's Changed
- Remove linter warnings in wasm and release mode by @temeddix in #361
- Add doc comments for
DartSignal
andRustSignal
fields by @temeddix in #362 - Remove all code that can possibly panic by @temeddix in #363
- Consider base href on the web by @temeddix in #364
- Upgrade
tokio_with_wasm
to 0.5.3 by @temeddix in #365 - Make Rinf commands work in offline environments by @temeddix in #369
- 32-bit message ID by @temeddix in #370
- Optional multi-threaded runtime by @temeddix in #372
- Use the true current-thread tokio runtime by default by @temeddix in #373
- Update docs by @temeddix in #375
- Reduce memory copy on Dart signal by @temeddix in #374
- Treat backtrace as an optional feature by @temeddix in #376
- Remove old guides by @temeddix in #377
- Make the return type of the main empty by @temeddix in #379
- Make
get_dart_signal_receiver
returnResult
by @temeddix in #380 - Return
RinfError
on errors by @temeddix in #381 - Allow dot in the proto package name by @temeddix in #387
- Provide
finalizeRust
to shut down the tokio runtime by @temeddix in #390
Full Changelog: v6.12.1...v6.13.0
- The
get_dart_signal_receiver
function now returnsResult
. You need to useunwrap
or?
to retrieve Dart signal receivers from the generated message structs. - You now need to manually provide the generated
assignRustSignal
to theinitializeRust
function, which can be imported usingimport '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
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
What's Changed
- feat: upgrade prost to 0.12.6 by @yeoupooh in #354
- Organize internal code by @temeddix in #357
- Fix - sdkVersion 16 - default can be overriden by @debanjanbasu in #356
- Improve docs about graceful shutdown by @temeddix in #359
- Do not make the user app use local crate by @temeddix in #360
New Contributors
- @debanjanbasu made their first contribution in #356
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. Thetokio
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
v6.11.0
What's Changed
- Generate cleaner message file code by @temeddix in #337
- Improve docs by @temeddix in #339
- Split pages by @temeddix in #340
- Organize docs section names by @temeddix in #342
- Allow setting compiled library's path by @temeddix in #343
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
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, nottokio_with_wasm
. - A configuration option,
rinf.message.rust_serde
, was added to make generated Rust message files compatible withserde
. Thanks @NeoVance!