Releases: fzyzcjy/flutter_rust_bridge
Releases · fzyzcjy/flutter_rust_bridge
v2.0.0-dev.35
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support Result type when Rust calls Dart back #1945
- Support type char #1957
- Support renaming functions and methods #1958
- Re-enable MemorySanitizer #1959
- Show hints when functions or methods are ignored #1956
- Add hints to deliberate Exception in RustLib.init in Chrome #1955
- Support when struct type definition is in one file, struct impl is in another file, and the impl needs extra import #1953
v2.0.0-dev.34
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Add preamble for dart generated files #1949 (thanks @Krysl)
- Support same function name in different files #1944
- Support dart_format_line_length on generated .freezed.dart #1939
- Improve hints when Flutter hot restarts with Streams #1942
- Fix name conflict when using C++ keywords #1943
- Fix warning use of deprecated associated function chrono::NaiveDateTime::from_timestamp_micros #1941
- Bump Dart SDK source #1940
v2.0.0-dev.33
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Automatically wait when concurrent mutable access, while still preventing deadlocks #1920
v2.0.0-dev.32
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support self in non-opaque case (&self already supported before) #1880
- Support &SomeStructOrEnum in non-opaque case (SomeStructOrEnum already supported before) #1880
- Support &str type (String already supported before) #1880
- Support instance and static methods for enums without fields #1879
- Revert stream default semantics to not wait for Rust function execution #1877
- Allow users to customize whether to await for Rust function for streams #1877
- Hint users when a type is automatically inferred as both opaque and non-opaque #1876
- Add check to ensure Rust and Dart has in-sync generated code #1878
v2.0.0-dev.31
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support methods in external crates #1861
- Support inserting arbitrary Dart code #1860
- Support disabling default Hash/Eq generation #1860
- Support passing stream object at arbitrary location and arbitrary amount #1867
- Let Rust function finish execution before returning stream object #1867
- Support cases when using Rust conditional compilation #1856
- Fix not exporting some struct types needed for customizing handlers #1865
- Fix ignoring user-provided custom handler objects #1865
- Fix ReceivePort is not closed when subscription is cancelled before Rust closes the stream #1857
v2.0.0-dev.30
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix class is not generated when having only static methods #1851
- Fix passing non-existent variable to getter causing compilation error #1851
- Fix missing code generation when using enum and methods #1851
- Fix sh permission #1842 (thanks @canxin121)
v2.0.0-dev.29
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- StreamSink recursive intodart_type #1843 (thanks @SilverMira)
v2.0.0-dev.28
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Fix error when using build.rs instead of standard way to trigger code generation #1809
v2.0.0-dev.27
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Improve procedure macros #1800 #1676 (thanks @Desdaemon)
- Add support for ffigen upgrades #1799 #1757 (thanks @aran)
- Improve hints when structs are in lib.rs #1802 #1579 (thanks @h3x4d3c1m4l)
- Improve scenarios when opaque-by-default is more natural #1805
- Improve behavior of constructor #1804
- Fix when using non-opaque struct + option + opaque inner type #1803
v2.0.0-dev.26
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Allow specifying pubspec.yaml location in build.rs #1797 (thanks @HalidOdat)
- Hint how to only run build.rs if api directory changes #1794 (thanks @HalidOdat)