Releases: cunarist/rinf
Releases · cunarist/rinf
v6.3.1
Full Changelog: v6.3.0...v6.3.1
- Fixed a small glitch with codegen.
v6.3.0
v6.2.0
What's Changed
New Contributors
Full Changelog: v6.1.0...v6.2.0
- Now custom installation of
protoc
works. This is useful when you don't have full access to GitHub APIs, which is needed for automaticprotoc
installation. Thanks @TENX-S! - Signal handling has become more efficient.
v6.1.0
What's Changed
- correct single stream to broadcast stream. by @rabbitson87 in #283
Full Changelog: v6.0.1...v6.1.0
- Now
rustSignalStream
'slisten
can be called multiple times. Thanks @rabbitson87!
v6.0.1
Full Changelog: v6.0.0...v6.0.1
- Improved CLI output texts.
js
Dart package was removed.
v6.0.0
What's Changed
- Event driven communication by @temeddix in #270
- Event driven system improvement by @temeddix in #271
- Enable customized configuration by @thlorenz in #272 , #267
- Organize code and docs by @temeddix in #274
- Organize event driven system by @temeddix in #277
- Added last edit date to mkdocs documentation by the "git-revision-date-localized-plugin" by @VictorieeMan in #276
- Prepare for the version 6 release by @temeddix in #281
New Contributors
- @VictorieeMan made their first contribution in #276
Full Changelog: v5.4.0...v6.0.0
- You need to run
rinf template
,cargo install rinf
again to use this new version. - Now the communication between Dart and Rust is much simpler. You can mark messages in
.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. - Added the ability to customize Rinf's behaviors by writing fields inside
pubspec.yaml
file. Thanks @thlorenz! - Allowed users to check when the documentation page was made and edited. Thanks @VictorieeMan!
- Now it's possible to quit
rinf message --watch
by pressingq
on your keyboard. - Internal code has been organized.
v6.0.0-beta
What's Changed
- Organize code and docs by @temeddix in #274
- Add a new GitHub Action that checks installing from the user's perspective by @temeddix in #275
- Organize event driven system by @temeddix in #277
- Added last edit date to mkdocs documentation by the "git-revision-date-localized-plugin" by @VictorieeMan in #276
New Contributors
- @VictorieeMan made their first contribution in #276
Full Changelog: v6.0.0-alpha...v6.0.0-beta
v6.0.0-alpha
What's Changed
- Event driven communication by @temeddix in #270
- Event driven system improvement by @temeddix in #271
- Enable customized configuration by @temeddix in #272
- Organize code and docs by @temeddix in #274
Full Changelog: 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.
From Dart to Rust
// 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
}
From Rust to Dart
// 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);
v5.4.0
What's Changed
Full Changelog: v5.3.1...v5.4.0
- Now users do not have to manually install
protoc
binary executable anymore. Protobuf compiler is now automatically installed. Note that you need to runcargo install rinf
again to use this new version.