Skip to content

Releases: fzyzcjy/flutter_rust_bridge

v2.0.0-dev.32

16 Apr 00:17
Compare
Choose a tag to compare
  • 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

10 Apr 00:54
Compare
Choose a tag to compare
  • 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

04 Apr 12:12
Compare
Choose a tag to compare

v2.0.0-dev.29

31 Mar 12:21
Compare
Choose a tag to compare

v2.0.0-dev.28

10 Mar 13:59
Compare
Choose a tag to compare

v2.0.0-dev.27

07 Mar 23:43
Compare
Choose a tag to compare

v2.0.0-dev.26

05 Mar 04:46
Compare
Choose a tag to compare

v2.0.0-dev.25

26 Feb 00:48
Compare
Choose a tag to compare
  • Please refer to https://fzyzcjy.github.io/flutter_rust_bridge/guides/miscellaneous/whats-new for what's changed in V2.
  • Generate decl of store_dart_post_cobject when full_dep enabled #1773 (thanks @Berrysoft)
  • Support type Self (originally needs to specify the concrete type, now can use this shortcut) #160
  • Provide hints when struct/enum is never used #1763
  • Improve hints when types are exported but not used #1779
  • Auto understand when user structs have name conflict with builtin types #1782
  • Fix when non-enum + specify default value + dart_enums_style being true #1780
  • Fix Vec<Uuid> error when using CST codec (the SSE codec does not have this bug) #1762
  • Fix build-web cannot find Dart program in some platforms #1758

v2.0.0-dev.24

08 Feb 06:09
Compare
Choose a tag to compare

v2.0.0-dev.23

06 Feb 08:13
Compare
Choose a tag to compare