Releases: fzyzcjy/flutter_rust_bridge
Releases · fzyzcjy/flutter_rust_bridge
v2.0.0-dev.37
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Support positional parameters (in addition to named parameters) #1988
- Support overriding environment variable for build-web #1984
- Hint users when a function is not public and is ignored #1985
- Rename generated functions that are not to be used by end users explicitly #1983
- Improve generated user-facing API #1988
v2.0.0-dev.36
- Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
- Automatically generate getters and setters for public fields of opaque types #1975
- Support Dart setters #1972
- Support i128 and u128 #1964
- Improve RustAutoOpaque's API and codegen handling #1970
- Fix when users do not have explicit dependency on anyhow #1967
- Hint users when using opaque types inside non opaque structs #1978
- Hint users when using getters of opaque types #1976
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