From 5de7e2fbff4dfcbf909e3c237bb0a44a796b4402 Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Sat, 21 Sep 2024 23:05:08 +0900 Subject: [PATCH] Version 7.0.0 --- CHANGELOG.md | 9 +++++++++ flutter_package/CHANGELOG.md | 9 +++++++++ flutter_package/example/native/hub/Cargo.toml | 2 +- flutter_package/pubspec.yaml | 2 +- flutter_package/template/native/hub/Cargo.toml | 2 +- rust_crate/Cargo.toml | 2 +- 6 files changed, 22 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bc2c17e..3039434b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## 7.0.0 + +- To migrate from Rinf version 6, please refer to [this section](https://rinf.cunarist.com/upgrading/) 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 running `rinf 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.' + ## 7.0.0-beta - This is a beta version. diff --git a/flutter_package/CHANGELOG.md b/flutter_package/CHANGELOG.md index bfeaee39..4ca084a7 100644 --- a/flutter_package/CHANGELOG.md +++ b/flutter_package/CHANGELOG.md @@ -1,3 +1,12 @@ +## 7.0.0 + +- To migrate from Rinf version 6, please refer to [this section](https://rinf.cunarist.com/upgrading/) 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 running `rinf 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.' + ## 7.0.0-beta - This is a beta version. diff --git a/flutter_package/example/native/hub/Cargo.toml b/flutter_package/example/native/hub/Cargo.toml index 3c3a7d54..c9cf3a5a 100644 --- a/flutter_package/example/native/hub/Cargo.toml +++ b/flutter_package/example/native/hub/Cargo.toml @@ -12,7 +12,7 @@ edition = "2021" crate-type = ["lib", "cdylib", "staticlib"] [dependencies] -rinf = "7.0.0-beta" +rinf = "7.0.0" prost = "0.13.0" tokio = { version = "1", features = ["rt", "sync", "time", "macros"] } tokio_with_wasm = { version = "0.7.1", features = [ diff --git a/flutter_package/pubspec.yaml b/flutter_package/pubspec.yaml index b3c78f4b..9e757cdc 100644 --- a/flutter_package/pubspec.yaml +++ b/flutter_package/pubspec.yaml @@ -1,6 +1,6 @@ name: rinf description: Rust for native business logic, Flutter for flexible and beautiful GUI -version: 7.0.0-beta +version: 7.0.0 repository: https://github.com/cunarist/rinf environment: diff --git a/flutter_package/template/native/hub/Cargo.toml b/flutter_package/template/native/hub/Cargo.toml index e07b7ecd..8a2dbf4b 100644 --- a/flutter_package/template/native/hub/Cargo.toml +++ b/flutter_package/template/native/hub/Cargo.toml @@ -12,7 +12,7 @@ edition = "2021" crate-type = ["lib", "cdylib", "staticlib"] [dependencies] -rinf = "7.0.0-beta" +rinf = "7.0.0" prost = "0.13.0" tokio = { version = "1", features = ["rt", "macros"] } diff --git a/rust_crate/Cargo.toml b/rust_crate/Cargo.toml index 948eb9a4..1b963004 100644 --- a/rust_crate/Cargo.toml +++ b/rust_crate/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rinf" -version = "7.0.0-beta" +version = "7.0.0" edition = "2021" license = "MIT" description = "Rust for native business logic, Flutter for flexible and beautiful GUI"