Bot releases are hidden (Show)
Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v6.3.1...v6.4.0
Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v6.3.0...v6.3.1
Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v6.2.0...v6.3.0
bridge
Rust module is gone and the API makes more sense. Please refer to the example code to upgrade.Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v6.1.0...v6.2.0
protoc
works. This is useful when you don't have full access to GitHub APIs, which is needed for automatic protoc
installation. Thanks @TENX-S!Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v6.0.1...v6.1.0
rustSignalStream
's listen
can be called multiple times. Thanks @rabbitson87!Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v6.0.0...v6.0.1
js
Dart package was removed.Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v5.4.0...v6.0.0
rinf template
, cargo install rinf
again to use this new version..proto
files so that Rinf's code generator can generate channels in-between. This new system is not compatible with older Rinf versions, so please check the docs before you upgrade.pubspec.yaml
file. Thanks @thlorenz!rinf message --watch
by pressing q
on your keyboard.Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v6.0.0-alpha...v6.0.0-beta
Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v5.4.0...v6.0.0-alpha
There's a new simple codegen mechanism, and the mechanism is as follows. // [RINF:DART-SIGNAL]
and // [RINF:RUST-SIGNAL]
comment marks the message as communcation channel, so that the codegen can understand that it should provide additional mechanism for them.
The previous REST-style API will be deprecated. There are only two-way channels now. However, you can achieve request-response pattern quite easily as written in the docs.
// proto
// [RINF:DART-SIGNAL]
message DataInput { ... }
would allow us to do
// Dart
dataInputSend(DataInput( ... ), null);
and
// Rust
let receiver = data_input_receiver();
while let Some(data_input) = receiver.recv().await {
// Custom Rust logic here
}
// proto
// [RINF:RUST-SIGNAL]
message DataOutput { ... }
would allow us to do
// Dart
dataOutputStream.listen((dataOutput) {
// Custom Dart logic here
}
and
// Rust
data_output_send(DataOutput{ ... }, None);
Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v5.3.1...v5.4.0
protoc
binary executable anymore. Protobuf compiler is now automatically installed. Note that you need to run cargo install rinf
again to use this new version.Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v5.3.0...v5.3.1
rinf message
that omits mod.rs
inside a folder without any message.Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v5.2.0...v5.3.0
import
statements in .proto
files.rinf message
, that might fail if some of the folders are empty.Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v5.1.3...v5.2.0
Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v5.1.2...v5.1.3
Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v5.1.1...v5.1.2
Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v5.1.0...v5.1.1
Published by temeddix 9 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v5.0.0...v5.1.0
This PR removes code copied from flutter_rust_bridge. Take a look at this Reddit post for details.
Published by temeddix 10 months ago
requestToRust
function return null
when failed by @temeddix in https://github.com/cunarist/rinf/pull/257
Full Changelog: https://github.com/cunarist/rinf/compare/v4.20.0...v5.0.0
Please refer to announcement #259 for more infromation.
Published by temeddix 10 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v4.19.1...v4.20.0
Published by temeddix 10 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v4.19.0...v4.19.1
This version reflects URL changes. Now the new official URL is rinf.cunarist.com
.